Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.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.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002249/0.002249, allocations: 109.8 kB / 17.06 MB, free: 5.781 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.002899/0.002899, allocations: 199.9 kB / 18 MB, free: 4.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.156/3.156, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.703/1.703, allocations: 119.3 MB / 411.2 MB, free: 9.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 63.36 kB / 0.5709 GB, free: 39.78 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2423, allocations: 80.7 MB / 0.6497 GB, free: 13.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.003373/0.2457, allocations: 1.188 MB / 0.6509 GB, free: 11.89 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002683/0.246, allocations: 35.88 kB / 0.6509 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.761e-05/0.246, allocations: 0 / 0.6509 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.2462, allocations: 7.938 kB / 0.6509 GB, free: 11.85 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 7.834e-05/0.2463, allocations: 7.984 kB / 0.6509 GB, free: 11.84 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.2465, allocations: 27.84 kB / 0.6509 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.2467, allocations: 63.92 kB / 0.651 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 7.406e-05/0.2468, allocations: 4 kB / 0.651 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 5.161e-05/0.2468, allocations: 27.92 kB / 0.651 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.2469, allocations: 31.89 kB / 0.6511 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.247, allocations: 4 kB / 0.6511 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.945e-05/0.247, allocations: 4 kB / 0.6511 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 5.644e-05/0.2471, allocations: 11.98 kB / 0.6511 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 6.354e-05/0.2471, allocations: 19.92 kB / 0.6511 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.2472, allocations: 35.89 kB / 0.6511 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.2473, allocations: 0 / 0.6511 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.255e-06/0.2473, allocations: 0 / 0.6511 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.2473, allocations: 0 / 0.6511 GB, free: 11.62 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007366/0.248, allocations: 375.5 kB / 0.6515 GB, free: 11.2 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.2481, allocations: 11.89 kB / 0.6515 GB, free: 11.19 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.672e-05/0.2482, allocations: 8.844 kB / 0.6515 GB, free: 11.18 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.2484, allocations: 176.2 kB / 0.6517 GB, free: 10.97 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.2484, allocations: 4.375 kB / 0.6517 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-05/0.2485, allocations: 12.38 kB / 0.6517 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.2487, allocations: 74.16 kB / 0.6518 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.2487, allocations: 4.188 kB / 0.6518 GB, free: 10.87 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.2488, allocations: 7.922 kB / 0.6518 GB, free: 10.86 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.2488, allocations: 0 / 0.6518 GB, free: 10.86 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.2489, allocations: 27.97 kB / 0.6518 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003113/0.2492, allocations: 185.6 kB / 0.652 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.2494, allocations: 70.62 kB / 0.652 GB, free: 10.53 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.842e-05/0.2495, allocations: 33 kB / 0.6521 GB, free: 10.49 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.2495, allocations: 7.984 kB / 0.6521 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.036e-05/0.2496, allocations: 42.48 kB / 0.6521 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.2496, allocations: 0 / 0.6521 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0003648/0.25, allocations: 113.8 kB / 0.6522 GB, free: 10.32 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.25, allocations: 51.41 kB / 0.6523 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.2501, allocations: 101.8 kB / 0.6524 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.2502, allocations: 29.7 kB / 0.6524 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.226e-05/0.2502, allocations: 80.14 kB / 0.6525 GB, free: 10.03 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 9.622e-05/0.2503, allocations: 43.45 kB / 0.6525 GB, free: 9.984 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.659e-05/0.2504, allocations: 29.72 kB / 0.6526 GB, free: 9.949 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.2506, allocations: 322.8 kB / 0.6529 GB, free: 9.625 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.417e-05/0.2507, allocations: 35.97 kB / 0.6529 GB, free: 9.59 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.251, allocations: 79.72 kB / 0.653 GB, free: 9.5 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.2512, allocations: 116.5 kB / 0.6531 GB, free: 9.371 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2512, allocations: 0 / 0.6531 GB, free: 9.371 MB / 0.4983 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004146/0.2516, allocations: 149.4 kB / 0.6532 GB, free: 9.219 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.2517, allocations: 11.92 kB / 0.6532 GB, free: 9.207 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.2517, allocations: 4 kB / 0.6532 GB, free: 9.203 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.2517, allocations: 4.125 kB / 0.6532 GB, free: 9.199 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.252, allocations: 35.92 kB / 0.6533 GB, free: 9.164 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.252, allocations: 0 / 0.6533 GB, free: 9.164 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.364e-05/0.2521, allocations: 11.94 kB / 0.6533 GB, free: 9.152 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.2521, allocations: 7.938 kB / 0.6533 GB, free: 9.145 MB / 0.4983 GB 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 (16): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000136/0.2523, allocations: 118.7 kB / 0.6534 GB, free: 9.02 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.2523, allocations: 15.83 kB / 0.6534 GB, free: 9.004 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.171e-05/0.2524, allocations: 11.97 kB / 0.6534 GB, free: 8.988 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.2524, allocations: 4 kB / 0.6534 GB, free: 8.984 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.2524, allocations: 4 kB / 0.6534 GB, free: 8.98 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2524, allocations: 0 / 0.6534 GB, free: 8.98 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.2526, allocations: 173.7 kB / 0.6536 GB, free: 8.762 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2526, allocations: 0 / 0.6536 GB, free: 8.762 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/0.2529, allocations: 27.98 kB / 0.6536 GB, free: 8.734 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.2529, allocations: 4.125 kB / 0.6536 GB, free: 8.73 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.253, allocations: 7.984 kB / 0.6537 GB, free: 8.723 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.253, allocations: 0 / 0.6537 GB, free: 8.723 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.253, allocations: 0 / 0.6537 GB, free: 8.723 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.2533, allocations: 156.9 kB / 0.6538 GB, free: 8.551 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.2534, allocations: 84.95 kB / 0.6539 GB, free: 8.449 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.2534, allocations: 7.984 kB / 0.6539 GB, free: 8.441 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.644e-05/0.2535, allocations: 0 / 0.6539 GB, free: 8.441 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.317e-05/0.2535, allocations: 7.984 kB / 0.6539 GB, free: 8.434 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.2536, allocations: 12 kB / 0.6539 GB, free: 8.422 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0001298/0.2537, allocations: 75.28 kB / 0.654 GB, free: 8.348 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2537, allocations: 0 / 0.654 GB, free: 8.348 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0003548/0.2541, allocations: 20 kB / 0.654 GB, free: 8.328 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (x[1],x[2],x[3],x[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 (8): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001329/0.2542, allocations: 103.7 kB / 0.6541 GB, free: 8.219 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.000281/0.2545, allocations: 87.88 kB / 0.6542 GB, free: 8.133 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2545, allocations: 0 / 0.6542 GB, free: 8.133 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.2547, allocations: 35.92 kB / 0.6542 GB, free: 8.098 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.255, allocations: 15.88 kB / 0.6542 GB, free: 8.082 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.2564, allocations: 0.6166 MB / 0.6548 GB, free: 7.441 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.2569, allocations: 0.6961 MB / 0.6555 GB, free: 6.719 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.0001092/0.257, allocations: 32.64 kB / 0.6555 GB, free: 6.684 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.2571, allocations: 11.44 kB / 0.6556 GB, free: 6.672 MB / 0.4983 GB Notification: Performance of SimCode: time 3.31e-07/0.2571, allocations: 3.938 kB / 0.6556 GB, free: 6.668 MB / 0.4983 GB Notification: Performance of Templates: time 0.004183/0.2613, allocations: 0.6723 MB / 0.6562 GB, free: 6.031 MB / 0.4983 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches