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.001435/0.001435, allocations: 185.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008857/0.0008857, allocations: 98.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2191/0.2191, allocations: 43.55 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004096/0.0004096, allocations: 12 kB / 431.4 MB, free: 19.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1246, allocations: 58.86 MB / 490.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.359/0.4836, allocations: 86.46 MB / 0.5632 GB, free: 13.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.4839, allocations: 59.3 kB / 0.5632 GB, free: 13.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01699/0.5009, allocations: 6.282 MB / 0.5694 GB, free: 8.277 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5009, allocations: 0 / 0.5694 GB, free: 8.277 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.5009, allocations: 0.625 kB / 0.5694 GB, free: 8.277 MB / 378.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.0004084/0.5013, allocations: 417.2 kB / 0.5698 GB, free: 7.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.5014, allocations: 8.031 kB / 0.5698 GB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.5014, allocations: 0.625 kB / 0.5698 GB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.5015, allocations: 167 kB / 0.5699 GB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.5016, allocations: 0 / 0.5699 GB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.5016, allocations: 8.484 kB / 0.5699 GB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.078e-05/0.5017, allocations: 26.2 kB / 0.57 GB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.5017, allocations: 0 / 0.57 GB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.5017, allocations: 4 kB / 0.57 GB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.5017, allocations: 7.938 kB / 0.57 GB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.443e-05/0.5017, allocations: 0 / 0.57 GB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/0.5019, allocations: 152.5 kB / 0.5701 GB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.606e-05/0.5019, allocations: 23.05 kB / 0.5702 GB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-06/0.5019, allocations: 0 / 0.5702 GB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.502, allocations: 57.33 kB / 0.5702 GB, free: 7.262 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.502, allocations: 4 kB / 0.5702 GB, free: 7.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001446/0.5021, allocations: 64.97 kB / 0.5703 GB, free: 7.184 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.5022, allocations: 81.59 kB / 0.5704 GB, free: 7.086 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.478e-05/0.5022, allocations: 86.56 kB / 0.5704 GB, free: 6.996 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.5023, allocations: 29.7 kB / 0.5705 GB, free: 6.961 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/0.5023, allocations: 80.7 kB / 0.5705 GB, free: 6.879 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.5023, allocations: 3.906 kB / 0.5705 GB, free: 6.875 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/0.5023, allocations: 0.9375 kB / 0.5705 GB, free: 6.875 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.5024, allocations: 322.9 kB / 0.5709 GB, free: 6.555 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.065e-06/0.5025, allocations: 0 / 0.5709 GB, free: 6.555 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.111e-06/0.5025, allocations: 4 kB / 0.5709 GB, free: 6.551 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.437e-05/0.5025, allocations: 29.66 kB / 0.5709 GB, free: 6.516 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5025, allocations: 3.984 kB / 0.5709 GB, free: 6.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.069e-05/0.5026, allocations: 59.41 kB / 0.5709 GB, free: 6.441 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.5026, allocations: 36.36 kB / 0.571 GB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/0.5026, allocations: 3.938 kB / 0.571 GB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.5027, allocations: 96 / 0.571 GB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.5027, allocations: 4 kB / 0.571 GB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.5027, allocations: 0 / 0.571 GB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.244e-05/0.5027, allocations: 0 / 0.571 GB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.5027, allocations: 0 / 0.571 GB, free: 6.395 MB / 378.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 () * Number of clocked 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 8.326e-05/0.5028, allocations: 151.3 kB / 0.5711 GB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-06/0.5028, allocations: 0 / 0.5711 GB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.15e-05/0.5028, allocations: 3.125 kB / 0.5711 GB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5028, allocations: 4 kB / 0.5711 GB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.5028, allocations: 3.938 kB / 0.5711 GB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.5029, allocations: 4 kB / 0.5711 GB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.087e-05/0.5029, allocations: 149.7 kB / 0.5713 GB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.503, allocations: 3.953 kB / 0.5713 GB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.905e-06/0.503, allocations: 4 kB / 0.5713 GB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.503, allocations: 7.922 kB / 0.5713 GB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.503, allocations: 3.984 kB / 0.5713 GB, free: 6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.503, allocations: 0 / 0.5713 GB, free: 6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.503, allocations: 0 / 0.5713 GB, free: 6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.216e-05/0.5031, allocations: 94.58 kB / 0.5714 GB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.5031, allocations: 81.06 kB / 0.5715 GB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.5031, allocations: 4 kB / 0.5715 GB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-06/0.5032, allocations: 0 / 0.5715 GB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.127e-05/0.5032, allocations: 0 / 0.5715 GB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-06/0.5032, allocations: 3.688 kB / 0.5715 GB, free: 5.785 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.789e-05/0.5032, allocations: 79.28 kB / 0.5716 GB, free: 5.707 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5032, allocations: 0 / 0.5716 GB, free: 5.707 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000309/0.5035, allocations: 71.98 kB / 0.5716 GB, free: 5.641 MB / 378.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) * Number of clocked states: 0 () * 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.0006172/0.5042, allocations: 343.4 kB / 0.572 GB, free: 5.344 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.846e-05/0.5043, allocations: 59.64 kB / 0.572 GB, free: 5.273 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5043, allocations: 4.062 kB / 0.572 GB, free: 5.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.205e-05/0.5043, allocations: 55.41 kB / 0.5721 GB, free: 5.203 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.763e-05/0.5044, allocations: 3.875 kB / 0.5721 GB, free: 5.203 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001841/0.5046, allocations: 83.19 kB / 0.5722 GB, free: 5.094 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.5049, allocations: 0.6731 MB / 0.5728 GB, free: 4.395 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.18e-06/0.5049, allocations: 0 / 0.5728 GB, free: 4.395 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.135e-05/0.5049, allocations: 7.438 kB / 0.5728 GB, free: 4.387 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5049, allocations: 0 / 0.5728 GB, free: 4.387 MB / 378.7 MB Notification: Performance of Templates: time 0.003764/0.5087, allocations: 1.568 MB / 0.5743 GB, free: 2.828 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