Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.0009409/0.0009409, 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.0008912/0.0008912, allocations: 171.9 kB / 24.82 MB, free: 9.273 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.9134/0.9134, allocations: 177 MB / 205.1 MB, free: 5.473 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.2304/0.2304, allocations: 34.87 MB / 296.6 MB, free: 0.5156 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 379.2 MB, free: 1.832 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024e-05/1.168e-05, allocations: 2.312 kB / 379.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002104/0.002116, allocations: 1.682 MB / 380.9 MB, free: 136 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006903/0.002806, allocations: 0.5408 MB / 381.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.787e-05/0.002864, allocations: 7.938 kB / 381.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.0031, allocations: 91.67 kB / 381.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.003327, allocations: 115.5 kB / 381.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.003533, allocations: 119.6 kB / 381.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.003658, allocations: 111.7 kB / 381.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.518e-05/0.003743, allocations: 15.98 kB / 381.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.312e-05/0.003807, allocations: 55.89 kB / 382 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.97e-05/0.003886, allocations: 63.84 kB / 382 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.0039, allocations: 8 kB / 382 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.588e-05/0.003966, allocations: 51.84 kB / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.172e-05/0.004008, allocations: 27.86 kB / 382.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.682e-05/0.004035, allocations: 23.92 kB / 382.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.004169, allocations: 107.6 kB / 382.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.00417, allocations: 4 kB / 382.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004171, allocations: 0 / 382.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.035e-06/0.004174, allocations: 0 / 382.3 MB, free: 14.8 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003478/0.004522, allocations: 467.7 kB / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.004553, allocations: 12.03 kB / 382.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.004585, allocations: 24.78 kB / 382.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.004692, allocations: 156.4 kB / 382.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-06/0.004699, allocations: 384 / 382.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.004716, allocations: 8.375 kB / 382.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.563e-05/0.004802, allocations: 66.94 kB / 383 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.00481, allocations: 192 / 383 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.004817, allocations: 12.31 kB / 383 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.004823, allocations: 4.375 kB / 383 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.887e-05/0.004852, allocations: 27.28 kB / 383 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002409/0.005092, allocations: 296.2 kB / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.569e-05/0.005148, allocations: 54.98 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.747e-05/0.005166, allocations: 15.83 kB / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.005185, allocations: 4 kB / 383.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.005207, allocations: 49.31 kB / 383.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.005208, allocations: 0 / 383.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004423/0.00565, allocations: 217.2 kB / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.178e-05/0.005672, allocations: 55.41 kB / 383.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.005786, allocations: 242.7 kB / 383.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.005795, allocations: 25.7 kB / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.355e-05/0.005848, allocations: 170.7 kB / 384.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.005875, allocations: 43.62 kB / 384.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.00591, allocations: 35.38 kB / 384.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.006017, allocations: 0.5078 MB / 384.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.676e-05/0.006033, allocations: 12 kB / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.005e-05/0.006053, allocations: 20.11 kB / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.776e-05/0.006101, allocations: 47.66 kB / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.006102, allocations: 0 / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.831e-05/0.00619, allocations: 100.5 kB / 384.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/0.006198, allocations: 8 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.006202, allocations: 0.7031 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.629e-06/0.006212, allocations: 0 / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.522e-05/0.006277, allocations: 23.98 kB / 384.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-06/0.006279, allocations: 0 / 384.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.007e-05/0.006299, allocations: 11.98 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.006306, allocations: 8 kB / 384.9 MB, free: 11.92 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 (13): * Single equations (assignments): 13 * 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.943e-05/0.006365, allocations: 164.5 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.006387, allocations: 15.91 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.006519, allocations: 123.1 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.00652, allocations: 0 / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.006522, allocations: 0 / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.006524, allocations: 0 / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.006796, allocations: 393.5 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.006797, allocations: 0 / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.382e-05/0.006841, allocations: 35.95 kB / 385.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.006844, allocations: 4 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.006851, allocations: 7.938 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.006851, allocations: 0 / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.006852, allocations: 4 kB / 385.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.006971, allocations: 259.4 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.859e-06/0.00698, allocations: 15.91 kB / 385.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.006991, allocations: 4 kB / 385.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.656e-05/0.007028, allocations: 7.984 kB / 385.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.007051, allocations: 15.92 kB / 386 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.007054, allocations: 4 kB / 386 MB, free: 10.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.934e-05/0.007114, allocations: 177 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007114, allocations: 0 / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001566/0.00727, allocations: 27.92 kB / 386.2 MB, free: 10.61 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.0007779/0.008048, allocations: 425.6 kB / 386.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.59e-05/0.008134, allocations: 55.59 kB / 386.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.008136, allocations: 4 kB / 386.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.575e-05/0.008172, allocations: 47.59 kB / 386.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.008358, allocations: 15.98 kB / 386.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005373/0.008895, allocations: 284.6 kB / 387 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.762e-05/0.008932, allocations: 71.33 kB / 387.1 MB, free: 9.793 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.669e-05/0.008969, allocations: 16.48 kB / 387.1 MB, free: 9.777 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/0.009026, allocations: 86.19 kB / 387.2 MB, free: 9.691 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.009026, allocations: 4.062 kB / 387.2 MB, free: 9.688 MB / 362.7 MB Notification: Performance of Templates: time 0.00294/0.01197, allocations: 1.786 MB / 388.9 MB, free: 7.922 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.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.801912687253207]