Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 95.48 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.001139, allocations: 180.8 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.2 MB / 241.8 MB, free: 364 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1837/0.1837, allocations: 44.22 MB / 337.1 MB, free: 2.879 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003111/0.0003111, allocations: 8.656 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1108, allocations: 61.91 MB / 471.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0006019/0.1114, allocations: 218.9 kB / 471.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002612/0.1117, allocations: 99.7 kB / 471.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.321e-05/0.1117, allocations: 0 / 471.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.147e-06/0.1118, allocations: 0 / 471.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001922/0.112, allocations: 11.98 kB / 471.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.629e-05/0.112, allocations: 3.984 kB / 471.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.508e-05/0.112, allocations: 3.938 kB / 471.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.713e-05/0.1121, allocations: 4 kB / 471.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.656e-05/0.1121, allocations: 4 kB / 471.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.1e-05/0.1122, allocations: 0 / 471.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.1122, allocations: 4 kB / 471.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.309e-05/0.1122, allocations: 19.97 kB / 471.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.078e-06/0.1123, allocations: 3.984 kB / 471.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.1123, allocations: 25.7 kB / 471.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.042e-05/0.1124, allocations: 15.98 kB / 471.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.1124, allocations: 0 / 471.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.911e-06/0.1124, allocations: 0 / 471.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1124, allocations: 3.938 kB / 471.9 MB, free: 13.33 MB / 350.1 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.0003333/0.1127, allocations: 319.4 kB / 472.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.1128, allocations: 8.562 kB / 472.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.895e-05/0.1128, allocations: 7.984 kB / 472.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.1129, allocations: 159.1 kB / 472.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.1129, allocations: 4 kB / 472.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.113, allocations: 0 / 472.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.404e-05/0.1131, allocations: 41.64 kB / 472.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1131, allocations: 0 / 472.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.1131, allocations: 0 / 472.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.1131, allocations: 3.984 kB / 472.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.282e-05/0.1132, allocations: 8 kB / 472.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/0.1133, allocations: 154 kB / 472.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.1135, allocations: 38.52 kB / 472.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003649/0.1139, allocations: 133.1 kB / 472.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.1139, allocations: 30.56 kB / 472.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1139, allocations: 0 / 472.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001303/0.1152, allocations: 225.2 kB / 473 MB, free: 12.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.1153, allocations: 51.41 kB / 473 MB, free: 11.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.303e-05/0.1153, allocations: 93.84 kB / 473.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.1154, allocations: 33.7 kB / 473.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.785e-05/0.1154, allocations: 80.14 kB / 473.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.1154, allocations: 7.812 kB / 473.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.1154, allocations: 128 / 473.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1156, allocations: 322.8 kB / 473.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.083e-05/0.1157, allocations: 19.97 kB / 473.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.216e-05/0.1158, allocations: 23.98 kB / 473.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.183e-05/0.1159, allocations: 31.92 kB / 473.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1159, allocations: 0 / 473.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001954/0.1161, allocations: 77.67 kB / 473.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1161, allocations: 11.94 kB / 473.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1161, allocations: 3.984 kB / 473.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.1161, allocations: 0 / 473.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.1162, allocations: 23.98 kB / 473.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1163, allocations: 0 / 473.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.442e-05/0.1163, allocations: 11.94 kB / 473.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.1164, allocations: 0 / 473.7 MB, free: 11.21 MB / 350.1 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.249e-05/0.1165, allocations: 113.8 kB / 473.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.1165, allocations: 3.906 kB / 473.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.1167, allocations: 101.4 kB / 474 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.1167, allocations: 3.984 kB / 474 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.1168, allocations: 0 / 474 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.1168, allocations: 8 kB / 474 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007596/0.1175, allocations: 371.3 kB / 474.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1175, allocations: 3.953 kB / 474.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.463e-05/0.1176, allocations: 20.02 kB / 474.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.1177, allocations: 0 / 474.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.1177, allocations: 4 kB / 474.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1177, allocations: 0 / 474.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1177, allocations: 0 / 474.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.1179, allocations: 206 kB / 474.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.118, allocations: 85 kB / 474.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.118, allocations: 4 kB / 474.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.1181, allocations: 8 kB / 474.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/0.1182, allocations: 7.984 kB / 474.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.1182, allocations: 4 kB / 474.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.753e-05/0.1182, allocations: 79.22 kB / 474.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1182, allocations: 4 kB / 474.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002212/0.1184, allocations: 4 kB / 474.7 MB, free: 10.09 MB / 350.1 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.0001492/0.1186, allocations: 106.8 kB / 474.9 MB, free: 9.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002182/0.1188, allocations: 63.98 kB / 474.9 MB, free: 9.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1188, allocations: 0 / 474.9 MB, free: 9.914 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.306e-05/0.1189, allocations: 27.98 kB / 474.9 MB, free: 9.887 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.1191, allocations: 11.89 kB / 475 MB, free: 9.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004092/0.1195, allocations: 151.9 kB / 475.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.1197, allocations: 0.6809 MB / 475.8 MB, free: 8.988 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.675e-05/0.1198, allocations: 8 kB / 475.8 MB, free: 8.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.1198, allocations: 7.438 kB / 475.8 MB, free: 8.973 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1198, allocations: 0 / 475.8 MB, free: 8.973 MB / 350.1 MB Notification: Performance of Templates: time 0.002549/0.1224, allocations: 0.611 MB / 476.4 MB, free: 8.363 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches