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.001112/0.001112, allocations: 114.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001203/0.001203, allocations: 201.2 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 246.9 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.2053/0.2053, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 71.89 kB / 481.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3135, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001367/0.3149, allocations: 0.4959 MB / 0.5315 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000334/0.3152, allocations: 105.7 kB / 0.5316 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.69e-05/0.3153, allocations: 0 / 0.5316 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.3153, allocations: 0 / 0.5316 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.3155, allocations: 17.08 kB / 0.5316 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.707e-05/0.3156, allocations: 1.281 kB / 0.5316 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.915e-05/0.3156, allocations: 6.547 kB / 0.5316 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.3157, allocations: 1.125 kB / 0.5316 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.541e-05/0.3157, allocations: 1.062 kB / 0.5316 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.569e-05/0.3157, allocations: 10.25 kB / 0.5316 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.3157, allocations: 0 / 0.5316 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.68e-05/0.3158, allocations: 30.84 kB / 0.5316 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.225e-06/0.3158, allocations: 0 / 0.5316 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.335e-05/0.3159, allocations: 1.156 kB / 0.5316 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.086e-05/0.3159, allocations: 23.03 kB / 0.5316 GB, free: 13.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.316, allocations: 0 / 0.5316 GB, free: 13.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.316, allocations: 1.25 kB / 0.5316 GB, free: 13.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.316, allocations: 0 / 0.5316 GB, free: 13.11 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.0002989/0.3163, allocations: 319.8 kB / 0.532 GB, free: 12.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.3163, allocations: 10.09 kB / 0.532 GB, free: 12.76 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.3164, allocations: 4.938 kB / 0.532 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.3165, allocations: 170.5 kB / 0.5321 GB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.527e-06/0.3165, allocations: 1.562 kB / 0.5321 GB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.3165, allocations: 1.75 kB / 0.5321 GB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.773e-05/0.3166, allocations: 34.86 kB / 0.5322 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.3166, allocations: 192 / 0.5322 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.3166, allocations: 3.938 kB / 0.5322 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3166, allocations: 1.406 kB / 0.5322 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.994e-05/0.3167, allocations: 16.23 kB / 0.5322 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001396/0.3168, allocations: 156.6 kB / 0.5323 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.317, allocations: 28.73 kB / 0.5324 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.782e-05/0.317, allocations: 18.41 kB / 0.5324 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003381/0.3174, allocations: 108.3 kB / 0.5325 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.3174, allocations: 36.5 kB / 0.5325 GB, free: 12.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3174, allocations: 0 / 0.5325 GB, free: 12.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001182/0.3186, allocations: 187.8 kB / 0.5327 GB, free: 12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.3186, allocations: 56.58 kB / 0.5328 GB, free: 11.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.008e-05/0.3187, allocations: 95.52 kB / 0.5328 GB, free: 11.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.3187, allocations: 29.64 kB / 0.5329 GB, free: 11.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.72e-05/0.3187, allocations: 85.7 kB / 0.533 GB, free: 11.71 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.3188, allocations: 13.19 kB / 0.533 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/0.3188, allocations: 21.33 kB / 0.533 GB, free: 11.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.093e-05/0.3189, allocations: 312 kB / 0.5333 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.082e-05/0.319, allocations: 18.77 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.282e-05/0.3191, allocations: 24.3 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.3192, allocations: 48.2 kB / 0.5334 GB, free: 11.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3192, allocations: 0 / 0.5334 GB, free: 11.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000194/0.3194, allocations: 74.75 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.3195, allocations: 9.25 kB / 0.5335 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3195, allocations: 1.812 kB / 0.5335 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.3195, allocations: 0 / 0.5335 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.3196, allocations: 22.64 kB / 0.5335 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.3196, allocations: 0 / 0.5335 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.108e-05/0.3197, allocations: 7.578 kB / 0.5335 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.3197, allocations: 1.781 kB / 0.5335 GB, free: 11.25 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 6.248e-05/0.3198, allocations: 111.8 kB / 0.5336 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.3198, allocations: 10.45 kB / 0.5336 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/0.3201, allocations: 89.23 kB / 0.5337 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3201, allocations: 3.984 kB / 0.5337 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3201, allocations: 2.781 kB / 0.5337 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3201, allocations: 0 / 0.5337 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006406/0.3207, allocations: 355.6 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3208, allocations: 1.375 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.481e-05/0.3209, allocations: 21.55 kB / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3209, allocations: 1.375 kB / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.3209, allocations: 1.375 kB / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3209, allocations: 3.938 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3209, allocations: 1.5 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.3211, allocations: 181.2 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.3212, allocations: 86.44 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.3212, allocations: 1.375 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.3213, allocations: 8.109 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.783e-05/0.3213, allocations: 2.75 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.3213, allocations: 5.312 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.457e-05/0.3214, allocations: 80.59 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3214, allocations: 4.094 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002413/0.3216, allocations: 16.19 kB / 0.5344 GB, free: 10.32 MB / 398.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.0001268/0.3218, allocations: 102.3 kB / 0.5345 GB, free: 10.22 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.322, allocations: 43.41 kB / 0.5346 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.322, allocations: 1.375 kB / 0.5346 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.724e-05/0.3221, allocations: 31.03 kB / 0.5346 GB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.3223, allocations: 13.44 kB / 0.5346 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.3227, allocations: 122.7 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001976/0.3229, allocations: 0.6782 MB / 0.5354 GB, free: 9.355 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.166e-05/0.3229, allocations: 6.75 kB / 0.5354 GB, free: 9.352 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.323, allocations: 10.19 kB / 0.5354 GB, free: 9.344 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.323, allocations: 0 / 0.5354 GB, free: 9.344 MB / 398.1 MB Notification: Performance of Templates: time 0.002429/0.3254, allocations: 0.665 MB / 0.5361 GB, free: 8.992 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches