Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008712/0.0008712, allocations: 177.1 kB / 16.41 MB, free: 5.703 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.406/1.406, allocations: 205.4 MB / 222.6 MB, free: 9.098 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.0007065/0.0007061, allocations: 97.27 kB / 270.9 MB, free: 8.359 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.3492/0.3492, allocations: 43.56 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003725, allocations: 16 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1149, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0007071/0.1157, allocations: 272.3 kB / 490.5 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002644/0.116, allocations: 61.41 kB / 490.6 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.339e-05/0.116, allocations: 0 / 490.6 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.689e-05/0.116, allocations: 3.938 kB / 490.6 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002099/0.1163, allocations: 15.98 kB / 490.6 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.616e-05/0.1163, allocations: 4 kB / 490.6 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.183e-05/0.1163, allocations: 4 kB / 490.6 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.528e-05/0.1164, allocations: 0 / 490.6 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.716e-05/0.1164, allocations: 3.938 kB / 490.6 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.235e-05/0.1165, allocations: 7.984 kB / 490.6 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.1165, allocations: 0 / 490.6 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.613e-05/0.1166, allocations: 23.97 kB / 490.6 MB, free: 10.84 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.104e-06/0.1166, allocations: 7.938 kB / 490.6 MB, free: 10.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.394e-05/0.1166, allocations: 25.7 kB / 490.7 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 6.796e-05/0.1167, allocations: 11.92 kB / 490.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1167, allocations: 0 / 490.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1167, allocations: 4 kB / 490.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1167, allocations: 0 / 490.7 MB, free: 10.79 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002954/0.117, allocations: 319.3 kB / 491 MB, free: 10.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1171, allocations: 15.95 kB / 491 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.1171, allocations: 4 kB / 491 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.1172, allocations: 167 kB / 491.2 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.1173, allocations: 0 / 491.2 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.1173, allocations: 0 / 491.2 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.1174, allocations: 37.67 kB / 491.2 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1174, allocations: 8 kB / 491.2 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1174, allocations: 0 / 491.2 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1174, allocations: 0 / 491.2 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.727e-05/0.1175, allocations: 11.94 kB / 491.2 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001658/0.1177, allocations: 161.8 kB / 491.4 MB, free: 9.938 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.1178, allocations: 30.61 kB / 491.4 MB, free: 9.898 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.644e-05/0.1179, allocations: 12.86 kB / 491.4 MB, free: 9.883 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003887/0.1183, allocations: 129.1 kB / 491.5 MB, free: 9.738 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1183, allocations: 34.56 kB / 491.6 MB, free: 9.695 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.1183, allocations: 4 kB / 491.6 MB, free: 9.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001336/0.1197, allocations: 213.4 kB / 491.8 MB, free: 9.477 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.1197, allocations: 51.41 kB / 491.8 MB, free: 9.414 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.579e-05/0.1198, allocations: 89.95 kB / 491.9 MB, free: 9.316 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.1198, allocations: 29.73 kB / 492 MB, free: 9.281 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.771e-05/0.1198, allocations: 80.14 kB / 492 MB, free: 9.199 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.1199, allocations: 23.78 kB / 492.1 MB, free: 9.176 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/0.1199, allocations: 0 / 492.1 MB, free: 9.176 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.12, allocations: 314.8 kB / 492.4 MB, free: 8.859 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.458e-05/0.1201, allocations: 27.92 kB / 492.4 MB, free: 8.832 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.845e-05/0.1202, allocations: 27.98 kB / 492.4 MB, free: 8.805 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.204e-05/0.1203, allocations: 19.98 kB / 492.4 MB, free: 8.785 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1203, allocations: 3.938 kB / 492.4 MB, free: 8.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000199/0.1205, allocations: 85.66 kB / 492.5 MB, free: 8.691 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.1205, allocations: 8 kB / 492.5 MB, free: 8.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1205, allocations: 0 / 492.5 MB, free: 8.684 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1205, allocations: 0 / 492.5 MB, free: 8.684 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.1207, allocations: 15.98 kB / 492.6 MB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1207, allocations: 0 / 492.6 MB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.002e-05/0.1208, allocations: 11.98 kB / 492.6 MB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.1208, allocations: 4 kB / 492.6 MB, free: 8.652 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 8.315e-05/0.1209, allocations: 117.7 kB / 492.7 MB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.1209, allocations: 4 kB / 492.7 MB, free: 8.523 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.1212, allocations: 97.45 kB / 492.8 MB, free: 8.418 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1212, allocations: 4 kB / 492.8 MB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/0.1212, allocations: 0 / 492.8 MB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1212, allocations: 0 / 492.8 MB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007086/0.1219, allocations: 387.1 kB / 493.2 MB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1219, allocations: 0 / 493.2 MB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.122, allocations: 15.98 kB / 493.2 MB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1221, allocations: 0 / 493.2 MB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.1221, allocations: 0 / 493.2 MB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1221, allocations: 4 kB / 493.2 MB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1221, allocations: 0 / 493.2 MB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.1223, allocations: 192.3 kB / 493.4 MB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/0.1224, allocations: 77.44 kB / 493.4 MB, free: 7.656 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.1224, allocations: 4 kB / 493.4 MB, free: 7.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.1225, allocations: 11.98 kB / 493.5 MB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.1225, allocations: 0 / 493.5 MB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1225, allocations: 4 kB / 493.5 MB, free: 7.637 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.536e-05/0.1226, allocations: 79.23 kB / 493.5 MB, free: 7.559 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1226, allocations: 0 / 493.5 MB, free: 7.559 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002102/0.1228, allocations: 12 kB / 493.6 MB, free: 7.547 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0001386/0.123, allocations: 107.2 kB / 493.7 MB, free: 7.434 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.1232, allocations: 60 kB / 493.7 MB, free: 7.375 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1232, allocations: 0 / 493.7 MB, free: 7.375 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.348e-05/0.1233, allocations: 31.91 kB / 493.7 MB, free: 7.344 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.1235, allocations: 8.062 kB / 493.8 MB, free: 7.336 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.1239, allocations: 169.1 kB / 493.9 MB, free: 7.133 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.1242, allocations: 0.677 MB / 494.6 MB, free: 6.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.1242, allocations: 11.44 kB / 494.6 MB, free: 6.422 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.1242, allocations: 4 kB / 494.6 MB, free: 6.418 MB / 378.7 MB Notification: Performance of Templates: time 0.001963/0.1262, allocations: 0.6686 MB / 495.3 MB, free: 5.75 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches