Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001109/0.001109, allocations: 118.8 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.001138/0.001138, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2144/0.2144, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 75.88 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3603, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001701/0.362, allocations: 0.5298 MB / 0.5315 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004542/0.3625, allocations: 159.5 kB / 0.5316 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.646e-05/0.3625, allocations: 0 / 0.5316 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.806e-05/0.3626, allocations: 3.938 kB / 0.5316 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.3628, allocations: 33 kB / 0.5317 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.72e-06/0.3628, allocations: 0 / 0.5317 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.689e-05/0.3629, allocations: 37.19 kB / 0.5317 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.615e-05/0.3629, allocations: 7.5 kB / 0.5317 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.001e-05/0.363, allocations: 11.48 kB / 0.5317 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.188e-05/0.363, allocations: 15.42 kB / 0.5317 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.363, allocations: 0 / 0.5317 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.3631, allocations: 49.05 kB / 0.5318 GB, free: 13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.022e-05/0.3632, allocations: 3.938 kB / 0.5318 GB, free: 13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.147e-05/0.3632, allocations: 17.28 kB / 0.5318 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.3633, allocations: 34.91 kB / 0.5318 GB, free: 12.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3633, allocations: 1.344 kB / 0.5318 GB, free: 12.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3633, allocations: 4 kB / 0.5319 GB, free: 12.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.3633, allocations: 3.938 kB / 0.5319 GB, free: 12.95 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003115/0.3636, allocations: 338 kB / 0.5322 GB, free: 12.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3637, allocations: 9.781 kB / 0.5322 GB, free: 12.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.3637, allocations: 7.125 kB / 0.5322 GB, free: 12.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.3639, allocations: 165.1 kB / 0.5324 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.364, allocations: 6.531 kB / 0.5324 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.364, allocations: 3.812 kB / 0.5324 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.3641, allocations: 60.8 kB / 0.5324 GB, free: 12.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3641, allocations: 4.188 kB / 0.5324 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3642, allocations: 3.938 kB / 0.5324 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3642, allocations: 5.203 kB / 0.5324 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.3643, allocations: 54.02 kB / 0.5325 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002192/0.3645, allocations: 171.7 kB / 0.5326 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.3647, allocations: 78.45 kB / 0.5327 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.426e-05/0.3647, allocations: 32.25 kB / 0.5328 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003515/0.3651, allocations: 253.8 kB / 0.533 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.3651, allocations: 34.5 kB / 0.533 GB, free: 11.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.3651, allocations: 1.156 kB / 0.533 GB, free: 11.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002564/0.3654, allocations: 113.9 kB / 0.5331 GB, free: 11.61 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.3654, allocations: 52.56 kB / 0.5332 GB, free: 11.55 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.729e-05/0.3655, allocations: 90.89 kB / 0.5333 GB, free: 11.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.3655, allocations: 31.17 kB / 0.5333 GB, free: 11.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.049e-05/0.3656, allocations: 88.06 kB / 0.5334 GB, free: 11.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.3656, allocations: 29.64 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/0.3657, allocations: 28.7 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3658, allocations: 312.2 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.551e-05/0.3658, allocations: 17.14 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.252e-05/0.3659, allocations: 18.66 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.717e-05/0.366, allocations: 50.38 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.366, allocations: 0 / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001258/0.3661, allocations: 91.47 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.3661, allocations: 5.25 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.3662, allocations: 9.031 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3662, allocations: 0 / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.3663, allocations: 21.55 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.3663, allocations: 3.938 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.527e-05/0.3663, allocations: 2.031 kB / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.3663, allocations: 9.812 kB / 0.534 GB, free: 10.83 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 (10): * Single equations (assignments): 10 * 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.917e-05/0.3664, allocations: 113.8 kB / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.3665, allocations: 1.969 kB / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001895/0.3666, allocations: 102.2 kB / 0.5342 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.3667, allocations: 1.25 kB / 0.5342 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.3667, allocations: 1.5 kB / 0.5342 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3667, allocations: 3.984 kB / 0.5342 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.3668, allocations: 176.2 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3668, allocations: 0 / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.951e-05/0.3669, allocations: 17.52 kB / 0.5344 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3669, allocations: 0 / 0.5344 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.3669, allocations: 13.22 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3669, allocations: 1.781 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3669, allocations: 0 / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.3671, allocations: 103.5 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.45e-05/0.3671, allocations: 86.53 kB / 0.5346 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.3672, allocations: 9.406 kB / 0.5346 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.485e-05/0.3672, allocations: 1.281 kB / 0.5346 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.162e-05/0.3672, allocations: 2.531 kB / 0.5346 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.3672, allocations: 6.438 kB / 0.5346 GB, free: 10.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.368e-05/0.3673, allocations: 84.58 kB / 0.5347 GB, free: 10.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3673, allocations: 0 / 0.5347 GB, free: 10.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002083/0.3675, allocations: 19 kB / 0.5347 GB, free: 10.12 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (10): * Single equations (assignments): 10 * 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.0001443/0.3676, allocations: 102.5 kB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001421/0.3678, allocations: 62.41 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3678, allocations: 0 / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.174e-05/0.3678, allocations: 27.34 kB / 0.5349 GB, free: 9.992 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.368, allocations: 12.92 kB / 0.5349 GB, free: 9.984 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.3683, allocations: 136.6 kB / 0.535 GB, free: 9.855 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.3687, allocations: 0.6823 MB / 0.5357 GB, free: 9.156 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.697e-05/0.3688, allocations: 11.89 kB / 0.5357 GB, free: 9.148 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/0.3688, allocations: 10.19 kB / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3688, allocations: 5.375 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of Templates: time 0.002777/0.3716, allocations: 0.6452 MB / 0.5363 GB, free: 8.805 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches