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.00123/0.00123, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001435/0.001435, allocations: 167.2 kB / 24.82 MB, free: 8.934 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.9354/0.9354, allocations: 177 MB / 205.1 MB, free: 5.484 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.2908/0.2908, allocations: 34.86 MB / 296.6 MB, free: 0.5117 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 1.693e-06/1.693e-06, allocations: 0 / 379.2 MB, free: 1.855 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.588e-05, allocations: 6.25 kB / 379.2 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001694/0.00172, allocations: 0.4939 MB / 379.7 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.003711, allocations: 1.401 MB / 381.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.431e-05/0.003746, allocations: 4 kB / 381.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.703e-05/0.003763, allocations: 0 / 381.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 2.99e-05/0.003793, allocations: 0 / 381.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005118/0.004304, allocations: 211.9 kB / 381.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 3.776e-05/0.004342, allocations: 7.984 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.051e-05/0.004373, allocations: 0 / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.008e-05/0.004403, allocations: 8 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.309e-05/0.004446, allocations: 7.984 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.004458, allocations: 4 kB / 381.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003166/0.004775, allocations: 255.6 kB / 381.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.004787, allocations: 0 / 381.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.187e-05/0.004798, allocations: 4 kB / 381.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.00498, allocations: 195.5 kB / 381.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.004982, allocations: 0 / 381.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.004983, allocations: 0 / 381.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.004987, allocations: 0 / 381.8 MB, free: 15.25 MB / 362.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.0002589/0.005246, allocations: 364.2 kB / 382.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.005281, allocations: 12.03 kB / 382.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.32e-05/0.005304, allocations: 9.234 kB / 382.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.268e-05/0.005366, allocations: 112.6 kB / 382.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.005374, allocations: 384 / 382.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.591e-06/0.00538, allocations: 384 / 382.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.601e-05/0.005446, allocations: 63.89 kB / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.005452, allocations: 192 / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.649e-06/0.005456, allocations: 384 / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.005462, allocations: 7.922 kB / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.562e-06/0.005469, allocations: 0 / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.26e-05/0.005541, allocations: 105.2 kB / 382.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.68e-05/0.005568, allocations: 27.09 kB / 382.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.097e-05/0.005579, allocations: 7.688 kB / 382.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-06/0.005584, allocations: 0 / 382.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.00561, allocations: 41.31 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.005611, allocations: 0 / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 8.005e-05/0.005691, allocations: 33.77 kB / 382.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.859e-05/0.00571, allocations: 51.41 kB / 382.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.506e-05/0.005765, allocations: 157.9 kB / 382.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.005773, allocations: 25.95 kB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.89e-05/0.005802, allocations: 130.9 kB / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.005822, allocations: 7.984 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/0.005846, allocations: 23.36 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.463e-05/0.00594, allocations: 492.1 kB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-06/0.005947, allocations: 0 / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.486e-06/0.005955, allocations: 7.938 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.876e-05/0.005974, allocations: 7.688 kB / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.005975, allocations: 0 / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.645e-05/0.006012, allocations: 37.69 kB / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.218e-06/0.006021, allocations: 8.094 kB / 383.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.006026, allocations: 3.984 kB / 383.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.006035, allocations: 0 / 383.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.224e-05/0.006077, allocations: 4 kB / 383.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-06/0.006079, allocations: 0 / 383.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.357e-06/0.006088, allocations: 7.891 kB / 383.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.006093, allocations: 0 / 383.5 MB, free: 13.33 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 5.383e-05/0.006147, allocations: 160.5 kB / 383.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-06/0.006152, allocations: 0 / 383.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.15e-05/0.006234, allocations: 48.84 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.006236, allocations: 4 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.006238, allocations: 0 / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.006241, allocations: 3.938 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.875e-05/0.006289, allocations: 93.27 kB / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.006293, allocations: 0 / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.313e-06/0.006294, allocations: 3.984 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.006296, allocations: 4 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-06/0.006299, allocations: 3.938 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.0063, allocations: 4.031 kB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.006301, allocations: 0 / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.792e-05/0.006349, allocations: 76.33 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-06/0.006353, allocations: 0 / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.101e-06/0.006359, allocations: 4 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.321e-05/0.006402, allocations: 3.984 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.125e-06/0.006411, allocations: 0 / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.006415, allocations: 4 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.731e-05/0.006442, allocations: 119.2 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006442, allocations: 4.125 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000167/0.006609, allocations: 39.94 kB / 384.1 MB, free: 12.7 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.0001786/0.006788, allocations: 147.1 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.71e-05/0.006835, allocations: 15.62 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.006836, allocations: 0 / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.182e-05/0.006858, allocations: 41.31 kB / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.352e-05/0.006952, allocations: 4 kB / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001361/0.007088, allocations: 94.42 kB / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.512e-05/0.007113, allocations: 59.48 kB / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.413e-05/0.007127, allocations: 3.984 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.007165, allocations: 70.2 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.007165, allocations: 0 / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of Templates: time 0.002402/0.009567, allocations: 1.255 MB / 385.7 MB, free: 10.95 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","",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.7858571680262685]