Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002051/0.002051, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002246/0.002246, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2191/0.2191, allocations: 46.11 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 78.05 kB / 417.7 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1185, allocations: 62.46 MB / 480.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.002074/0.1206, allocations: 499.6 kB / 480.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003673/0.121, allocations: 110.3 kB / 480.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.171e-05/0.1211, allocations: 0 / 480.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.226e-05/0.1211, allocations: 0 / 480.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002645/0.1213, allocations: 19.92 kB / 480.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.867e-05/0.1214, allocations: 4 kB / 480.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.375e-05/0.1214, allocations: 7.938 kB / 480.7 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.753e-05/0.1215, allocations: 4 kB / 480.7 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.862e-05/0.1215, allocations: 0 / 480.7 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.679e-05/0.1216, allocations: 11.91 kB / 480.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.1216, allocations: 0 / 480.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.633e-05/0.1217, allocations: 23.98 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.1218, allocations: 0 / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.146e-05/0.1218, allocations: 4 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.1219, allocations: 19.91 kB / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1219, allocations: 0 / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1219, allocations: 4 kB / 480.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.1219, allocations: 0 / 480.8 MB, free: 4.527 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.0003975/0.1223, allocations: 315.6 kB / 481.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.1224, allocations: 12.02 kB / 481.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.1224, allocations: 0.9375 kB / 481.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.1226, allocations: 168.3 kB / 481.3 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.1226, allocations: 384 / 481.3 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.1226, allocations: 4.375 kB / 481.3 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.1228, allocations: 38.19 kB / 481.3 MB, free: 3.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.1228, allocations: 4.188 kB / 481.3 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.1228, allocations: 3.938 kB / 481.3 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.1228, allocations: 0 / 481.3 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.553e-05/0.1229, allocations: 8 kB / 481.3 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/0.123, allocations: 150 kB / 481.5 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.1232, allocations: 34.67 kB / 481.5 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.17e-05/0.1233, allocations: 16.84 kB / 481.5 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003686/0.1236, allocations: 121 kB / 481.7 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.1237, allocations: 38.48 kB / 481.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1237, allocations: 0 / 481.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001272/0.125, allocations: 193.2 kB / 481.9 MB, free: 3.254 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.125, allocations: 55.41 kB / 481.9 MB, free: 3.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.382e-05/0.1251, allocations: 89.86 kB / 482 MB, free: 3.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.1251, allocations: 25.7 kB / 482.1 MB, free: 3.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/0.1252, allocations: 80.14 kB / 482.1 MB, free: 2.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.1252, allocations: 15.81 kB / 482.2 MB, free: 2.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.1253, allocations: 25.83 kB / 482.2 MB, free: 2.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1254, allocations: 310.8 kB / 482.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.572e-05/0.1255, allocations: 23.92 kB / 482.5 MB, free: 2.594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.293e-05/0.1256, allocations: 19.97 kB / 482.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.1258, allocations: 44.83 kB / 482.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1258, allocations: 0 / 482.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002141/0.126, allocations: 85.52 kB / 482.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.126, allocations: 10.28 kB / 482.7 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.126, allocations: 0 / 482.7 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.1261, allocations: 0 / 482.7 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.1262, allocations: 15.98 kB / 482.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1262, allocations: 0 / 482.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.55e-05/0.1263, allocations: 8.234 kB / 482.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.1263, allocations: 0 / 482.7 MB, free: 2.406 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.1264, allocations: 117.8 kB / 482.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.1265, allocations: 7.938 kB / 482.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/0.1267, allocations: 89.14 kB / 482.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.1268, allocations: 4 kB / 482.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.1268, allocations: 0 / 482.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1268, allocations: 4 kB / 482.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007166/0.1275, allocations: 351.3 kB / 483.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1275, allocations: 4 kB / 483.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.986e-05/0.1276, allocations: 15.92 kB / 483.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1276, allocations: 0 / 483.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1276, allocations: 4 kB / 483.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1276, allocations: 4.031 kB / 483.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1277, allocations: 0 / 483.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.1279, allocations: 176.3 kB / 483.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.078e-05/0.128, allocations: 88.95 kB / 483.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.128, allocations: 0 / 483.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1281, allocations: 15.98 kB / 483.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/0.1281, allocations: 4 kB / 483.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1281, allocations: 3.984 kB / 483.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.436e-05/0.1282, allocations: 75.28 kB / 483.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1282, allocations: 0 / 483.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002219/0.1284, allocations: 8 kB / 483.6 MB, free: 1.344 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001508/0.1286, allocations: 111.1 kB / 483.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002265/0.1288, allocations: 55.92 kB / 483.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1288, allocations: 0 / 483.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.451e-05/0.1289, allocations: 23.98 kB / 483.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.1291, allocations: 4 kB / 483.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/0.1295, allocations: 129.8 kB / 484 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.1298, allocations: 0.6768 MB / 484.6 MB, free: 288 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.963e-05/0.1299, allocations: 4.25 kB / 484.6 MB, free: 284 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.1299, allocations: 23.36 kB / 484.7 MB, free: 260 kB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1299, allocations: 0 / 484.7 MB, free: 260 kB / 350.1 MB Notification: Performance of Templates: time 0.003024/0.133, allocations: 0.6571 MB / 485.3 MB, free: 15.6 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches