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.001584/0.001585, allocations: 181.6 kB / 17.41 MB, free: 4.406 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.641/2.641, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.001211/0.001211, allocations: 85.36 kB / 271.9 MB, free: 8.258 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.6436/0.6436, allocations: 43.56 MB / 363.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005675/0.0005677, allocations: 12 kB / 432.6 MB, free: 5.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2171, allocations: 58.86 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5837/0.8008, allocations: 84.76 MB / 0.5627 GB, free: 1.664 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.8012, allocations: 59.97 kB / 0.5628 GB, free: 1.605 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01053/0.8117, allocations: 1.602 MB / 0.5643 GB, free: 16 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.8118, allocations: 0 / 0.5643 GB, free: 16 kB / 378.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.8118, allocations: 0 / 0.5643 GB, free: 16 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.0004911/0.8123, allocations: 362 kB / 0.5647 GB, free: 15.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.8124, allocations: 12.56 kB / 0.5647 GB, free: 15.6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.8124, allocations: 2.375 kB / 0.5647 GB, free: 15.6 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.8126, allocations: 163.3 kB / 0.5648 GB, free: 15.4 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.8126, allocations: 4.312 kB / 0.5648 GB, free: 15.4 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.8127, allocations: 384 / 0.5648 GB, free: 15.4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.8128, allocations: 34.25 kB / 0.5649 GB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.8128, allocations: 192 / 0.5649 GB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.8128, allocations: 3.938 kB / 0.5649 GB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.8129, allocations: 3.844 kB / 0.5649 GB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.785e-05/0.8129, allocations: 4 kB / 0.5649 GB, free: 15.35 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002167/0.8131, allocations: 149.7 kB / 0.565 GB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.067e-05/0.8132, allocations: 18.52 kB / 0.565 GB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.655e-05/0.8133, allocations: 8.844 kB / 0.5651 GB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.8133, allocations: 4.094 kB / 0.5651 GB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.222e-05/0.8134, allocations: 56.27 kB / 0.5651 GB, free: 15.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.814e-06/0.8134, allocations: 4 kB / 0.5651 GB, free: 15.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0003132/0.8137, allocations: 67.34 kB / 0.5652 GB, free: 14.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.705e-05/0.8138, allocations: 81.09 kB / 0.5653 GB, free: 14.86 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.177e-05/0.8139, allocations: 90.48 kB / 0.5653 GB, free: 14.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.8139, allocations: 25.7 kB / 0.5654 GB, free: 14.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.814, allocations: 80.14 kB / 0.5654 GB, free: 14.65 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.814, allocations: 0.9375 kB / 0.5654 GB, free: 14.65 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.337e-06/0.8141, allocations: 4 kB / 0.5654 GB, free: 14.65 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.8143, allocations: 318.9 kB / 0.5658 GB, free: 14.33 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.952e-05/0.8143, allocations: 4 kB / 0.5658 GB, free: 14.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.04e-05/0.8143, allocations: 3.828 kB / 0.5658 GB, free: 14.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.571e-05/0.8144, allocations: 60.27 kB / 0.5658 GB, free: 14.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8144, allocations: 0 / 0.5658 GB, free: 14.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000119/0.8146, allocations: 63.39 kB / 0.5659 GB, free: 14.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.624e-05/0.8146, allocations: 29.7 kB / 0.5659 GB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.8146, allocations: 0 / 0.5659 GB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.8147, allocations: 8.031 kB / 0.5659 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.285e-06/0.8147, allocations: 5.5 kB / 0.5659 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.974e-06/0.8147, allocations: 0 / 0.5659 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.737e-05/0.8148, allocations: 0 / 0.5659 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.8148, allocations: 3.938 kB / 0.5659 GB, free: 14.12 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 0.0001387/0.8149, allocations: 139.5 kB / 0.5661 GB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.815, allocations: 3.984 kB / 0.5661 GB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.042e-05/0.815, allocations: 7.062 kB / 0.5661 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.815, allocations: 0 / 0.5661 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.815, allocations: 4 kB / 0.5661 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.815, allocations: 0 / 0.5661 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.8152, allocations: 145.7 kB / 0.5662 GB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.8152, allocations: 0 / 0.5662 GB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.294e-06/0.8152, allocations: 2.312 kB / 0.5662 GB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.8152, allocations: 3.984 kB / 0.5662 GB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.8153, allocations: 3.938 kB / 0.5662 GB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.8153, allocations: 0 / 0.5662 GB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8153, allocations: 0 / 0.5662 GB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.8155, allocations: 91.59 kB / 0.5663 GB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.402e-05/0.8156, allocations: 87.11 kB / 0.5664 GB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.8156, allocations: 3.938 kB / 0.5664 GB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.608e-05/0.8156, allocations: 4 kB / 0.5664 GB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.8157, allocations: 7.922 kB / 0.5664 GB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.8157, allocations: 0 / 0.5664 GB, free: 13.53 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.117e-05/0.8158, allocations: 75.28 kB / 0.5665 GB, free: 13.46 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.8158, allocations: 0 / 0.5665 GB, free: 13.46 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004139/0.8162, allocations: 31.94 kB / 0.5665 GB, free: 13.43 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.0008866/0.8171, allocations: 273.1 kB / 0.5668 GB, free: 13.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000147/0.8173, allocations: 67.39 kB / 0.5668 GB, free: 13.15 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.8173, allocations: 0 / 0.5668 GB, free: 13.15 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.46e-05/0.8174, allocations: 55.47 kB / 0.5669 GB, free: 13.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.8176, allocations: 4.062 kB / 0.5669 GB, free: 13.08 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002721/0.8179, allocations: 107.2 kB / 0.567 GB, free: 12.94 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.8183, allocations: 0.6731 MB / 0.5676 GB, free: 12.24 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.681e-05/0.8183, allocations: 7.438 kB / 0.5677 GB, free: 12.23 MB / 394.7 MB Notification: Performance of SimCode: time 4.61e-07/0.8183, allocations: 0 / 0.5677 GB, free: 12.23 MB / 394.7 MB Notification: Performance of Templates: time 0.008993/0.8273, allocations: 0.9584 MB / 0.5686 GB, free: 11.28 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