Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002232/0.002232, allocations: 182 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.127/2.127, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001113/0.001112, allocations: 94.62 kB / 267.5 MB, free: 14.04 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.2787/0.2787, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.435e-05/3.456e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1179, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5336/0.6515, allocations: 84.66 MB / 0.5555 GB, free: 2.938 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.6519, allocations: 61.47 kB / 0.5555 GB, free: 2.906 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009031/0.661, allocations: 1.662 MB / 0.5571 GB, free: 1.473 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.661, allocations: 4 kB / 0.5571 GB, free: 1.469 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.661, allocations: 0 / 0.5571 GB, free: 1.469 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.000288/0.6614, allocations: 352.2 kB / 0.5575 GB, free: 1.074 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.6614, allocations: 8.031 kB / 0.5575 GB, free: 1.066 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.6615, allocations: 0 / 0.5575 GB, free: 1.066 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.782e-05/0.6616, allocations: 163 kB / 0.5576 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.6616, allocations: 3.438 kB / 0.5576 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.6617, allocations: 0 / 0.5576 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.247e-05/0.6618, allocations: 29.7 kB / 0.5577 GB, free: 0.832 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.6618, allocations: 7.984 kB / 0.5577 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.6618, allocations: 0 / 0.5577 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.6619, allocations: 0 / 0.5577 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.02e-05/0.6619, allocations: 7.938 kB / 0.5577 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001352/0.6621, allocations: 145.6 kB / 0.5578 GB, free: 0.625 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.359e-05/0.6621, allocations: 21.92 kB / 0.5578 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.387e-05/0.6622, allocations: 4.859 kB / 0.5578 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.6622, allocations: 0 / 0.5578 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.6623, allocations: 60.27 kB / 0.5579 GB, free: 0.5156 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 2.785e-06/0.6623, allocations: 0 / 0.5579 GB, free: 0.5156 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001958/0.6625, allocations: 67.39 kB / 0.558 GB, free: 448 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.6626, allocations: 77.11 kB / 0.558 GB, free: 352 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.714e-05/0.6626, allocations: 88 kB / 0.5581 GB, free: 260 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.6626, allocations: 25.7 kB / 0.5582 GB, free: 228 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.082e-05/0.6627, allocations: 158.5 kB / 0.5583 GB, free: 68 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.6627, allocations: 4.031 kB / 0.5583 GB, free: 64 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.6627, allocations: 0 / 0.5583 GB, free: 64 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.6629, allocations: 310.8 kB / 0.5586 GB, free: 15.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.671e-05/0.663, allocations: 0 / 0.5586 GB, free: 15.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.222e-05/0.663, allocations: 0 / 0.5586 GB, free: 15.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.691e-05/0.6631, allocations: 33.69 kB / 0.5586 GB, free: 15.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.6631, allocations: 0 / 0.5586 GB, free: 15.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001522/0.6633, allocations: 69.83 kB / 0.5587 GB, free: 15.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.842e-05/0.6633, allocations: 29.8 kB / 0.5587 GB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6634, allocations: 4 kB / 0.5587 GB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.6634, allocations: 0 / 0.5587 GB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.435e-06/0.6634, allocations: 3.938 kB / 0.5587 GB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.6635, allocations: 4 kB / 0.5587 GB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.39e-05/0.6635, allocations: 0 / 0.5587 GB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.6636, allocations: 3.984 kB / 0.5587 GB, free: 15.59 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 () * 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.0001284/0.6637, allocations: 130.6 kB / 0.5589 GB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.6638, allocations: 7.953 kB / 0.5589 GB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.6638, allocations: 3.125 kB / 0.5589 GB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.6638, allocations: 4 kB / 0.5589 GB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.6639, allocations: 0 / 0.5589 GB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.6639, allocations: 0 / 0.5589 GB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.6641, allocations: 148.9 kB / 0.559 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.6641, allocations: 4 kB / 0.559 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.473e-06/0.6641, allocations: 0 / 0.559 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.6641, allocations: 3.953 kB / 0.559 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.6641, allocations: 4 kB / 0.559 GB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.6642, allocations: 0.625 kB / 0.559 GB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6642, allocations: 0 / 0.559 GB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.6644, allocations: 94.2 kB / 0.5591 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.078e-05/0.6645, allocations: 81.05 kB / 0.5592 GB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.6645, allocations: 3.953 kB / 0.5592 GB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.669e-05/0.6646, allocations: 4 kB / 0.5592 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.726e-05/0.6646, allocations: 0 / 0.5592 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.6646, allocations: 3.984 kB / 0.5592 GB, free: 15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.681e-05/0.6647, allocations: 75.28 kB / 0.5593 GB, free: 14.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.052e-06/0.6647, allocations: 4.031 kB / 0.5593 GB, free: 14.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005075/0.6652, allocations: 31.42 kB / 0.5593 GB, free: 14.89 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) * 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.001013/0.6663, allocations: 259.9 kB / 0.5596 GB, free: 14.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001427/0.6664, allocations: 62.78 kB / 0.5596 GB, free: 14.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.6665, allocations: 4.062 kB / 0.5596 GB, free: 14.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.067e-05/0.6666, allocations: 55.34 kB / 0.5597 GB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.6667, allocations: 4 kB / 0.5597 GB, free: 14.53 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002272/0.667, allocations: 68.31 kB / 0.5598 GB, free: 14.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.6674, allocations: 0.677 MB / 0.5604 GB, free: 13.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.008e-05/0.6674, allocations: 7.438 kB / 0.5604 GB, free: 13.73 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6674, allocations: 0 / 0.5604 GB, free: 13.73 MB / 378.7 MB Notification: Performance of Templates: time 0.005075/0.6725, allocations: 0.983 MB / 0.5614 GB, free: 12.74 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestInternal/TestInternal.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches