Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 178.2 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 223.2 MB / 241 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000874/0.0008739, allocations: 100 kB / 292.2 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3416/0.3416, allocations: 44.2 MB / 387.5 MB, free: 38.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003527, allocations: 8 kB / 459.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.288, allocations: 61.91 MB / 0.5096 GB, free: 37.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1082/0.3962, allocations: 89.21 MB / 0.5967 GB, free: 5.914 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001901/0.3965, allocations: 71.95 kB / 0.5967 GB, free: 5.844 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03945/0.4359, allocations: 17.18 MB / 0.6135 GB, free: 4.645 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.436, allocations: 0 / 0.6135 GB, free: 4.645 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.436, allocations: 4 kB / 0.6135 GB, free: 4.641 MB / 426.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.0006869/0.4367, allocations: 492.9 kB / 0.614 GB, free: 4.105 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.4367, allocations: 8.031 kB / 0.614 GB, free: 4.098 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.4368, allocations: 0 / 0.614 GB, free: 4.098 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.473e-05/0.4369, allocations: 163 kB / 0.6142 GB, free: 3.898 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.4369, allocations: 4 kB / 0.6142 GB, free: 3.895 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.4369, allocations: 0 / 0.6142 GB, free: 3.895 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.488e-05/0.437, allocations: 29.69 kB / 0.6142 GB, free: 3.859 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.437, allocations: 0 / 0.6142 GB, free: 3.859 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.437, allocations: 8 kB / 0.6142 GB, free: 3.852 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.437, allocations: 3.938 kB / 0.6142 GB, free: 3.848 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.685e-05/0.437, allocations: 3.938 kB / 0.6142 GB, free: 3.844 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001099/0.4372, allocations: 149.6 kB / 0.6143 GB, free: 3.648 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.2e-05/0.4372, allocations: 18.61 kB / 0.6144 GB, free: 3.621 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.721e-06/0.4372, allocations: 0 / 0.6144 GB, free: 3.621 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.4373, allocations: 56.27 kB / 0.6144 GB, free: 3.551 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.4373, allocations: 4 kB / 0.6144 GB, free: 3.547 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001454/0.4374, allocations: 67.39 kB / 0.6145 GB, free: 3.469 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.4375, allocations: 81.11 kB / 0.6146 GB, free: 3.371 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.056e-05/0.4375, allocations: 85 kB / 0.6146 GB, free: 3.281 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.4375, allocations: 25.7 kB / 0.6147 GB, free: 3.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.805e-05/0.4376, allocations: 84.14 kB / 0.6147 GB, free: 3.164 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.4376, allocations: 0 / 0.6147 GB, free: 3.164 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-06/0.4376, allocations: 0 / 0.6147 GB, free: 3.164 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4377, allocations: 315 kB / 0.615 GB, free: 2.848 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.647e-06/0.4377, allocations: 0 / 0.615 GB, free: 2.848 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.951e-06/0.4378, allocations: 3.984 kB / 0.615 GB, free: 2.844 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.962e-05/0.4378, allocations: 29.7 kB / 0.6151 GB, free: 2.809 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4378, allocations: 0 / 0.6151 GB, free: 2.809 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.834e-05/0.4379, allocations: 71.3 kB / 0.6151 GB, free: 2.727 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/0.4379, allocations: 29.7 kB / 0.6152 GB, free: 2.691 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.4379, allocations: 0 / 0.6152 GB, free: 2.691 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.438, allocations: 3.938 kB / 0.6152 GB, free: 2.688 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.234e-06/0.438, allocations: 8.078 kB / 0.6152 GB, free: 2.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.438, allocations: 4 kB / 0.6152 GB, free: 2.676 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.238e-05/0.438, allocations: 4 kB / 0.6152 GB, free: 2.672 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.438, allocations: 0 / 0.6152 GB, free: 2.672 MB / 426.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.407e-05/0.4381, allocations: 132.1 kB / 0.6153 GB, free: 2.527 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.4381, allocations: 7.953 kB / 0.6153 GB, free: 2.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.804e-05/0.4381, allocations: 6.719 kB / 0.6153 GB, free: 2.516 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.41e-07/0.4382, allocations: 0 / 0.6153 GB, free: 2.516 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4382, allocations: 0 / 0.6153 GB, free: 2.516 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4382, allocations: 4 kB / 0.6153 GB, free: 2.512 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.4383, allocations: 145.7 kB / 0.6155 GB, free: 2.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.4383, allocations: 4 kB / 0.6155 GB, free: 2.316 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.675e-06/0.4383, allocations: 0 / 0.6155 GB, free: 2.316 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.4383, allocations: 3.938 kB / 0.6155 GB, free: 2.312 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.4383, allocations: 3.953 kB / 0.6155 GB, free: 2.309 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.4383, allocations: 0 / 0.6155 GB, free: 2.309 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4383, allocations: 0 / 0.6155 GB, free: 2.309 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.4384, allocations: 98.77 kB / 0.6156 GB, free: 2.188 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.4385, allocations: 81.11 kB / 0.6157 GB, free: 2.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.4385, allocations: 0 / 0.6157 GB, free: 2.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.295e-05/0.4385, allocations: 7.953 kB / 0.6157 GB, free: 2.082 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.581e-05/0.4386, allocations: 0 / 0.6157 GB, free: 2.082 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.4386, allocations: 0 / 0.6157 GB, free: 2.082 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.022e-05/0.4386, allocations: 75.28 kB / 0.6157 GB, free: 2.008 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4386, allocations: 0 / 0.6157 GB, free: 2.008 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005226/0.4391, allocations: 143.9 kB / 0.6159 GB, free: 1.867 MB / 426.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.0009497/0.4401, allocations: 0.4997 MB / 0.6164 GB, free: 1.438 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.416e-05/0.4402, allocations: 55.41 kB / 0.6164 GB, free: 1.371 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4402, allocations: 0 / 0.6164 GB, free: 1.371 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.789e-05/0.4402, allocations: 67.41 kB / 0.6165 GB, free: 1.293 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.118e-05/0.4403, allocations: 1.688 kB / 0.6165 GB, free: 1.293 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001544/0.4405, allocations: 74.75 kB / 0.6166 GB, free: 1.191 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.4407, allocations: 0.6731 MB / 0.6172 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.866e-06/0.4407, allocations: 0 / 0.6172 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.359e-05/0.4407, allocations: 11.44 kB / 0.6172 GB, free: 492 kB / 426.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4407, allocations: 0 / 0.6172 GB, free: 492 kB / 426.7 MB Notification: Performance of Templates: time 0.005418/0.4462, allocations: 2.827 MB / 0.62 GB, free: 13.66 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestStrings/TestStrings.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches