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.001095/0.001095, allocations: 80.92 kB / 21.49 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.0009376/0.0009376, allocations: 169 kB / 24.91 MB, free: 8.723 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.8756/0.8756, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.131/0.131, allocations: 34.26 MB / 296.1 MB, free: 13.99 MB / 282.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 1.573e-06/1.573e-06, allocations: 0 / 325.2 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.62e-05/1.777e-05, allocations: 4.844 kB / 325.2 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0009069/0.0009247, allocations: 0.4935 MB / 325.7 MB, free: 316 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.002271, allocations: 1.389 MB / 327.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.937e-05/0.002291, allocations: 0 / 327.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.16e-05/0.002302, allocations: 0 / 327.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 2.763e-05/0.00233, allocations: 11.94 kB / 327.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004681/0.002798, allocations: 219.9 kB / 327.3 MB, free: 14.67 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 3.643e-05/0.002834, allocations: 4 kB / 327.3 MB, free: 14.67 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.146e-05/0.002866, allocations: 3.984 kB / 327.3 MB, free: 14.66 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.808e-05/0.002894, allocations: 11.98 kB / 327.4 MB, free: 14.65 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.023e-05/0.002934, allocations: 0 / 327.4 MB, free: 14.65 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.002946, allocations: 4 kB / 327.4 MB, free: 14.65 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003015/0.003248, allocations: 251.6 kB / 327.6 MB, free: 14.4 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.318e-05/0.003261, allocations: 7.938 kB / 327.6 MB, free: 14.39 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.051e-05/0.003272, allocations: 4 kB / 327.6 MB, free: 14.39 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.003448, allocations: 195.5 kB / 327.8 MB, free: 14.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.00345, allocations: 0 / 327.8 MB, free: 14.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.003451, allocations: 0 / 327.8 MB, free: 14.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.755e-06/0.003454, allocations: 0 / 327.8 MB, free: 14.2 MB / 314.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.0002127/0.003666, allocations: 236.9 kB / 328 MB, free: 13.95 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.782e-05/0.003694, allocations: 12.03 kB / 328 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.939e-05/0.003713, allocations: 0.9375 kB / 328 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.418e-05/0.003778, allocations: 117.7 kB / 328.2 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.003786, allocations: 384 / 328.2 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.166e-06/0.003794, allocations: 4.312 kB / 328.2 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.952e-05/0.003853, allocations: 59.97 kB / 328.2 MB, free: 13.72 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.00386, allocations: 192 / 328.2 MB, free: 13.72 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.159e-06/0.003865, allocations: 384 / 328.2 MB, free: 13.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.003871, allocations: 3.938 kB / 328.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.803e-06/0.003877, allocations: 0 / 328.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.732e-05/0.003945, allocations: 65.03 kB / 328.3 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.11e-05/0.003976, allocations: 14.58 kB / 328.3 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.223e-05/0.003988, allocations: 12.89 kB / 328.3 MB, free: 13.6 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-06/0.003992, allocations: 0 / 328.3 MB, free: 13.6 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.00401, allocations: 30.56 kB / 328.4 MB, free: 13.56 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 5.52e-07/0.00401, allocations: 4 kB / 328.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 6.687e-05/0.004077, allocations: 29.7 kB / 328.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.0041, allocations: 55.39 kB / 328.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.246e-05/0.004143, allocations: 98.72 kB / 328.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.004151, allocations: 25.7 kB / 328.6 MB, free: 13.31 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.78e-05/0.004169, allocations: 92.08 kB / 328.7 MB, free: 13.22 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.004187, allocations: 0 / 328.7 MB, free: 13.22 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.673e-05/0.004204, allocations: 9.719 kB / 328.7 MB, free: 13.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.376e-05/0.004268, allocations: 326.8 kB / 329 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.43e-06/0.004273, allocations: 12.19 kB / 329 MB, free: 12.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.619e-06/0.004278, allocations: 0 / 329 MB, free: 12.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.772e-05/0.004295, allocations: 12.84 kB / 329 MB, free: 12.85 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.004297, allocations: 0 / 329 MB, free: 12.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.877e-05/0.004326, allocations: 29.7 kB / 329 MB, free: 12.81 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/0.004334, allocations: 4 kB / 329 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.004337, allocations: 0 / 329 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.004349, allocations: 0 / 329 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.956e-05/0.004388, allocations: 4 kB / 329 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.004391, allocations: 4.078 kB / 329 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.416e-06/0.0044, allocations: 7.938 kB / 329.1 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.004405, allocations: 3.938 kB / 329.1 MB, free: 12.79 MB / 314.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 4.135e-05/0.004446, allocations: 109.8 kB / 329.2 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-06/0.00445, allocations: 0 / 329.2 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.259e-05/0.004512, allocations: 36.84 kB / 329.2 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.004514, allocations: 3.984 kB / 329.2 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.004518, allocations: 8.031 kB / 329.2 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.004521, allocations: 0 / 329.2 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.108e-05/0.004562, allocations: 65.84 kB / 329.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.004564, allocations: 0 / 329.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.183e-06/0.004566, allocations: 4 kB / 329.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.42e-07/0.004566, allocations: 0 / 329.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-06/0.004569, allocations: 0 / 329.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.00457, allocations: 0 / 329.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.00457, allocations: 0 / 329.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.047e-05/0.004611, allocations: 65 kB / 329.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-06/0.004614, allocations: 0 / 329.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.601e-06/0.00462, allocations: 4.031 kB / 329.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.723e-05/0.004657, allocations: 7.984 kB / 329.4 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.296e-06/0.004665, allocations: 0 / 329.4 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.004669, allocations: 4 kB / 329.4 MB, free: 12.44 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.965e-06/0.004677, allocations: 8.859 kB / 329.4 MB, free: 12.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004677, allocations: 3.938 kB / 329.4 MB, free: 12.42 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001341/0.004811, allocations: 35.94 kB / 329.4 MB, free: 12.39 MB / 314.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.0001741/0.004985, allocations: 132.3 kB / 329.5 MB, free: 12.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 4.571e-05/0.005031, allocations: 16.95 kB / 329.6 MB, free: 12.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.005033, allocations: 0 / 329.6 MB, free: 12.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.273e-05/0.005056, allocations: 38.5 kB / 329.6 MB, free: 12.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.211e-05/0.005108, allocations: 7.938 kB / 329.6 MB, free: 12.17 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001298/0.005238, allocations: 92.75 kB / 329.7 MB, free: 12.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.208e-05/0.00526, allocations: 51.36 kB / 329.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.048e-05/0.00527, allocations: 0 / 329.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.513e-05/0.005305, allocations: 55.36 kB / 329.8 MB, free: 11.93 MB / 314.7 MB Notification: Performance of SimCode: time 4.61e-07/0.005306, allocations: 4.125 kB / 329.8 MB, free: 11.93 MB / 314.7 MB Notification: Performance of Templates: time 0.002298/0.007604, allocations: 1.255 MB / 331.1 MB, free: 10.67 MB / 314.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 -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.817143201828003]