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.001036/0.001036, allocations: 111.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.001129, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2062/0.2062, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 79.88 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2914, allocations: 62.44 MB / 0.5316 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.00158/0.293, allocations: 0.4987 MB / 0.5321 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003052/0.2933, allocations: 104.9 kB / 0.5322 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.434e-05/0.2934, allocations: 0 / 0.5322 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.512e-05/0.2934, allocations: 0 / 0.5322 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.2936, allocations: 17.3 kB / 0.5322 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.879e-05/0.2936, allocations: 9.094 kB / 0.5323 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.295e-05/0.2937, allocations: 6.25 kB / 0.5323 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.333e-05/0.2937, allocations: 1.219 kB / 0.5323 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.395e-05/0.2937, allocations: 2.312 kB / 0.5323 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.281e-05/0.2938, allocations: 13.22 kB / 0.5323 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.2938, allocations: 0 / 0.5323 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.661e-05/0.2939, allocations: 19.11 kB / 0.5323 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.165e-06/0.2939, allocations: 0 / 0.5323 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.404e-05/0.2939, allocations: 1 kB / 0.5323 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.676e-05/0.294, allocations: 23.31 kB / 0.5323 GB, free: 13.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.294, allocations: 4 kB / 0.5323 GB, free: 13.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.061e-06/0.294, allocations: 0 / 0.5323 GB, free: 13.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.294, allocations: 1.656 kB / 0.5323 GB, free: 13.09 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.0002665/0.2943, allocations: 315.9 kB / 0.5326 GB, free: 12.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.2944, allocations: 13.11 kB / 0.5326 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.2944, allocations: 2.531 kB / 0.5326 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.2945, allocations: 164.3 kB / 0.5328 GB, free: 12.53 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.2945, allocations: 1.875 kB / 0.5328 GB, free: 12.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.2945, allocations: 1.781 kB / 0.5328 GB, free: 12.53 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.067e-05/0.2946, allocations: 46.05 kB / 0.5328 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2946, allocations: 192 / 0.5328 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.2947, allocations: 3.938 kB / 0.5328 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2947, allocations: 1.375 kB / 0.5328 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.82e-05/0.2947, allocations: 3.938 kB / 0.5329 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000144/0.2948, allocations: 152.6 kB / 0.533 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.295, allocations: 41.7 kB / 0.533 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.408e-05/0.295, allocations: 12.52 kB / 0.533 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003375/0.2954, allocations: 114.8 kB / 0.5332 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.2954, allocations: 34.55 kB / 0.5332 GB, free: 12.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.2954, allocations: 0 / 0.5332 GB, free: 12.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001277/0.2967, allocations: 193 kB / 0.5334 GB, free: 11.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.2967, allocations: 52.53 kB / 0.5334 GB, free: 11.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.856e-05/0.2968, allocations: 91.14 kB / 0.5335 GB, free: 11.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.2968, allocations: 33.64 kB / 0.5335 GB, free: 11.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.45e-05/0.2969, allocations: 84.27 kB / 0.5336 GB, free: 11.69 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.2969, allocations: 10.34 kB / 0.5336 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.2969, allocations: 22.61 kB / 0.5337 GB, free: 11.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.247e-05/0.297, allocations: 310.8 kB / 0.534 GB, free: 11.35 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.212e-05/0.2971, allocations: 19.33 kB / 0.534 GB, free: 11.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.71e-05/0.2972, allocations: 24.28 kB / 0.534 GB, free: 11.33 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.2973, allocations: 51.95 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.2974, allocations: 0 / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001889/0.2976, allocations: 82.58 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.2976, allocations: 9.438 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.2976, allocations: 0 / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2976, allocations: 1.375 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.2977, allocations: 13.61 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.2977, allocations: 1.375 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.322e-05/0.2978, allocations: 6.734 kB / 0.5342 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.2979, allocations: 9.375 kB / 0.5342 GB, free: 11.22 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 7.263e-05/0.2979, allocations: 108.6 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.298, allocations: 5.312 kB / 0.5343 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.2982, allocations: 90.02 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.2982, allocations: 0 / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2982, allocations: 4 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.97e-05/0.2983, allocations: 82.47 kB / 0.5344 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.2983, allocations: 1.375 kB / 0.5344 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.451e-05/0.2984, allocations: 6.75 kB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.2984, allocations: 6.734 kB / 0.5345 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002887/0.2987, allocations: 156.5 kB / 0.5346 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000241/0.299, allocations: 251.6 kB / 0.5348 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.842e-05/0.2991, allocations: 25.72 kB / 0.5349 GB, free: 10.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.801e-05/0.2991, allocations: 80.66 kB / 0.5349 GB, free: 10.48 MB / 398.1 MB Notification: Performance of Backend: time 4.21e-07/0.2991, allocations: 0 / 0.5349 GB, free: 10.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004139/0.2995, allocations: 110.4 kB / 0.5351 GB, free: 10.39 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003319/0.2999, allocations: 0.5449 MB / 0.5356 GB, free: 9.809 MB / 398.1 MB Notification: Performance of Templates: time 0.002676/0.3025, allocations: 0.7741 MB / 0.5363 GB, free: 9.395 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