Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.0009883/0.0009883, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001057/0.001057, allocations: 160.5 kB / 24.55 MB, free: 16 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.047/1.047, allocations: 177 MB / 204.8 MB, free: 5.594 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.2879/0.2879, allocations: 34.86 MB / 296.3 MB, free: 0.4961 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.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.098e-05/3.308e-05, allocations: 2.312 kB / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003513/0.003546, allocations: 1.627 MB / 380.4 MB, free: 440 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.004616, allocations: 0.5447 MB / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.948e-05/0.004685, allocations: 0 / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.004959, allocations: 35.78 kB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.005292, allocations: 87.55 kB / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.005621, allocations: 107.6 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.005802, allocations: 71.75 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.005918, allocations: 7.859 kB / 381.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.713e-05/0.005995, allocations: 27.92 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.006062, allocations: 19.92 kB / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.006083, allocations: 8 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.177e-05/0.006175, allocations: 35.97 kB / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.663e-05/0.006231, allocations: 11.92 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.692e-05/0.006268, allocations: 11.94 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.006456, allocations: 79.67 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.00646, allocations: 0 / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.006461, allocations: 0 / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.006467, allocations: 0 / 381.5 MB, free: 15.39 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005301/0.006997, allocations: 424 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.007049, allocations: 8.031 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.343e-05/0.007112, allocations: 20.89 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.007309, allocations: 129.1 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.00732, allocations: 4.375 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/0.007351, allocations: 384 / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.007507, allocations: 62.94 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.007519, allocations: 192 / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.007535, allocations: 8.109 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.007548, allocations: 4 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.572e-05/0.007594, allocations: 7.938 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.008024, allocations: 287.7 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.008223, allocations: 47.06 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.602e-05/0.008249, allocations: 11.77 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.008271, allocations: 3.938 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.008295, allocations: 41.33 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.008296, allocations: 0 / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004527/0.008749, allocations: 97.47 kB / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.008785, allocations: 51.41 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.008951, allocations: 215.3 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.008967, allocations: 25.7 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.266e-05/0.009039, allocations: 150.8 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.009065, allocations: 19.84 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.009108, allocations: 23.38 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.009261, allocations: 0.4923 MB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.842e-05/0.009289, allocations: 11.98 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.379e-05/0.009303, allocations: 4 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.307e-05/0.009346, allocations: 23.69 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.009347, allocations: 0 / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.895e-05/0.009446, allocations: 69.52 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.009467, allocations: 6.656 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.009476, allocations: 3.938 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.009501, allocations: 0 / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.764e-05/0.009578, allocations: 19.98 kB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.009586, allocations: 0 / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.939e-05/0.009615, allocations: 0 / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.009627, allocations: 4.25 kB / 383.7 MB, free: 12.94 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 (5): * Single equations (assignments): 5 * 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 9.434e-05/0.009721, allocations: 152.6 kB / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.00976, allocations: 19.84 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.009932, allocations: 74.08 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.009934, allocations: 0 / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.009939, allocations: 0 / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.009942, allocations: 0 / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.01031, allocations: 333.4 kB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.01031, allocations: 0 / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.206e-05/0.01036, allocations: 11.98 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.01036, allocations: 0 / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.934e-06/0.01037, allocations: 0 / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.01038, allocations: 3.938 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01038, allocations: 0 / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.01053, allocations: 211.8 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.205e-05/0.01055, allocations: 7.953 kB / 384.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.01056, allocations: 0 / 384.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.696e-05/0.01062, allocations: 4 kB / 384.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.01066, allocations: 7.984 kB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.01066, allocations: 0 / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.455e-05/0.01076, allocations: 161.6 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01076, allocations: 0 / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002645/0.01102, allocations: 16 kB / 384.7 MB, free: 11.88 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 (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.00117/0.01219, allocations: 373.9 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001303/0.01232, allocations: 35.61 kB / 385.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01232, allocations: 3.938 kB / 385.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.134e-05/0.01235, allocations: 19.81 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.0127, allocations: 27.86 kB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004581/0.01316, allocations: 190.3 kB / 385.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.183e-05/0.01321, allocations: 71.28 kB / 385.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.346e-05/0.01326, allocations: 11.97 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.0133, allocations: 16.5 kB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.0133, allocations: 0 / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of Templates: time 0.004061/0.01736, allocations: 1.172 MB / 386.6 MB, free: 10.04 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.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: 3.4162102648988366]