Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008394/0.0008395, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.165/1.165, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006916/0.0006916, allocations: 97.3 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2733/0.2733, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003142, allocations: 16 kB / 432 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08573/0.08606, allocations: 58.86 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0005381/0.08663, allocations: 268.4 kB / 491.1 MB, free: 10.63 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001874/0.08683, allocations: 61.34 kB / 491.1 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.807e-05/0.08686, allocations: 0 / 491.1 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.004e-05/0.08688, allocations: 4 kB / 491.2 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.08707, allocations: 7.938 kB / 491.2 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.694e-05/0.08709, allocations: 11.97 kB / 491.2 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.481e-05/0.08713, allocations: 0 / 491.2 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.533e-05/0.08718, allocations: 4 kB / 491.2 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.622e-05/0.08721, allocations: 8 kB / 491.2 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.651e-05/0.08725, allocations: 3.938 kB / 491.2 MB, free: 10.53 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.08727, allocations: 0 / 491.2 MB, free: 10.53 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.06e-05/0.08733, allocations: 27.91 kB / 491.2 MB, free: 10.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.803e-06/0.08735, allocations: 0 / 491.2 MB, free: 10.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.092e-05/0.08737, allocations: 25.7 kB / 491.2 MB, free: 10.47 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 5.533e-05/0.08744, allocations: 15.97 kB / 491.3 MB, free: 10.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.08745, allocations: 3.938 kB / 491.3 MB, free: 10.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.08745, allocations: 0 / 491.3 MB, free: 10.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.357e-06/0.08746, allocations: 0 / 491.3 MB, free: 10.45 MB / 378.7 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.0002265/0.08769, allocations: 327.5 kB / 491.6 MB, free: 10.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.08773, allocations: 11.97 kB / 491.6 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.138e-05/0.08776, allocations: 0.9375 kB / 491.6 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.562e-05/0.08786, allocations: 164.4 kB / 491.8 MB, free: 9.871 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.08788, allocations: 384 / 491.8 MB, free: 9.871 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.0879, allocations: 384 / 491.8 MB, free: 9.871 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.438e-05/0.08798, allocations: 38.25 kB / 491.8 MB, free: 9.828 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.08799, allocations: 192 / 491.8 MB, free: 9.828 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-06/0.08801, allocations: 3.938 kB / 491.8 MB, free: 9.824 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.08801, allocations: 0 / 491.8 MB, free: 9.824 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.913e-05/0.08805, allocations: 12 kB / 491.8 MB, free: 9.812 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/0.08819, allocations: 157.8 kB / 492 MB, free: 9.609 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.08835, allocations: 38.61 kB / 492 MB, free: 9.562 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.276e-05/0.08838, allocations: 8.859 kB / 492 MB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003237/0.08871, allocations: 125.2 kB / 492.1 MB, free: 9.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.08874, allocations: 34.55 kB / 492.2 MB, free: 9.367 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.08875, allocations: 0 / 492.2 MB, free: 9.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001122/0.08987, allocations: 221.3 kB / 492.4 MB, free: 9.145 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.08991, allocations: 51.41 kB / 492.4 MB, free: 9.082 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.097e-05/0.08997, allocations: 93.86 kB / 492.5 MB, free: 8.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.08999, allocations: 29.7 kB / 492.5 MB, free: 8.945 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.98e-05/0.09002, allocations: 80.14 kB / 492.6 MB, free: 8.863 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.09004, allocations: 15.94 kB / 492.6 MB, free: 8.848 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.09006, allocations: 0 / 492.6 MB, free: 8.848 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.321e-05/0.09014, allocations: 318.8 kB / 493 MB, free: 8.527 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.694e-05/0.09023, allocations: 19.98 kB / 493 MB, free: 8.508 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.657e-05/0.0903, allocations: 23.92 kB / 493 MB, free: 8.484 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.09045, allocations: 60.77 kB / 493.1 MB, free: 8.422 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.09046, allocations: 0 / 493.1 MB, free: 8.422 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000182/0.09064, allocations: 85.66 kB / 493.1 MB, free: 8.332 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.09067, allocations: 11.94 kB / 493.2 MB, free: 8.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.09068, allocations: 0 / 493.2 MB, free: 8.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/0.09069, allocations: 4 kB / 493.2 MB, free: 8.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.09081, allocations: 15.98 kB / 493.2 MB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.09083, allocations: 0 / 493.2 MB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.169e-05/0.09091, allocations: 12.2 kB / 493.2 MB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.09093, allocations: 4 kB / 493.2 MB, free: 8.285 MB / 378.7 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 7.187e-05/0.09101, allocations: 117.8 kB / 493.3 MB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.09102, allocations: 4.188 kB / 493.3 MB, free: 8.156 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.09127, allocations: 101.2 kB / 493.4 MB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.09129, allocations: 8 kB / 493.4 MB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.09129, allocations: 0 / 493.4 MB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.0913, allocations: 0 / 493.4 MB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006218/0.09193, allocations: 375.1 kB / 493.8 MB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.09194, allocations: 3.984 kB / 493.8 MB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.611e-05/0.09204, allocations: 15.98 kB / 493.8 MB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.09206, allocations: 4 kB / 493.8 MB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.09207, allocations: 0 / 493.8 MB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.09208, allocations: 3.938 kB / 493.8 MB, free: 7.586 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.09208, allocations: 0 / 493.8 MB, free: 7.586 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.0923, allocations: 188.3 kB / 494 MB, free: 7.383 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.954e-05/0.09234, allocations: 81.11 kB / 494.1 MB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.09236, allocations: 0 / 494.1 MB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.09246, allocations: 19.98 kB / 494.1 MB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.18e-05/0.09248, allocations: 0 / 494.1 MB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.09249, allocations: 4 kB / 494.1 MB, free: 7.262 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.428e-05/0.09252, allocations: 75.28 kB / 494.2 MB, free: 7.188 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09252, allocations: 0 / 494.2 MB, free: 7.188 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002036/0.09273, allocations: 8 kB / 494.2 MB, free: 7.18 MB / 378.7 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.0001106/0.09285, allocations: 115.1 kB / 494.3 MB, free: 7.059 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.09305, allocations: 60 kB / 494.3 MB, free: 7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.09306, allocations: 3.938 kB / 494.3 MB, free: 6.996 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.639e-05/0.09314, allocations: 31.91 kB / 494.4 MB, free: 6.965 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.09334, allocations: 7.797 kB / 494.4 MB, free: 6.961 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003637/0.09371, allocations: 173.2 kB / 494.6 MB, free: 6.754 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/0.0939, allocations: 0.677 MB / 495.2 MB, free: 6.051 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.09394, allocations: 11.44 kB / 495.2 MB, free: 6.043 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.09395, allocations: 4 kB / 495.2 MB, free: 6.039 MB / 378.7 MB Notification: Performance of Templates: time 0.001617/0.09557, allocations: 0.6608 MB / 495.9 MB, free: 5.379 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches