Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.001321/0.001321, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001404/0.001404, allocations: 163.4 kB / 24.91 MB, free: 8.715 MB / 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 0.9229/0.9229, allocations: 177 MB / 205.2 MB, free: 5.059 MB / 186.7 MB " [Timeout remaining time 179] 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.2722/0.2722, allocations: 34.85 MB / 296.6 MB, free: 472 kB / 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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.094e-05/2.235e-05, allocations: 9.406 kB / 325.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001346/0.001369, allocations: 0.5498 MB / 326.5 MB, free: 6.594 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004716/0.006085, allocations: 1.398 MB / 327.9 MB, free: 5.176 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.301e-05/0.006108, allocations: 0 / 327.9 MB, free: 5.176 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.392e-05/0.006122, allocations: 0 / 327.9 MB, free: 5.176 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.575e-05/0.006148, allocations: 3.938 kB / 327.9 MB, free: 5.172 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.006591, allocations: 159.5 kB / 328 MB, free: 5.016 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.535e-05/0.006637, allocations: 16.55 kB / 328.1 MB, free: 5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.608e-05/0.006673, allocations: 0 / 328.1 MB, free: 5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.32e-05/0.006706, allocations: 12 kB / 328.1 MB, free: 4.988 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.304e-05/0.006749, allocations: 0 / 328.1 MB, free: 4.988 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.00676, allocations: 0 / 328.1 MB, free: 4.988 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004578/0.007217, allocations: 304 kB / 328.4 MB, free: 4.691 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.00723, allocations: 3.984 kB / 328.4 MB, free: 4.688 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.525e-05/0.007245, allocations: 7.984 kB / 328.4 MB, free: 4.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.00746, allocations: 191.5 kB / 328.6 MB, free: 4.492 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.007462, allocations: 0 / 328.6 MB, free: 4.492 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.007463, allocations: 0 / 328.6 MB, free: 4.492 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.317e-06/0.007466, allocations: 7.938 kB / 328.6 MB, free: 4.484 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.004249/0.01172, allocations: 244.5 kB / 328.8 MB, free: 4.223 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.01175, allocations: 8.031 kB / 328.8 MB, free: 4.215 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.404e-05/0.01177, allocations: 0.9375 kB / 328.8 MB, free: 4.215 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.201e-05/0.01183, allocations: 105.8 kB / 328.9 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.01184, allocations: 384 / 328.9 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.052e-06/0.01185, allocations: 384 / 328.9 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.164e-05/0.01193, allocations: 63.95 kB / 329 MB, free: 4.012 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.01194, allocations: 192 / 329 MB, free: 4.012 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.01195, allocations: 4.375 kB / 329 MB, free: 4.008 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.01195, allocations: 3.938 kB / 329 MB, free: 4.004 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.622e-05/0.01197, allocations: 4 kB / 329 MB, free: 4 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000232/0.0122, allocations: 149.6 kB / 329.1 MB, free: 3.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.823e-05/0.01223, allocations: 14.58 kB / 329.2 MB, free: 3.816 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.825e-05/0.01225, allocations: 16.95 kB / 329.2 MB, free: 3.797 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.992e-06/0.01225, allocations: 0 / 329.2 MB, free: 3.797 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.01228, allocations: 30.56 kB / 329.2 MB, free: 3.758 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.01228, allocations: 0 / 329.2 MB, free: 3.758 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 9.185e-05/0.01237, allocations: 37.58 kB / 329.2 MB, free: 3.715 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.0124, allocations: 55.41 kB / 329.3 MB, free: 3.648 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.801e-05/0.01246, allocations: 111.1 kB / 329.4 MB, free: 3.527 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.01247, allocations: 25.7 kB / 329.4 MB, free: 3.496 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.559e-05/0.0125, allocations: 84.14 kB / 329.5 MB, free: 3.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.691e-06/0.01251, allocations: 3.953 kB / 329.5 MB, free: 3.406 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.01255, allocations: 21.72 kB / 329.5 MB, free: 3.379 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.676e-05/0.01262, allocations: 314.8 kB / 329.8 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.793e-06/0.01263, allocations: 4 kB / 329.9 MB, free: 3.059 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.801e-05/0.01265, allocations: 18.56 kB / 329.9 MB, free: 3.031 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.882e-05/0.01268, allocations: 26.64 kB / 329.9 MB, free: 2.996 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.01268, allocations: 4 kB / 329.9 MB, free: 2.992 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.911e-05/0.01273, allocations: 41.72 kB / 329.9 MB, free: 2.945 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.01274, allocations: 9.094 kB / 329.9 MB, free: 2.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.01274, allocations: 7.875 kB / 330 MB, free: 2.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.01276, allocations: 3.984 kB / 330 MB, free: 2.926 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.426e-05/0.01279, allocations: 8 kB / 330 MB, free: 2.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.01279, allocations: 0 / 330 MB, free: 2.918 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.504e-05/0.01281, allocations: 3.938 kB / 330 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.01282, allocations: 7.984 kB / 330 MB, free: 2.906 MB / 298.7 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 0.0001721/0.01299, allocations: 117.9 kB / 330.1 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.01301, allocations: 0 / 330.1 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.565e-05/0.01308, allocations: 44.78 kB / 330.1 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.01308, allocations: 0 / 330.1 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.01308, allocations: 0 / 330.1 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.01309, allocations: 0 / 330.1 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.036e-05/0.01318, allocations: 62.66 kB / 330.2 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.01318, allocations: 4.031 kB / 330.2 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.603e-06/0.01318, allocations: 4 kB / 330.2 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.01318, allocations: 0 / 330.2 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-06/0.01319, allocations: 0 / 330.2 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.01319, allocations: 0 / 330.2 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.01319, allocations: 3.938 kB / 330.2 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.358e-05/0.01325, allocations: 135.5 kB / 330.3 MB, free: 2.496 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-06/0.01326, allocations: 3.984 kB / 330.3 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.925e-06/0.01327, allocations: 4 kB / 330.4 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.46e-05/0.01331, allocations: 0 / 330.4 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.078e-05/0.01332, allocations: 3.938 kB / 330.4 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.01332, allocations: 8.016 kB / 330.4 MB, free: 2.477 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.725e-06/0.01333, allocations: 8.859 kB / 330.4 MB, free: 2.465 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01333, allocations: 0 / 330.4 MB, free: 2.465 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000226/0.01356, allocations: 35.94 kB / 330.4 MB, free: 2.43 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.0001928/0.01375, allocations: 128.3 kB / 330.5 MB, free: 2.293 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 4.655e-05/0.0138, allocations: 16.8 kB / 330.5 MB, free: 2.273 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.0138, allocations: 0 / 330.5 MB, free: 2.273 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.321e-05/0.01382, allocations: 34.84 kB / 330.6 MB, free: 2.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.01395, allocations: 4 kB / 330.6 MB, free: 2.227 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001458/0.01409, allocations: 101.6 kB / 330.7 MB, free: 2.102 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.13e-05/0.01412, allocations: 59.3 kB / 330.7 MB, free: 2.023 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.526e-05/0.01414, allocations: 0 / 330.7 MB, free: 2.023 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/0.01418, allocations: 55.36 kB / 330.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01418, allocations: 4 kB / 330.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of Templates: time 0.005726/0.0199, allocations: 1.252 MB / 332.1 MB, free: 0.7188 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.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.875738866161555]