Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001252, allocations: 100.6 kB / 16.94 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 191.4 kB / 17.86 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.317/1.317, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1985/0.1985, allocations: 43.53 MB / 314.6 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 65.12 kB / 383.4 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0804/0.08195, allocations: 57.8 MB / 441.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001566/0.08356, allocations: 0.4896 MB / 441.7 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.08495, allocations: 1.395 MB / 443.1 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.08499, allocations: 0 / 443.1 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.511e-05/0.08501, allocations: 0 / 443.1 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.237e-05/0.08506, allocations: 4 kB / 443.1 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005817/0.08564, allocations: 215.8 kB / 443.3 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.197e-05/0.0857, allocations: 12 kB / 443.3 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.183e-05/0.08574, allocations: 3.984 kB / 443.3 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.588e-05/0.08576, allocations: 4 kB / 443.3 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.167e-05/0.08581, allocations: 0 / 443.3 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.08583, allocations: 0 / 443.3 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003355/0.08617, allocations: 275.5 kB / 443.6 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.08619, allocations: 0 / 443.6 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.737e-05/0.08621, allocations: 7.938 kB / 443.6 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.08639, allocations: 143.7 kB / 443.7 MB, free: 4.363 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.0864, allocations: 0 / 443.7 MB, free: 4.363 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.08641, allocations: 0 / 443.7 MB, free: 4.363 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.08642, allocations: 0 / 443.7 MB, free: 4.363 MB / 318.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.0002861/0.08671, allocations: 339.8 kB / 444.1 MB, free: 3.984 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.08675, allocations: 15.89 kB / 444.1 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.08678, allocations: 0.9375 kB / 444.1 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.178e-05/0.08684, allocations: 168.3 kB / 444.2 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.08685, allocations: 384 / 444.2 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.08687, allocations: 4.375 kB / 444.2 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.222e-05/0.08697, allocations: 42.02 kB / 444.3 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.08698, allocations: 0 / 444.3 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.087, allocations: 3.938 kB / 444.3 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.08701, allocations: 3.984 kB / 444.3 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.93e-05/0.08704, allocations: 11.94 kB / 444.3 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002588/0.0873, allocations: 240.9 kB / 444.5 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.407e-05/0.08735, allocations: 22.58 kB / 444.6 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.32e-05/0.08737, allocations: 4.859 kB / 444.6 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-06/0.08738, allocations: 0 / 444.6 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.0874, allocations: 34.56 kB / 444.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.08741, allocations: 0 / 444.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001179/0.08753, allocations: 37.7 kB / 444.6 MB, free: 3.285 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.738e-05/0.08755, allocations: 51.41 kB / 444.7 MB, free: 3.223 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.474e-05/0.0876, allocations: 102 kB / 444.8 MB, free: 3.113 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.234e-06/0.08762, allocations: 29.7 kB / 444.8 MB, free: 3.078 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.187e-05/0.08764, allocations: 84.05 kB / 444.9 MB, free: 2.992 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.24e-06/0.08765, allocations: 0 / 444.9 MB, free: 2.992 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.08768, allocations: 17.62 kB / 444.9 MB, free: 2.969 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.485e-05/0.08772, allocations: 318.8 kB / 445.2 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.145e-05/0.08774, allocations: 7.984 kB / 445.2 MB, free: 2.641 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.817e-05/0.08776, allocations: 26.69 kB / 445.3 MB, free: 2.605 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.615e-05/0.0878, allocations: 26.52 kB / 445.3 MB, free: 2.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.0878, allocations: 0 / 445.3 MB, free: 2.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.702e-05/0.08786, allocations: 49.62 kB / 445.3 MB, free: 2.516 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.08788, allocations: 4 kB / 445.3 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.08789, allocations: 4.094 kB / 445.3 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.08791, allocations: 0 / 445.3 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.547e-05/0.08796, allocations: 12 kB / 445.3 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.08797, allocations: 0 / 445.3 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.676e-05/0.08799, allocations: 7.938 kB / 445.4 MB, free: 2.488 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.088, allocations: 4 kB / 445.4 MB, free: 2.484 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 4.689e-05/0.08805, allocations: 121.6 kB / 445.5 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.08808, allocations: 0 / 445.5 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.087e-05/0.08818, allocations: 44.83 kB / 445.5 MB, free: 2.305 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.08819, allocations: 4 kB / 445.5 MB, free: 2.301 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.0882, allocations: 0 / 445.5 MB, free: 2.301 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.0882, allocations: 3.984 kB / 445.5 MB, free: 2.297 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.08831, allocations: 145.6 kB / 445.7 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.08832, allocations: 7.938 kB / 445.7 MB, free: 2.098 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.08833, allocations: 0 / 445.7 MB, free: 2.098 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.08833, allocations: 0 / 445.7 MB, free: 2.098 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-06/0.08834, allocations: 0 / 445.7 MB, free: 2.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.08835, allocations: 4.031 kB / 445.7 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.08835, allocations: 0 / 445.7 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.796e-05/0.08842, allocations: 139.4 kB / 445.8 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.08844, allocations: 77.11 kB / 445.9 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.08846, allocations: 4 kB / 445.9 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.295e-05/0.08851, allocations: 0 / 445.9 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/0.08853, allocations: 3.984 kB / 445.9 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.08854, allocations: 4.031 kB / 445.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.672e-05/0.08857, allocations: 79.28 kB / 446 MB, free: 1.758 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08857, allocations: 0 / 446 MB, free: 1.758 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002698/0.08885, allocations: 40 kB / 446 MB, free: 1.719 MB / 318.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002116/0.08906, allocations: 139.2 kB / 446.2 MB, free: 1.574 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.32e-05/0.08914, allocations: 15.94 kB / 446.2 MB, free: 1.559 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.08916, allocations: 0 / 446.2 MB, free: 1.559 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.384e-05/0.08919, allocations: 33.98 kB / 446.2 MB, free: 1.52 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.0894, allocations: 9.078 kB / 446.2 MB, free: 1.512 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001658/0.08957, allocations: 110.7 kB / 446.3 MB, free: 1.371 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.005e-05/0.08966, allocations: 0.669 MB / 447 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.153e-05/0.08968, allocations: 11.44 kB / 447 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.08969, allocations: 0 / 447 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of Templates: time 0.002132/0.09182, allocations: 0.9287 MB / 447.9 MB, free: 15.73 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches