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.00145/0.00145, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.914/1.914, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001193/0.001193, allocations: 99.38 kB / 270.9 MB, free: 8.367 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.5124/0.5124, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004801/0.0004796, allocations: 8 kB / 431.4 MB, free: 6.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1269, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4674/0.5944, allocations: 84.74 MB / 0.5615 GB, free: 2.008 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.5947, allocations: 63.97 kB / 0.5615 GB, free: 1.945 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005697/0.6004, allocations: 1.661 MB / 0.5632 GB, free: 304 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6004, allocations: 3.719 kB / 0.5632 GB, free: 304 kB / 378.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.6005, allocations: 3.938 kB / 0.5632 GB, free: 300 kB / 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.0002788/0.6007, allocations: 349.1 kB / 0.5635 GB, free: 15.9 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.6008, allocations: 12.59 kB / 0.5635 GB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.6008, allocations: 0 / 0.5635 GB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.601, allocations: 163.1 kB / 0.5637 GB, free: 15.69 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.601, allocations: 3 kB / 0.5637 GB, free: 15.69 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.601, allocations: 0 / 0.5637 GB, free: 15.69 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.726e-05/0.6011, allocations: 33.7 kB / 0.5637 GB, free: 15.65 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.6011, allocations: 0 / 0.5637 GB, free: 15.65 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.6011, allocations: 0 / 0.5637 GB, free: 15.65 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.6012, allocations: 0 / 0.5637 GB, free: 15.65 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.696e-05/0.6012, allocations: 9.828 kB / 0.5637 GB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001431/0.6013, allocations: 149.6 kB / 0.5638 GB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.58e-05/0.6014, allocations: 19.27 kB / 0.5639 GB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.365e-06/0.6014, allocations: 0 / 0.5639 GB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/0.6015, allocations: 60.36 kB / 0.5639 GB, free: 15.35 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.654e-06/0.6015, allocations: 0 / 0.5639 GB, free: 15.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001857/0.6017, allocations: 71.38 kB / 0.564 GB, free: 15.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.6018, allocations: 85.17 kB / 0.5641 GB, free: 15.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.951e-05/0.6018, allocations: 85.62 kB / 0.5642 GB, free: 15.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.6018, allocations: 25.7 kB / 0.5642 GB, free: 15.04 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.929e-05/0.6019, allocations: 154.5 kB / 0.5643 GB, free: 14.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.6019, allocations: 4 kB / 0.5643 GB, free: 14.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-06/0.6019, allocations: 0 / 0.5643 GB, free: 14.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.6021, allocations: 318.8 kB / 0.5646 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.073e-05/0.6021, allocations: 0 / 0.5646 GB, free: 14.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-06/0.6021, allocations: 0 / 0.5646 GB, free: 14.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.81e-05/0.6021, allocations: 37.75 kB / 0.5647 GB, free: 14.53 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6022, allocations: 0 / 0.5647 GB, free: 14.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.612e-05/0.6022, allocations: 59.36 kB / 0.5647 GB, free: 14.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/0.6023, allocations: 33.7 kB / 0.5648 GB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.6023, allocations: 0 / 0.5648 GB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.6023, allocations: 0 / 0.5648 GB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.544e-06/0.6023, allocations: 3.125 kB / 0.5648 GB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.6024, allocations: 3.938 kB / 0.5648 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.76e-05/0.6024, allocations: 0 / 0.5648 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.6024, allocations: 7.984 kB / 0.5648 GB, free: 14.41 MB / 394.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 9.505e-05/0.6025, allocations: 143.6 kB / 0.5649 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.6025, allocations: 7.938 kB / 0.5649 GB, free: 14.24 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.315e-05/0.6026, allocations: 3.125 kB / 0.5649 GB, free: 14.24 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.6026, allocations: 4 kB / 0.5649 GB, free: 14.24 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6026, allocations: 0 / 0.5649 GB, free: 14.24 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.6026, allocations: 0 / 0.5649 GB, free: 14.24 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.915e-05/0.6027, allocations: 145.7 kB / 0.5651 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6027, allocations: 0 / 0.5651 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.52e-07/0.6027, allocations: 0 / 0.5651 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.6027, allocations: 7.953 kB / 0.5651 GB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.6028, allocations: 4 kB / 0.5651 GB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.6028, allocations: 0 / 0.5651 GB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6028, allocations: 0 / 0.5651 GB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.6029, allocations: 91.38 kB / 0.5652 GB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.011e-05/0.603, allocations: 79.14 kB / 0.5652 GB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.603, allocations: 3.953 kB / 0.5652 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.46e-05/0.603, allocations: 4.031 kB / 0.5652 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.603, allocations: 3.938 kB / 0.5652 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.603, allocations: 4.547 kB / 0.5653 GB, free: 13.81 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.632e-05/0.6031, allocations: 75.28 kB / 0.5653 GB, free: 13.74 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6031, allocations: 0 / 0.5653 GB, free: 13.74 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003043/0.6034, allocations: 31.98 kB / 0.5654 GB, free: 13.71 MB / 394.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.0006701/0.6041, allocations: 280 kB / 0.5656 GB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001151/0.6042, allocations: 59.41 kB / 0.5657 GB, free: 13.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6042, allocations: 0 / 0.5657 GB, free: 13.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.694e-05/0.6043, allocations: 55.41 kB / 0.5657 GB, free: 13.37 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001041/0.6044, allocations: 0 / 0.5657 GB, free: 13.37 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002091/0.6046, allocations: 108.7 kB / 0.5658 GB, free: 13.23 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.6049, allocations: 0.6733 MB / 0.5665 GB, free: 12.53 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.612e-05/0.6049, allocations: 11.44 kB / 0.5665 GB, free: 12.52 MB / 394.7 MB Notification: Performance of SimCode: time 6.41e-07/0.6049, allocations: 0 / 0.5665 GB, free: 12.52 MB / 394.7 MB Notification: Performance of Templates: time 0.00342/0.6083, allocations: 0.9867 MB / 0.5675 GB, free: 11.54 MB / 394.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