Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_OB_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_OB_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_OB_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 110.3 kB / 17.01 MB, free: 6.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 195.5 kB / 17.95 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.4135/0.4135, allocations: 225.7 MB / 244.4 MB, free: 4.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5641/0.5641, allocations: 119.5 MB / 414 MB, free: 10.39 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009899/0.0009899, allocations: 59.91 kB / 0.4945 GB, free: 13.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3797, allocations: 80.69 MB / 0.5733 GB, free: 56.49 MB / 478.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001748/0.3815, allocations: 1.208 MB / 0.5745 GB, free: 55.66 MB / 478.2 MB Notification: Performance of NFInst.instExpressions: time 0.0001481/0.3816, allocations: 40.3 kB / 0.5746 GB, free: 55.64 MB / 478.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.781e-05/0.3817, allocations: 3.938 kB / 0.5746 GB, free: 55.63 MB / 478.2 MB Notification: Performance of NFTyping.typeComponents: time 6.19e-05/0.3818, allocations: 6.297 kB / 0.5746 GB, free: 55.63 MB / 478.2 MB Notification: Performance of NFTyping.typeBindings: time 4.654e-05/0.3818, allocations: 7.359 kB / 0.5746 GB, free: 55.63 MB / 478.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001301/0.3819, allocations: 22.03 kB / 0.5746 GB, free: 55.62 MB / 478.2 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.3821, allocations: 106.1 kB / 0.5747 GB, free: 55.59 MB / 478.2 MB Notification: Performance of NFFlatten.resolveConnections: time 3.893e-05/0.3821, allocations: 2.781 kB / 0.5747 GB, free: 55.59 MB / 478.2 MB Notification: Performance of NFEvalConstants.evaluate: time 4.315e-05/0.3822, allocations: 42.56 kB / 0.5747 GB, free: 55.58 MB / 478.2 MB Notification: Performance of NFSimplifyModel.simplify: time 7.249e-05/0.3822, allocations: 31.36 kB / 0.5748 GB, free: 55.57 MB / 478.2 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.3823, allocations: 5.406 kB / 0.5748 GB, free: 55.57 MB / 478.2 MB Notification: Performance of NFFlatten.collectFunctions: time 1.419e-05/0.3823, allocations: 3.938 kB / 0.5748 GB, free: 55.57 MB / 478.2 MB Notification: Performance of NFScalarize.scalarize: time 4.275e-05/0.3823, allocations: 33.08 kB / 0.5748 GB, free: 55.56 MB / 478.2 MB Notification: Performance of NFVerifyModel.verify: time 4.527e-05/0.3824, allocations: 28.2 kB / 0.5748 GB, free: 55.55 MB / 478.2 MB Notification: Performance of NFConvertDAE.convert: time 7.165e-05/0.3825, allocations: 48.48 kB / 0.5749 GB, free: 55.54 MB / 478.2 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3825, allocations: 1.156 kB / 0.5749 GB, free: 55.54 MB / 478.2 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3825, allocations: 0 / 0.5749 GB, free: 55.54 MB / 478.2 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.3825, allocations: 0 / 0.5749 GB, free: 55.54 MB / 478.2 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004592/0.3829, allocations: 408.9 kB / 0.5753 GB, free: 55.16 MB / 478.2 MB Notification: Performance of prepare preOptimizeDAE: time 2.7e-05/0.383, allocations: 9.062 kB / 0.5753 GB, free: 55.16 MB / 478.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.383, allocations: 8.219 kB / 0.5753 GB, free: 55.16 MB / 478.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.96e-05/0.3831, allocations: 186 kB / 0.5755 GB, free: 54.96 MB / 478.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.3831, allocations: 4.062 kB / 0.5755 GB, free: 54.96 MB / 478.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.3832, allocations: 12.08 kB / 0.5755 GB, free: 54.95 MB / 478.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.3833, allocations: 87.31 kB / 0.5756 GB, free: 54.91 MB / 478.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3833, allocations: 6 kB / 0.5756 GB, free: 54.9 MB / 478.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.3833, allocations: 7.312 kB / 0.5756 GB, free: 54.9 MB / 478.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3834, allocations: 1.281 kB / 0.5756 GB, free: 54.9 MB / 478.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.699e-05/0.3834, allocations: 49.38 kB / 0.5756 GB, free: 54.89 MB / 478.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/0.3836, allocations: 208.8 kB / 0.5758 GB, free: 54.68 MB / 478.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.3839, allocations: 137.1 kB / 0.576 GB, free: 54.62 MB / 478.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.506e-05/0.384, allocations: 48.81 kB / 0.576 GB, free: 54.61 MB / 478.2 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.384, allocations: 5.812 kB / 0.576 GB, free: 54.6 MB / 478.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.879e-06/0.384, allocations: 35.81 kB / 0.576 GB, free: 54.56 MB / 478.2 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.384, allocations: 0 / 0.576 GB, free: 54.56 MB / 478.2 MB Notification: Performance of matching and sorting (n=12): time 0.0006013/0.3846, allocations: 309 kB / 0.5763 GB, free: 54.38 MB / 478.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.612e-05/0.3847, allocations: 57.66 kB / 0.5764 GB, free: 54.31 MB / 478.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.685e-05/0.3847, allocations: 100.8 kB / 0.5765 GB, free: 54.21 MB / 478.2 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.3847, allocations: 26.92 kB / 0.5765 GB, free: 54.18 MB / 478.2 MB Notification: Performance of collectInitialEqns (initialization): time 1.389e-05/0.3847, allocations: 89.19 kB / 0.5766 GB, free: 54.09 MB / 478.2 MB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.3848, allocations: 50.22 kB / 0.5766 GB, free: 54.05 MB / 478.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.3848, allocations: 35.44 kB / 0.5767 GB, free: 54.03 MB / 478.2 MB Notification: Performance of setup shared object (initialization): time 3.324e-05/0.3849, allocations: 323.5 kB / 0.577 GB, free: 53.71 MB / 478.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.061e-05/0.3849, allocations: 53.95 kB / 0.577 GB, free: 53.69 MB / 478.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.164e-05/0.385, allocations: 96.42 kB / 0.5771 GB, free: 53.63 MB / 478.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.3852, allocations: 141.2 kB / 0.5773 GB, free: 53.55 MB / 478.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3852, allocations: 1.031 kB / 0.5773 GB, free: 53.55 MB / 478.2 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003641/0.3856, allocations: 230.3 kB / 0.5775 GB, free: 53.45 MB / 478.2 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.3856, allocations: 9.312 kB / 0.5775 GB, free: 53.45 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3856, allocations: 2.156 kB / 0.5775 GB, free: 53.45 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002624/0.3859, allocations: 65.16 kB / 0.5776 GB, free: 53.43 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.386, allocations: 38.47 kB / 0.5776 GB, free: 53.42 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009832/0.387, allocations: 1.581 MB / 0.5791 GB, free: 51.96 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.926e-05/0.387, allocations: 11.95 kB / 0.5792 GB, free: 51.96 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.3871, allocations: 5.375 kB / 0.5792 GB, free: 51.96 MB / 478.2 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.689e-05/0.3871, allocations: 131.8 kB / 0.5793 GB, free: 51.83 MB / 478.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.33e-05/0.3871, allocations: 3.891 kB / 0.5793 GB, free: 51.83 MB / 478.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/0.3872, allocations: 17.91 kB / 0.5793 GB, free: 51.81 MB / 478.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.3872, allocations: 1.094 kB / 0.5793 GB, free: 51.81 MB / 478.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.3872, allocations: 1 kB / 0.5793 GB, free: 51.81 MB / 478.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3872, allocations: 0.5625 kB / 0.5793 GB, free: 51.81 MB / 478.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.3873, allocations: 212.5 kB / 0.5795 GB, free: 51.6 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3873, allocations: 0 / 0.5795 GB, free: 51.6 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.3875, allocations: 28.31 kB / 0.5795 GB, free: 51.59 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002337/0.3877, allocations: 61.44 kB / 0.5796 GB, free: 51.58 MB / 478.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.3877, allocations: 8.719 kB / 0.5796 GB, free: 51.57 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008703/0.3886, allocations: 1.579 MB / 0.5811 GB, free: 50.13 MB / 478.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3886, allocations: 0 / 0.5811 GB, free: 50.13 MB / 478.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/0.389, allocations: 269.6 kB / 0.5814 GB, free: 50 MB / 478.2 MB Notification: Performance of postOpt removeConstants (simulation): time 1.54e-05/0.389, allocations: 89.11 kB / 0.5815 GB, free: 49.89 MB / 478.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.389, allocations: 4.203 kB / 0.5815 GB, free: 49.89 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.68e-05/0.3891, allocations: 1.375 kB / 0.5815 GB, free: 49.89 MB / 478.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.3891, allocations: 12.02 kB / 0.5815 GB, free: 49.89 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.3891, allocations: 7.531 kB / 0.5815 GB, free: 49.89 MB / 478.2 MB Notification: Performance of sorting global known variables: time 1.563e-05/0.3891, allocations: 82.64 kB / 0.5816 GB, free: 49.81 MB / 478.2 MB Notification: Performance of sort global known variables: time 1e-07/0.3891, allocations: 0 / 0.5816 GB, free: 49.81 MB / 478.2 MB Notification: Performance of remove unused functions: time 0.0002183/0.3894, allocations: 31.38 kB / 0.5816 GB, free: 49.8 MB / 478.2 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (xm[1],xm[2],xm[3],xm[4],v[1],v[2],v[3],v[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 5.872e-05/0.3894, allocations: 102.1 kB / 0.5817 GB, free: 49.71 MB / 478.2 MB Notification: Performance of simCode: created initialization part: time 0.0003817/0.3898, allocations: 257.6 kB / 0.582 GB, free: 49.56 MB / 478.2 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3898, allocations: 4.25 kB / 0.582 GB, free: 49.56 MB / 478.2 MB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.39, allocations: 197 kB / 0.5822 GB, free: 49.42 MB / 478.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.3902, allocations: 7.453 kB / 0.5822 GB, free: 49.42 MB / 478.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006299/0.3908, allocations: 0.6534 MB / 0.5828 GB, free: 48.9 MB / 478.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.391, allocations: 0.7014 MB / 0.5835 GB, free: 48.21 MB / 478.2 MB Notification: Performance of simCode: alias equations: time 5.282e-05/0.391, allocations: 26.61 kB / 0.5835 GB, free: 48.21 MB / 478.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.98e-05/0.391, allocations: 10.94 kB / 0.5835 GB, free: 48.2 MB / 478.2 MB Notification: Performance of SimCode: time 2.3e-07/0.3911, allocations: 0 / 0.5835 GB, free: 48.2 MB / 478.2 MB Notification: Performance of Templates: time 0.003732/0.3948, allocations: 1.365 MB / 0.5849 GB, free: 48.06 MB / 478.2 MB make -j1 -f ScalableTestSuite_OB_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile (rm -f ScalableTestSuite_OB_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_OB_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_OB_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_OB_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & ./ScalableTestSuite_OB_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > ScalableTestSuite_OB_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_OB_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","../files/ScalableTestSuite_OB_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches