Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009861/0.0009861, allocations: 80.8 kB / 21.5 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002265/0.002265, allocations: 171.4 kB / 24.92 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9859/0.9859, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2411/0.2411, allocations: 34.26 MB / 296.1 MB, free: 0.75 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 325.3 MB, free: 7.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.769e-05, allocations: 3.516 kB / 325.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.00191/0.001937, allocations: 0.5528 MB / 325.8 MB, free: 7.148 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.003988, allocations: 1.397 MB / 327.2 MB, free: 5.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.735e-05/0.004015, allocations: 0 / 327.2 MB, free: 5.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.004029, allocations: 0 / 327.2 MB, free: 5.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.037e-05/0.00406, allocations: 0 / 327.2 MB, free: 5.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006124/0.004672, allocations: 171.5 kB / 327.4 MB, free: 5.562 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.934e-05/0.004721, allocations: 8 kB / 327.4 MB, free: 5.555 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.845e-05/0.00476, allocations: 7.922 kB / 327.4 MB, free: 5.547 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.594e-05/0.004796, allocations: 8 kB / 327.4 MB, free: 5.539 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.966e-05/0.004846, allocations: 3.984 kB / 327.4 MB, free: 5.535 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.00486, allocations: 4 kB / 327.4 MB, free: 5.531 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005679/0.005428, allocations: 296.1 kB / 327.7 MB, free: 5.242 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.005442, allocations: 4 kB / 327.7 MB, free: 5.238 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.953e-05/0.005461, allocations: 4.625 kB / 327.7 MB, free: 5.234 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.005729, allocations: 195.5 kB / 327.9 MB, free: 5.043 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.005732, allocations: 0 / 327.9 MB, free: 5.043 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.005734, allocations: 0 / 327.9 MB, free: 5.043 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.005738, allocations: 0 / 327.9 MB, free: 5.043 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002728/0.00601, allocations: 245.8 kB / 328.1 MB, free: 4.781 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.006047, allocations: 8.031 kB / 328.1 MB, free: 4.773 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.456e-05/0.006071, allocations: 0.9375 kB / 328.1 MB, free: 4.773 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.255e-05/0.006164, allocations: 110.1 kB / 328.3 MB, free: 4.641 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.006174, allocations: 384 / 328.3 MB, free: 4.641 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-06/0.00618, allocations: 384 / 328.3 MB, free: 4.641 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.797e-05/0.006258, allocations: 59.95 kB / 328.3 MB, free: 4.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.006266, allocations: 4.125 kB / 328.3 MB, free: 4.566 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.006272, allocations: 384 / 328.3 MB, free: 4.566 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.006278, allocations: 3.938 kB / 328.3 MB, free: 4.562 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.096e-05/0.006289, allocations: 8 kB / 328.3 MB, free: 4.555 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.809e-05/0.006367, allocations: 57 kB / 328.4 MB, free: 4.484 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.465e-05/0.006412, allocations: 22.61 kB / 328.4 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.252e-05/0.006424, allocations: 4.859 kB / 328.4 MB, free: 4.445 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-06/0.006431, allocations: 3.984 kB / 328.4 MB, free: 4.441 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.006456, allocations: 34.62 kB / 328.4 MB, free: 4.398 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 6.72e-07/0.006456, allocations: 0 / 328.4 MB, free: 4.398 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 8.903e-05/0.006545, allocations: 37.62 kB / 328.5 MB, free: 4.355 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.00657, allocations: 51.41 kB / 328.5 MB, free: 4.293 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.858e-05/0.006629, allocations: 102.8 kB / 328.6 MB, free: 4.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.00664, allocations: 25.7 kB / 328.7 MB, free: 4.148 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.534e-05/0.006665, allocations: 84.12 kB / 328.7 MB, free: 4.062 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.006687, allocations: 0 / 328.7 MB, free: 4.062 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.006717, allocations: 13.72 kB / 328.8 MB, free: 4.043 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.194e-05/0.006809, allocations: 326.8 kB / 329.1 MB, free: 3.715 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.571e-06/0.006815, allocations: 0 / 329.1 MB, free: 3.715 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-06/0.00682, allocations: 0 / 329.1 MB, free: 3.715 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.186e-05/0.006842, allocations: 12.8 kB / 329.1 MB, free: 3.699 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.006844, allocations: 192 / 329.1 MB, free: 3.699 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.021e-05/0.006894, allocations: 37.69 kB / 329.1 MB, free: 3.656 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.006908, allocations: 10.5 kB / 329.1 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.006912, allocations: 0 / 329.1 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.006925, allocations: 0 / 329.1 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.03e-05/0.006976, allocations: 0 / 329.1 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.006978, allocations: 0 / 329.1 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.624e-05/0.006995, allocations: 7.938 kB / 329.1 MB, free: 3.641 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-06/0.007001, allocations: 3.938 kB / 329.1 MB, free: 3.637 MB / 298.7 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 (1): * Single equations (assignments): 1 * 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 5.725e-05/0.007058, allocations: 105.8 kB / 329.2 MB, free: 3.523 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.217e-06/0.007067, allocations: 8.016 kB / 329.3 MB, free: 3.516 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.7e-05/0.007164, allocations: 44.8 kB / 329.3 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.007167, allocations: 0 / 329.3 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.007168, allocations: 0 / 329.3 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.00717, allocations: 0 / 329.3 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.597e-05/0.007236, allocations: 73.83 kB / 329.4 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.007241, allocations: 0 / 329.4 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.11e-07/0.007242, allocations: 0 / 329.4 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.007247, allocations: 4.031 kB / 329.4 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-06/0.007251, allocations: 0 / 329.4 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-06/0.007252, allocations: 0 / 329.4 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.007253, allocations: 0 / 329.4 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.044e-05/0.007313, allocations: 65 kB / 329.4 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.69e-06/0.007319, allocations: 0 / 329.4 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.865e-06/0.007327, allocations: 4 kB / 329.4 MB, free: 3.289 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.465e-05/0.007381, allocations: 0 / 329.4 MB, free: 3.289 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.013e-05/0.007391, allocations: 0 / 329.4 MB, free: 3.289 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.007398, allocations: 4 kB / 329.4 MB, free: 3.285 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.113e-05/0.007409, allocations: 12.88 kB / 329.5 MB, free: 3.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.007409, allocations: 0 / 329.5 MB, free: 3.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002261/0.007635, allocations: 39.94 kB / 329.5 MB, free: 3.23 MB / 298.7 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.0002411/0.007876, allocations: 132.3 kB / 329.6 MB, free: 3.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.355e-05/0.00793, allocations: 5.359 kB / 329.6 MB, free: 3.082 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.007934, allocations: 4 kB / 329.6 MB, free: 3.078 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.827e-05/0.007962, allocations: 30.56 kB / 329.7 MB, free: 3.039 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.73e-05/0.008039, allocations: 15.89 kB / 329.7 MB, free: 3.027 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001762/0.008215, allocations: 97.28 kB / 329.8 MB, free: 2.906 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.907e-05/0.008245, allocations: 51.36 kB / 329.8 MB, free: 2.836 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.762e-05/0.008262, allocations: 4 kB / 329.8 MB, free: 2.832 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/0.00831, allocations: 51.38 kB / 329.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.00831, allocations: 0 / 329.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of Templates: time 0.003864/0.01217, allocations: 1.254 MB / 331.1 MB, free: 1.531 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.821187403984368]