Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001594/0.001594, allocations: 182.8 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.665/1.665, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009799/0.0009799, allocations: 90.84 kB / 270.2 MB, free: 13.37 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.221/0.221, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003397, allocations: 12 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1335, allocations: 58.86 MB / 490.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3573/0.4908, allocations: 84.74 MB / 0.5615 GB, free: 15.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.4911, allocations: 62.22 kB / 0.5616 GB, free: 15.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005675/0.4968, allocations: 1.669 MB / 0.5632 GB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4968, allocations: 0 / 0.5632 GB, free: 13.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.4968, allocations: 0 / 0.5632 GB, free: 13.58 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.000344/0.4972, allocations: 359.3 kB / 0.5635 GB, free: 13.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.4973, allocations: 8.031 kB / 0.5635 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.4973, allocations: 0 / 0.5635 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.4974, allocations: 163 kB / 0.5637 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.4975, allocations: 0 / 0.5637 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.4975, allocations: 6.5 kB / 0.5637 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.567e-05/0.4976, allocations: 29.69 kB / 0.5637 GB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.4976, allocations: 0 / 0.5637 GB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.4976, allocations: 0 / 0.5637 GB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.4976, allocations: 7.938 kB / 0.5637 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.843e-05/0.4977, allocations: 0 / 0.5637 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/0.4978, allocations: 152.5 kB / 0.5639 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.756e-05/0.4979, allocations: 22.55 kB / 0.5639 GB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.4979, allocations: 0 / 0.5639 GB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.856e-05/0.498, allocations: 59.2 kB / 0.564 GB, free: 12.63 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/0.498, allocations: 0 / 0.564 GB, free: 12.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001832/0.4982, allocations: 63.45 kB / 0.564 GB, free: 12.56 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.4983, allocations: 85.17 kB / 0.5641 GB, free: 12.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.284e-05/0.4983, allocations: 85 kB / 0.5642 GB, free: 12.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.4983, allocations: 28.58 kB / 0.5642 GB, free: 12.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.668e-05/0.4984, allocations: 84.14 kB / 0.5643 GB, free: 12.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.4984, allocations: 3.984 kB / 0.5643 GB, free: 12.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.4984, allocations: 0 / 0.5643 GB, free: 12.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.4986, allocations: 314.8 kB / 0.5646 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.245e-05/0.4986, allocations: 3.984 kB / 0.5646 GB, free: 11.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.144e-06/0.4986, allocations: 4 kB / 0.5646 GB, free: 11.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.627e-05/0.4987, allocations: 29.7 kB / 0.5646 GB, free: 11.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4987, allocations: 0 / 0.5646 GB, free: 11.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.862e-05/0.4988, allocations: 70.66 kB / 0.5647 GB, free: 11.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.4989, allocations: 29.7 kB / 0.5647 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.4989, allocations: 0 / 0.5647 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.4989, allocations: 3.984 kB / 0.5647 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.4989, allocations: 0 / 0.5647 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.4989, allocations: 0 / 0.5647 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.247e-05/0.4989, allocations: 4.875 kB / 0.5647 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.499, allocations: 8.031 kB / 0.5647 GB, free: 11.76 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 0.0001084/0.4991, allocations: 135.5 kB / 0.5649 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.4991, allocations: 7.953 kB / 0.5649 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.336e-05/0.4991, allocations: 3.125 kB / 0.5649 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.4991, allocations: 0 / 0.5649 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4992, allocations: 0 / 0.5649 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.4992, allocations: 0 / 0.5649 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.4993, allocations: 149.4 kB / 0.565 GB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.4993, allocations: 4.812 kB / 0.565 GB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-07/0.4993, allocations: 4 kB / 0.565 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.4993, allocations: 3.953 kB / 0.565 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.4994, allocations: 0 / 0.565 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.4994, allocations: 0 / 0.565 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.4994, allocations: 4 kB / 0.565 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.4995, allocations: 90.39 kB / 0.5651 GB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.4996, allocations: 77.11 kB / 0.5652 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.4996, allocations: 7.891 kB / 0.5652 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.452e-05/0.4996, allocations: 4.031 kB / 0.5652 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.4996, allocations: 7.938 kB / 0.5652 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.4997, allocations: 0 / 0.5652 GB, free: 11.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.212e-05/0.4997, allocations: 75.28 kB / 0.5653 GB, free: 11.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4997, allocations: 0 / 0.5653 GB, free: 11.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000382/0.5001, allocations: 30.55 kB / 0.5653 GB, free: 11.06 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.0006768/0.5008, allocations: 277 kB / 0.5656 GB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.5009, allocations: 55.41 kB / 0.5656 GB, free: 10.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5009, allocations: 0 / 0.5656 GB, free: 10.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.581e-05/0.501, allocations: 59.39 kB / 0.5657 GB, free: 10.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001187/0.5011, allocations: 4 kB / 0.5657 GB, free: 10.69 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001725/0.5013, allocations: 80.56 kB / 0.5658 GB, free: 10.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.5016, allocations: 0.6809 MB / 0.5664 GB, free: 9.879 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.738e-06/0.5016, allocations: 0 / 0.5664 GB, free: 9.879 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.14e-05/0.5016, allocations: 7.438 kB / 0.5664 GB, free: 9.871 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5016, allocations: 0 / 0.5664 GB, free: 9.871 MB / 378.7 MB Notification: Performance of Templates: time 0.003884/0.5055, allocations: 0.7564 MB / 0.5672 GB, free: 9.121 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestInternal/TestInternal.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches