Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001817/0.001817, allocations: 112.9 kB / 19.17 MB, free: 3.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002092/0.002092, allocations: 210.5 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 230.2 MB / 255.1 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.232/0.232, allocations: 46.88 MB / 358.1 MB, free: 10.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003605/0.003605, allocations: 89.22 kB / 0.4924 GB, free: 26.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1459, allocations: 65.98 MB / 0.5568 GB, free: 8.637 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001798/0.1477, allocations: 0.532 MB / 0.5573 GB, free: 8.098 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004291/0.1481, allocations: 155.9 kB / 0.5575 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.078e-05/0.1482, allocations: 0 / 0.5575 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.737e-05/0.1482, allocations: 3.938 kB / 0.5575 GB, free: 7.941 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00027/0.1484, allocations: 43.83 kB / 0.5575 GB, free: 7.898 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.458e-06/0.1485, allocations: 0 / 0.5575 GB, free: 7.898 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.718e-05/0.1485, allocations: 35.78 kB / 0.5575 GB, free: 7.863 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.1486, allocations: 0 / 0.5575 GB, free: 7.863 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.134e-05/0.1486, allocations: 7.938 kB / 0.5575 GB, free: 7.855 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.4e-05/0.1487, allocations: 15.92 kB / 0.5576 GB, free: 7.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.1487, allocations: 0 / 0.5576 GB, free: 7.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.1488, allocations: 55.94 kB / 0.5576 GB, free: 7.785 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.091e-05/0.1488, allocations: 3.938 kB / 0.5576 GB, free: 7.781 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.919e-05/0.1488, allocations: 7.938 kB / 0.5576 GB, free: 7.773 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.1489, allocations: 43.81 kB / 0.5577 GB, free: 7.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1489, allocations: 0 / 0.5577 GB, free: 7.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1489, allocations: 0 / 0.5577 GB, free: 7.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1489, allocations: 4 kB / 0.5577 GB, free: 7.727 MB / 414.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.0003921/0.1493, allocations: 343.3 kB / 0.558 GB, free: 7.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.1494, allocations: 8.031 kB / 0.558 GB, free: 7.332 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.1494, allocations: 4.938 kB / 0.558 GB, free: 7.328 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.1496, allocations: 172.3 kB / 0.5582 GB, free: 7.121 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.1496, allocations: 8.312 kB / 0.5582 GB, free: 7.113 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.1496, allocations: 384 / 0.5582 GB, free: 7.113 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.1498, allocations: 54.25 kB / 0.5582 GB, free: 7.055 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.567e-06/0.1498, allocations: 4.188 kB / 0.5582 GB, free: 7.051 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.1498, allocations: 7.938 kB / 0.5582 GB, free: 7.043 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1498, allocations: 4 kB / 0.5582 GB, free: 7.039 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.1499, allocations: 51.94 kB / 0.5583 GB, free: 6.988 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002182/0.1501, allocations: 181.5 kB / 0.5585 GB, free: 6.762 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.1503, allocations: 70.55 kB / 0.5585 GB, free: 6.684 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.033e-05/0.1503, allocations: 24.86 kB / 0.5586 GB, free: 6.656 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003798/0.1507, allocations: 255.3 kB / 0.5588 GB, free: 6.352 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.1507, allocations: 30.56 kB / 0.5588 GB, free: 6.312 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.1507, allocations: 4 kB / 0.5588 GB, free: 6.309 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.000255/0.151, allocations: 109.8 kB / 0.5589 GB, free: 6.195 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.151, allocations: 55.41 kB / 0.559 GB, free: 6.129 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.22e-05/0.1511, allocations: 89.86 kB / 0.5591 GB, free: 6.031 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.1511, allocations: 29.7 kB / 0.5591 GB, free: 5.996 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.958e-05/0.1512, allocations: 88.2 kB / 0.5592 GB, free: 5.906 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.488e-05/0.1512, allocations: 35.69 kB / 0.5592 GB, free: 5.871 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.1513, allocations: 21.72 kB / 0.5592 GB, free: 5.844 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1514, allocations: 318.8 kB / 0.5595 GB, free: 5.523 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.623e-05/0.1514, allocations: 12 kB / 0.5596 GB, free: 5.512 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.52e-05/0.1515, allocations: 23.98 kB / 0.5596 GB, free: 5.488 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.343e-05/0.1516, allocations: 44.86 kB / 0.5596 GB, free: 5.441 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1516, allocations: 0 / 0.5596 GB, free: 5.441 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001354/0.1517, allocations: 93.56 kB / 0.5597 GB, free: 5.344 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1517, allocations: 8 kB / 0.5597 GB, free: 5.336 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.1517, allocations: 3.938 kB / 0.5597 GB, free: 5.332 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1517, allocations: 3.938 kB / 0.5597 GB, free: 5.328 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.1518, allocations: 16.59 kB / 0.5597 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1518, allocations: 4 kB / 0.5597 GB, free: 5.309 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.302e-05/0.1519, allocations: 0 / 0.5597 GB, free: 5.309 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.1519, allocations: 7.984 kB / 0.5598 GB, free: 5.301 MB / 414.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 8.482e-05/0.152, allocations: 109.8 kB / 0.5599 GB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/0.152, allocations: 7.953 kB / 0.5599 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/0.1522, allocations: 113.4 kB / 0.56 GB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1522, allocations: 0 / 0.56 GB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1522, allocations: 0 / 0.56 GB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1522, allocations: 8 kB / 0.56 GB, free: 5.051 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.1524, allocations: 169.6 kB / 0.5601 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1524, allocations: 0 / 0.5601 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.557e-05/0.1524, allocations: 16 kB / 0.5602 GB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1524, allocations: 0 / 0.5602 GB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.1524, allocations: 11.92 kB / 0.5602 GB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1524, allocations: 4 kB / 0.5602 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1524, allocations: 0 / 0.5602 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.1526, allocations: 109 kB / 0.5603 GB, free: 4.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.827e-05/0.1526, allocations: 81.11 kB / 0.5604 GB, free: 4.582 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.1527, allocations: 11.92 kB / 0.5604 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.269e-05/0.1527, allocations: 0 / 0.5604 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/0.1527, allocations: 7.984 kB / 0.5604 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.1527, allocations: 0 / 0.5604 GB, free: 4.562 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.929e-05/0.1527, allocations: 87.22 kB / 0.5605 GB, free: 4.477 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1527, allocations: 0 / 0.5605 GB, free: 4.477 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002074/0.153, allocations: 23.92 kB / 0.5605 GB, free: 4.453 MB / 414.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.0001522/0.1531, allocations: 95.25 kB / 0.5606 GB, free: 4.352 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001485/0.1533, allocations: 51.92 kB / 0.5606 GB, free: 4.301 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1533, allocations: 0 / 0.5606 GB, free: 4.301 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.58e-05/0.1533, allocations: 32.36 kB / 0.5607 GB, free: 4.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.1535, allocations: 8.219 kB / 0.5607 GB, free: 4.262 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/0.1539, allocations: 166.6 kB / 0.5608 GB, free: 4.066 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.1542, allocations: 0.6845 MB / 0.5615 GB, free: 3.355 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.1542, allocations: 11.44 kB / 0.5615 GB, free: 3.344 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1542, allocations: 0 / 0.5615 GB, free: 3.344 MB / 414.1 MB Notification: Performance of Templates: time 0.002488/0.1567, allocations: 0.8101 MB / 0.5623 GB, free: 2.535 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.28393306885846]