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.001072/0.001072, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001191, allocations: 206.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2106/0.2106, allocations: 46.09 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 76.16 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.307, allocations: 62.44 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001557/0.3086, allocations: 0.4921 MB / 0.5321 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002429/0.3088, allocations: 105.8 kB / 0.5322 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.683e-05/0.3089, allocations: 0 / 0.5322 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.18e-05/0.3089, allocations: 0 / 0.5322 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.309, allocations: 14.36 kB / 0.5322 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.312e-05/0.3091, allocations: 0 / 0.5322 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 2.719e-05/0.3091, allocations: 11.69 kB / 0.5323 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.45e-05/0.3091, allocations: 0 / 0.5323 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.156e-06/0.3091, allocations: 1.781 kB / 0.5323 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.836e-05/0.3092, allocations: 11.89 kB / 0.5323 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.462e-06/0.3092, allocations: 4 kB / 0.5323 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.47e-05/0.3093, allocations: 18.8 kB / 0.5323 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.995e-06/0.3093, allocations: 3.984 kB / 0.5323 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.066e-05/0.3093, allocations: 7.938 kB / 0.5323 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 5.611e-05/0.3093, allocations: 18.94 kB / 0.5323 GB, free: 13.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.3094, allocations: 0 / 0.5323 GB, free: 13.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.3094, allocations: 0 / 0.5323 GB, free: 13.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.705e-06/0.3094, allocations: 0 / 0.5323 GB, free: 13.1 MB / 398.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.0002086/0.3096, allocations: 323.2 kB / 0.5326 GB, free: 12.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.316e-05/0.3096, allocations: 11.56 kB / 0.5326 GB, free: 12.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.956e-05/0.3096, allocations: 11.8 kB / 0.5326 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.939e-05/0.3097, allocations: 160.4 kB / 0.5328 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.088e-06/0.3097, allocations: 384 / 0.5328 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.3098, allocations: 4.188 kB / 0.5328 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.693e-05/0.3098, allocations: 40.03 kB / 0.5328 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.3098, allocations: 192 / 0.5328 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.541e-06/0.3098, allocations: 3.938 kB / 0.5328 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-06/0.3098, allocations: 1.344 kB / 0.5329 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.204e-05/0.3099, allocations: 5.344 kB / 0.5329 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001157/0.31, allocations: 157.3 kB / 0.533 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.3101, allocations: 34.64 kB / 0.533 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.241e-05/0.3101, allocations: 13.19 kB / 0.5331 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002918/0.3104, allocations: 110 kB / 0.5332 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.3105, allocations: 39.41 kB / 0.5332 GB, free: 12.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 2.254e-06/0.3105, allocations: 3.984 kB / 0.5332 GB, free: 12.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001167/0.3117, allocations: 188.8 kB / 0.5334 GB, free: 11.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.3117, allocations: 56.41 kB / 0.5334 GB, free: 11.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.034e-05/0.3118, allocations: 95.11 kB / 0.5335 GB, free: 11.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.3118, allocations: 30.95 kB / 0.5336 GB, free: 11.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.35e-05/0.3118, allocations: 80.14 kB / 0.5336 GB, free: 11.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.3118, allocations: 14.45 kB / 0.5336 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.3119, allocations: 21.45 kB / 0.5337 GB, free: 11.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.431e-05/0.312, allocations: 312.1 kB / 0.534 GB, free: 11.35 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.278e-05/0.3121, allocations: 22.3 kB / 0.534 GB, free: 11.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.911e-05/0.3122, allocations: 20.14 kB / 0.534 GB, free: 11.33 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.3123, allocations: 43.86 kB / 0.534 GB, free: 11.31 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3123, allocations: 0 / 0.534 GB, free: 11.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001944/0.3125, allocations: 78.47 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3125, allocations: 9.562 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3126, allocations: 0 / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3126, allocations: 4.938 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.3127, allocations: 14.42 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.3127, allocations: 1.156 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.648e-05/0.3128, allocations: 11.48 kB / 0.5342 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3128, allocations: 1.5 kB / 0.5342 GB, free: 11.23 MB / 398.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 8.634e-05/0.3129, allocations: 110.9 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.3129, allocations: 10.27 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.3132, allocations: 97.39 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3132, allocations: 1.531 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3132, allocations: 0 / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.764e-05/0.3132, allocations: 77.11 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.3133, allocations: 9.391 kB / 0.5345 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.512e-05/0.3133, allocations: 3.281 kB / 0.5345 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/0.3134, allocations: 3.375 kB / 0.5345 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002799/0.3137, allocations: 164.7 kB / 0.5346 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002429/0.3139, allocations: 251.2 kB / 0.5349 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.93e-05/0.314, allocations: 25.56 kB / 0.5349 GB, free: 10.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.681e-05/0.314, allocations: 80.69 kB / 0.535 GB, free: 10.48 MB / 398.1 MB Notification: Performance of Backend: time 3.9e-07/0.314, allocations: 0 / 0.535 GB, free: 10.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004039/0.3145, allocations: 109 kB / 0.5351 GB, free: 10.39 MB / 398.1 MB Notification: Performance of SimCode: time 0.000311/0.3148, allocations: 0.544 MB / 0.5356 GB, free: 9.812 MB / 398.1 MB Notification: Performance of Templates: time 0.002682/0.3175, allocations: 0.7493 MB / 0.5363 GB, free: 9.418 MB / 398.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