Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.001842/0.001842, allocations: 99.53 kB / 20.96 MB, free: 3.457 MB / 18.57 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.001957/0.001957, allocations: 156.8 kB / 24.27 MB, free: 152 kB / 18.57 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.649/1.649, allocations: 177 MB / 204.5 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3356/0.3356, allocations: 34.26 MB / 295.2 MB, free: 0.6328 MB / 266.7 MB " [Timeout remaining time 180] 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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 377.2 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.051e-05/3.281e-05, allocations: 4.562 kB / 377.2 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001579/0.001612, allocations: 497 kB / 377.7 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.003834, allocations: 1.385 MB / 379.1 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.667e-05/0.00386, allocations: 0 / 379.1 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.271e-05/0.003873, allocations: 4 kB / 379.1 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.333e-05/0.003906, allocations: 0 / 379.1 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006991/0.004606, allocations: 219.9 kB / 379.3 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.864e-05/0.004654, allocations: 7.938 kB / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.488e-05/0.004699, allocations: 0 / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.356e-05/0.004733, allocations: 4 kB / 379.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.953e-05/0.004782, allocations: 11.98 kB / 379.3 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.0048, allocations: 4 kB / 379.3 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004867/0.005287, allocations: 251.6 kB / 379.5 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.005302, allocations: 3.984 kB / 379.6 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.536e-05/0.005317, allocations: 0 / 379.6 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.005641, allocations: 199.4 kB / 379.7 MB, free: 376 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.005643, allocations: 0 / 379.7 MB, free: 376 kB / 346.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005644, allocations: 0 / 379.7 MB, free: 376 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.005648, allocations: 0 / 379.7 MB, free: 376 kB / 346.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.0007353/0.006384, allocations: 364.2 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.00642, allocations: 16.03 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.006459, allocations: 0.9375 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.00658, allocations: 108.6 kB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.006593, allocations: 4.375 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.006602, allocations: 384 / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.006732, allocations: 63.95 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.00674, allocations: 192 / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.006749, allocations: 384 / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.006755, allocations: 7.875 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.234e-05/0.006777, allocations: 4 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.006934, allocations: 116.6 kB / 380.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.489e-05/0.006999, allocations: 27.09 kB / 380.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/0.007021, allocations: 11.67 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.00703, allocations: 0 / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.00707, allocations: 41.45 kB / 380.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 6.31e-07/0.00707, allocations: 0 / 380.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001525/0.007223, allocations: 37.64 kB / 380.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.007267, allocations: 55.34 kB / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.007383, allocations: 149.9 kB / 380.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.007407, allocations: 41.94 kB / 380.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.746e-05/0.007485, allocations: 126.9 kB / 380.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.007517, allocations: 0 / 380.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/0.007559, allocations: 19.38 kB / 380.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002663/0.007826, allocations: 492.1 kB / 381.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.246e-05/0.007838, allocations: 0 / 381.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.053e-05/0.007849, allocations: 4 kB / 381.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.264e-05/0.007891, allocations: 15.62 kB / 381.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.007893, allocations: 4 kB / 381.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.472e-05/0.007958, allocations: 37.72 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.007973, allocations: 12 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.007977, allocations: 0 / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.007991, allocations: 0 / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.774e-05/0.008049, allocations: 0 / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.008057, allocations: 3.938 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.574e-05/0.008073, allocations: 3.984 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.008079, allocations: 4 kB / 381.5 MB, free: 14.42 MB / 362.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 0.0001114/0.00819, allocations: 152.6 kB / 381.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.008201, allocations: 3.953 kB / 381.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.008325, allocations: 56.78 kB / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.008327, allocations: 0 / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.008337, allocations: 3.938 kB / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.008339, allocations: 0 / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.008464, allocations: 112.6 kB / 381.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.00847, allocations: 0 / 381.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.00847, allocations: 0 / 381.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.008472, allocations: 0 / 381.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.008478, allocations: 4.031 kB / 381.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.008479, allocations: 0 / 381.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.00848, allocations: 0 / 381.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.008602, allocations: 80.38 kB / 381.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-06/0.008607, allocations: 3.938 kB / 381.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.008619, allocations: 4 kB / 381.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.692e-05/0.008686, allocations: 4 kB / 381.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.723e-05/0.008703, allocations: 0 / 381.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.00871, allocations: 3.938 kB / 381.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.081e-05/0.008781, allocations: 123.2 kB / 382 MB, free: 13.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008781, allocations: 4.125 kB / 382 MB, free: 13.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002418/0.009023, allocations: 43.92 kB / 382.1 MB, free: 13.76 MB / 362.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.0003068/0.009329, allocations: 135.2 kB / 382.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.986e-05/0.009419, allocations: 23.67 kB / 382.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.009421, allocations: 0 / 382.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.871e-05/0.00947, allocations: 37.39 kB / 382.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.009612, allocations: 2.969 kB / 382.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002596/0.009871, allocations: 106.3 kB / 382.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.158e-05/0.009933, allocations: 67.41 kB / 382.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.327e-05/0.009946, allocations: 0 / 382.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.724e-05/0.009963, allocations: 8.5 kB / 382.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.009964, allocations: 0 / 382.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of Templates: time 0.004127/0.01409, allocations: 1.123 MB / 383.6 MB, free: 12.2 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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: 4.867262132931501]