Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001274/0.001274, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.623/1.623, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008442/0.0008442, allocations: 82.58 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.197/0.197, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.387e-05/1.39e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1314, allocations: 58.85 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4246/0.556, allocations: 85.7 MB / 0.5496 GB, free: 8.922 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.5562, allocations: 67.19 kB / 0.5497 GB, free: 8.891 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01417/0.5704, allocations: 5.961 MB / 0.5555 GB, free: 4.355 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5705, allocations: 0 / 0.5555 GB, free: 4.355 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.5705, allocations: 4 kB / 0.5555 GB, free: 4.352 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003996/0.5709, allocations: 406.7 kB / 0.5559 GB, free: 3.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.571, allocations: 8.031 kB / 0.5559 GB, free: 3.902 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.571, allocations: 0 / 0.5559 GB, free: 3.902 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.5711, allocations: 171 kB / 0.5561 GB, free: 3.695 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.5712, allocations: 0.8438 kB / 0.5561 GB, free: 3.695 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.677e-06/0.5712, allocations: 0 / 0.5561 GB, free: 3.695 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.135e-05/0.5712, allocations: 0 / 0.5561 GB, free: 3.695 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.486e-05/0.5713, allocations: 33.64 kB / 0.5561 GB, free: 3.656 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.5713, allocations: 4 kB / 0.5561 GB, free: 3.652 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.5713, allocations: 0 / 0.5561 GB, free: 3.652 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.5713, allocations: 0 / 0.5561 GB, free: 3.652 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001102/0.5714, allocations: 129.6 kB / 0.5562 GB, free: 3.492 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.704e-05/0.5715, allocations: 26.53 kB / 0.5562 GB, free: 3.457 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.825e-05/0.5715, allocations: 8.797 kB / 0.5563 GB, free: 3.445 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.851e-06/0.5715, allocations: 0 / 0.5563 GB, free: 3.445 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.5716, allocations: 68.02 kB / 0.5563 GB, free: 3.367 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.5716, allocations: 0 / 0.5563 GB, free: 3.367 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001769/0.5718, allocations: 29.7 kB / 0.5563 GB, free: 3.332 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.5718, allocations: 81.11 kB / 0.5564 GB, free: 3.234 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.733e-05/0.5719, allocations: 88.98 kB / 0.5565 GB, free: 3.141 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.5719, allocations: 25.7 kB / 0.5565 GB, free: 3.109 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.914e-05/0.5719, allocations: 84.14 kB / 0.5566 GB, free: 3.023 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.5719, allocations: 3.844 kB / 0.5566 GB, free: 3.023 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.5719, allocations: 4 kB / 0.5566 GB, free: 3.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.683e-05/0.572, allocations: 310.8 kB / 0.5569 GB, free: 2.707 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.494e-06/0.572, allocations: 3.938 kB / 0.5569 GB, free: 2.703 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.368e-06/0.572, allocations: 0 / 0.5569 GB, free: 2.703 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.432e-05/0.5721, allocations: 4 kB / 0.5569 GB, free: 2.699 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.5721, allocations: 0 / 0.5569 GB, free: 2.699 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.961e-05/0.5721, allocations: 41.56 kB / 0.557 GB, free: 2.652 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.5722, allocations: 33.69 kB / 0.557 GB, free: 2.613 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.5722, allocations: 4.094 kB / 0.557 GB, free: 2.609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.5722, allocations: 0 / 0.557 GB, free: 2.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.325e-06/0.5722, allocations: 4 kB / 0.557 GB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.5722, allocations: 0 / 0.557 GB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.248e-05/0.5722, allocations: 0 / 0.557 GB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.5722, allocations: 0 / 0.557 GB, free: 2.605 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.975e-05/0.5723, allocations: 137.2 kB / 0.5571 GB, free: 2.465 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.294e-06/0.5723, allocations: 3.953 kB / 0.5571 GB, free: 2.461 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.336e-05/0.5723, allocations: 3.75 kB / 0.5571 GB, free: 2.457 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.5723, allocations: 4 kB / 0.5571 GB, free: 2.453 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5723, allocations: 3.984 kB / 0.5571 GB, free: 2.449 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.5724, allocations: 0 / 0.5571 GB, free: 2.449 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.053e-05/0.5724, allocations: 130.2 kB / 0.5573 GB, free: 2.285 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.5724, allocations: 0 / 0.5573 GB, free: 2.285 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-06/0.5724, allocations: 3.938 kB / 0.5573 GB, free: 2.281 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.5724, allocations: 3.984 kB / 0.5573 GB, free: 2.277 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.5724, allocations: 7.953 kB / 0.5573 GB, free: 2.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.5724, allocations: 0 / 0.5573 GB, free: 2.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5725, allocations: 4 kB / 0.5573 GB, free: 2.266 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.485e-05/0.5725, allocations: 64.5 kB / 0.5574 GB, free: 2.188 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.812e-05/0.5726, allocations: 77.11 kB / 0.5574 GB, free: 2.094 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.5726, allocations: 4 kB / 0.5574 GB, free: 2.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.248e-06/0.5726, allocations: 3.953 kB / 0.5574 GB, free: 2.086 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.5726, allocations: 3.984 kB / 0.5574 GB, free: 2.082 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.5726, allocations: 3.938 kB / 0.5574 GB, free: 2.078 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.702e-05/0.5726, allocations: 79.28 kB / 0.5575 GB, free: 2 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5727, allocations: 4.125 kB / 0.5575 GB, free: 1.996 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003043/0.573, allocations: 70.59 kB / 0.5576 GB, free: 1.938 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005942/0.5736, allocations: 333.4 kB / 0.5579 GB, free: 1.641 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.252e-05/0.5737, allocations: 55.41 kB / 0.558 GB, free: 1.574 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5737, allocations: 0 / 0.558 GB, free: 1.574 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.903e-05/0.5737, allocations: 55.41 kB / 0.558 GB, free: 1.508 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.594e-05/0.5738, allocations: 0 / 0.558 GB, free: 1.508 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000149/0.5739, allocations: 51.27 kB / 0.5581 GB, free: 1.438 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.5741, allocations: 0.6806 MB / 0.5587 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.59e-06/0.5741, allocations: 3.938 kB / 0.5587 GB, free: 0.7266 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.788e-06/0.5741, allocations: 11.44 kB / 0.5587 GB, free: 0.7148 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5741, allocations: 0 / 0.5587 GB, free: 0.7148 MB / 362.7 MB Notification: Performance of Templates: time 0.003907/0.578, allocations: 1.567 MB / 0.5603 GB, free: 15.17 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestFiles/TestFiles.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches