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.001127/0.001127, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.00144/0.00144, allocations: 187 kB / 19.34 MB, free: 3.641 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.337/1.337, allocations: 222.9 MB / 243 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2157/0.2157, allocations: 44.18 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 63.67 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1135, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.002336/0.1159, allocations: 0.4899 MB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004169/0.1164, allocations: 107.7 kB / 471.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.59e-05/0.1164, allocations: 0 / 471.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.469e-05/0.1165, allocations: 0 / 471.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.1168, allocations: 19.91 kB / 471.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.673e-05/0.1168, allocations: 0 / 471.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.1169, allocations: 7.938 kB / 471.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.298e-05/0.117, allocations: 7.984 kB / 471.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.319e-05/0.1171, allocations: 0 / 471.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.28e-05/0.1172, allocations: 11.88 kB / 471.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.1172, allocations: 0 / 471.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.1173, allocations: 19.98 kB / 471.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.1173, allocations: 4 kB / 471.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.1174, allocations: 3.984 kB / 471.4 MB, free: 13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.1175, allocations: 23.91 kB / 471.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1175, allocations: 0 / 471.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1175, allocations: 0 / 471.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.353e-06/0.1175, allocations: 0 / 471.4 MB, free: 12.98 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.0004264/0.1179, allocations: 323.6 kB / 471.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.118, allocations: 12.03 kB / 471.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.118, allocations: 4.938 kB / 471.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.1182, allocations: 164.4 kB / 471.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.1182, allocations: 384 / 471.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.1183, allocations: 384 / 471.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.1184, allocations: 44.69 kB / 471.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1184, allocations: 192 / 471.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1184, allocations: 3.938 kB / 471.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1184, allocations: 0 / 471.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.781e-05/0.1185, allocations: 8 kB / 471.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002087/0.1187, allocations: 153.7 kB / 472.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.1189, allocations: 38.61 kB / 472.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.785e-05/0.119, allocations: 8.859 kB / 472.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004168/0.1194, allocations: 121.1 kB / 472.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.1194, allocations: 34.56 kB / 472.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.1195, allocations: 0 / 472.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001327/0.1208, allocations: 189.2 kB / 472.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.1208, allocations: 63.34 kB / 472.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.409e-05/0.1209, allocations: 93.86 kB / 472.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.121, allocations: 25.7 kB / 472.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.607e-05/0.121, allocations: 80.14 kB / 472.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.121, allocations: 19.8 kB / 472.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.1211, allocations: 13.72 kB / 472.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1212, allocations: 314.8 kB / 473.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.91e-05/0.1213, allocations: 20.11 kB / 473.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-05/0.1214, allocations: 23.97 kB / 473.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.1215, allocations: 40.83 kB / 473.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1215, allocations: 0 / 473.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001908/0.1217, allocations: 85.52 kB / 473.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1217, allocations: 7.938 kB / 473.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1217, allocations: 0 / 473.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1218, allocations: 7.984 kB / 473.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.1219, allocations: 19.92 kB / 473.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1219, allocations: 0 / 473.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.088e-05/0.122, allocations: 4 kB / 473.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.122, allocations: 0 / 473.3 MB, free: 10.85 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 7.964e-05/0.1221, allocations: 113.8 kB / 473.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.1221, allocations: 4.188 kB / 473.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003867/0.1225, allocations: 97.16 kB / 473.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.1225, allocations: 4 kB / 473.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1225, allocations: 0 / 473.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1225, allocations: 3.984 kB / 473.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007536/0.1233, allocations: 355.3 kB / 473.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.1233, allocations: 4 kB / 473.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.372e-05/0.1234, allocations: 11.98 kB / 473.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1234, allocations: 0 / 473.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.1234, allocations: 4 kB / 473.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.1235, allocations: 0 / 473.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1235, allocations: 0 / 473.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.1237, allocations: 184.3 kB / 474 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.908e-05/0.1238, allocations: 85.02 kB / 474.1 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.1238, allocations: 3.984 kB / 474.1 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.762e-05/0.1239, allocations: 7.938 kB / 474.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.124, allocations: 8 kB / 474.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.124, allocations: 3.984 kB / 474.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.178e-05/0.124, allocations: 79.28 kB / 474.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.124, allocations: 0 / 474.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.1243, allocations: 8 kB / 474.2 MB, free: 9.781 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.0001922/0.1245, allocations: 99.19 kB / 474.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002173/0.1247, allocations: 55.83 kB / 474.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.1247, allocations: 4 kB / 474.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.78e-05/0.1248, allocations: 24.14 kB / 474.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.125, allocations: 7.281 kB / 474.4 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004361/0.1255, allocations: 133.7 kB / 474.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.1258, allocations: 0.6768 MB / 475.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.247e-05/0.1258, allocations: 4 kB / 475.2 MB, free: 8.723 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.1259, allocations: 15.42 kB / 475.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1259, allocations: 3.938 kB / 475.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of Templates: time 0.003082/0.1289, allocations: 0.6507 MB / 475.9 MB, free: 8.055 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches