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.001564/0.001564, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001386/0.001386, allocations: 208 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 247.5 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2288/0.2288, allocations: 46.11 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 80.62 kB / 418.3 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1141, allocations: 62.46 MB / 480.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001823/0.116, allocations: 0.4947 MB / 481.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003283/0.1164, allocations: 102.3 kB / 481.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.798e-05/0.1164, allocations: 0 / 481.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.565e-05/0.1164, allocations: 0 / 481.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.1166, allocations: 23.92 kB / 481.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.17e-05/0.1167, allocations: 7.922 kB / 481.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.525e-05/0.1167, allocations: 8 kB / 481.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.315e-05/0.1168, allocations: 0 / 481.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.659e-05/0.1168, allocations: 0 / 481.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.446e-05/0.1169, allocations: 7.938 kB / 481.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.1169, allocations: 0 / 481.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.922e-05/0.117, allocations: 23.97 kB / 481.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.158e-05/0.117, allocations: 7.984 kB / 481.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.655e-05/0.117, allocations: 0 / 481.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.575e-05/0.1171, allocations: 19.92 kB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1171, allocations: 0 / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1171, allocations: 0 / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1171, allocations: 4 kB / 481.5 MB, free: 4.516 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.0003826/0.1175, allocations: 315.6 kB / 481.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1176, allocations: 8.031 kB / 481.8 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.357e-05/0.1176, allocations: 4.938 kB / 481.8 MB, free: 4.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.1177, allocations: 168.3 kB / 481.9 MB, free: 3.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.1178, allocations: 4.375 kB / 481.9 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.1178, allocations: 4.359 kB / 481.9 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.538e-05/0.1179, allocations: 30.27 kB / 482 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1179, allocations: 8.188 kB / 482 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1179, allocations: 3.938 kB / 482 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1179, allocations: 0 / 482 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.143e-05/0.118, allocations: 11.98 kB / 482 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001818/0.1182, allocations: 146 kB / 482.1 MB, free: 3.684 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.1184, allocations: 38.55 kB / 482.2 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.222e-05/0.1184, allocations: 12.86 kB / 482.2 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003787/0.1188, allocations: 121.1 kB / 482.3 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.1188, allocations: 30.56 kB / 482.3 MB, free: 3.445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.1189, allocations: 0 / 482.3 MB, free: 3.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001287/0.1201, allocations: 193.2 kB / 482.5 MB, free: 3.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.1202, allocations: 51.41 kB / 482.6 MB, free: 3.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.324e-05/0.1203, allocations: 93.84 kB / 482.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.1203, allocations: 25.7 kB / 482.7 MB, free: 3.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.1204, allocations: 80.14 kB / 482.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.1204, allocations: 19.8 kB / 482.8 MB, free: 2.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.1205, allocations: 21.84 kB / 482.8 MB, free: 2.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1206, allocations: 314.8 kB / 483.1 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.055e-05/0.1207, allocations: 19.98 kB / 483.1 MB, free: 2.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.348e-05/0.1208, allocations: 15.98 kB / 483.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.121, allocations: 56.7 kB / 483.2 MB, free: 2.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.121, allocations: 0 / 483.2 MB, free: 2.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002057/0.1212, allocations: 81.56 kB / 483.3 MB, free: 2.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1212, allocations: 7.938 kB / 483.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1212, allocations: 0 / 483.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1212, allocations: 4 kB / 483.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.1214, allocations: 12.23 kB / 483.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1214, allocations: 0 / 483.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.9e-05/0.1215, allocations: 11.98 kB / 483.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.1215, allocations: 4 kB / 483.3 MB, free: 2.391 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 9.381e-05/0.1216, allocations: 113.8 kB / 483.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.1216, allocations: 3.938 kB / 483.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002634/0.1219, allocations: 93.14 kB / 483.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1219, allocations: 0 / 483.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1219, allocations: 0 / 483.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.1219, allocations: 0 / 483.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007503/0.1227, allocations: 355.6 kB / 483.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1227, allocations: 0 / 483.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.405e-05/0.1228, allocations: 15.97 kB / 483.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1228, allocations: 7.984 kB / 483.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.1228, allocations: 7.984 kB / 483.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1228, allocations: 4.031 kB / 483.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1228, allocations: 0 / 483.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.1231, allocations: 180.2 kB / 484.1 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/0.1232, allocations: 81.02 kB / 484.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.1232, allocations: 0 / 484.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.1233, allocations: 15.98 kB / 484.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.582e-05/0.1233, allocations: 4 kB / 484.2 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.1233, allocations: 0 / 484.2 MB, free: 1.418 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.025e-05/0.1234, allocations: 79.28 kB / 484.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1234, allocations: 0 / 484.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.1236, allocations: 8 kB / 484.3 MB, free: 1.332 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.000166/0.1238, allocations: 111.2 kB / 484.4 MB, free: 1.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002422/0.1241, allocations: 51.94 kB / 484.4 MB, free: 1.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1241, allocations: 3.938 kB / 484.4 MB, free: 1.156 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.44e-05/0.1242, allocations: 27.97 kB / 484.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.1244, allocations: 2.5 kB / 484.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004599/0.1248, allocations: 159.5 kB / 484.6 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.1252, allocations: 0.6807 MB / 485.3 MB, free: 236 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.1252, allocations: 11.44 kB / 485.3 MB, free: 224 kB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1252, allocations: 0 / 485.3 MB, free: 224 kB / 350.1 MB Notification: Performance of Templates: time 0.002399/0.1277, allocations: 0.6684 MB / 486 MB, free: 15.55 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/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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches