Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.001003/0.001003, allocations: 84.34 kB / 22.22 MB, free: 2.281 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.001072/0.001072, allocations: 159.9 kB / 25.61 MB, free: 8.574 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.9921/0.9921, allocations: 177 MB / 205.9 MB, free: 4.457 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.1647/0.1647, allocations: 34.87 MB / 297.4 MB, free: 13.34 MB / 282.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.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.09e-05, allocations: 2.875 kB / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002314/0.002335, allocations: 1.934 MB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.003658, allocations: 1.084 MB / 383.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.003764, allocations: 7.938 kB / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004849/0.004249, allocations: 255.2 kB / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004212/0.00467, allocations: 239.1 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.004909, allocations: 119.5 kB / 383.7 MB, free: 19.01 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.005151, allocations: 283.1 kB / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.005267, allocations: 21.89 kB / 384 MB, free: 18.71 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.005405, allocations: 155.6 kB / 384.2 MB, free: 18.56 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.005563, allocations: 187.6 kB / 384.4 MB, free: 18.38 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.005583, allocations: 11.94 kB / 384.4 MB, free: 18.36 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.005684, allocations: 75.83 kB / 384.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.899e-05/0.005753, allocations: 67.77 kB / 384.5 MB, free: 18.22 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.736e-05/0.005801, allocations: 47.73 kB / 384.6 MB, free: 18.18 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.006016, allocations: 203.2 kB / 384.8 MB, free: 17.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.006018, allocations: 3.938 kB / 384.8 MB, free: 17.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.006019, allocations: 0 / 384.8 MB, free: 17.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.006024, allocations: 0 / 384.8 MB, free: 17.97 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005092/0.006534, allocations: 0.6234 MB / 385.4 MB, free: 17.31 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.006573, allocations: 12.03 kB / 385.4 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.411e-05/0.006627, allocations: 36.7 kB / 385.4 MB, free: 17.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.006825, allocations: 231 kB / 385.7 MB, free: 17.01 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.006847, allocations: 4.375 kB / 385.7 MB, free: 17.01 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.006871, allocations: 16.31 kB / 385.7 MB, free: 16.99 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.007026, allocations: 106.3 kB / 385.8 MB, free: 16.87 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.007041, allocations: 4.172 kB / 385.8 MB, free: 16.87 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.007052, allocations: 4.375 kB / 385.8 MB, free: 16.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.007059, allocations: 7.938 kB / 385.8 MB, free: 16.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.224e-05/0.007102, allocations: 31.89 kB / 385.8 MB, free: 16.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003359/0.007438, allocations: 475.2 kB / 386.3 MB, free: 16.33 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.007632, allocations: 110.1 kB / 386.4 MB, free: 16.2 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.594e-05/0.007668, allocations: 39.34 kB / 386.4 MB, free: 16.15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.007681, allocations: 0 / 386.4 MB, free: 16.15 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001264/0.007807, allocations: 124.4 kB / 386.6 MB, free: 16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.007808, allocations: 0 / 386.6 MB, free: 16 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006386/0.008447, allocations: 370.1 kB / 386.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.008479, allocations: 81.09 kB / 387 MB, free: 15.54 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.008677, allocations: 426.5 kB / 387.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.008691, allocations: 29.7 kB / 387.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.54e-05/0.008777, allocations: 231.2 kB / 387.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.365e-05/0.00882, allocations: 75.36 kB / 387.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.008865, allocations: 51.34 kB / 387.8 MB, free: 14.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.673e-05/0.008941, allocations: 0.5312 MB / 388.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.322e-05/0.008975, allocations: 27.97 kB / 388.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.112e-05/0.009026, allocations: 74.86 kB / 388.4 MB, free: 14.05 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.913e-05/0.009115, allocations: 120.6 kB / 388.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.009116, allocations: 0 / 388.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001618/0.009278, allocations: 189.3 kB / 388.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.00929, allocations: 4 kB / 388.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.009296, allocations: 0 / 388.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.009308, allocations: 4 kB / 388.7 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.653e-05/0.009394, allocations: 47.97 kB / 388.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-06/0.009399, allocations: 4 kB / 388.8 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.401e-05/0.009443, allocations: 8 kB / 388.8 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.009452, allocations: 4 kB / 388.8 MB, free: 13.66 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 7.427e-05/0.009527, allocations: 180.4 kB / 389 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.009558, allocations: 39.77 kB / 389 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.009785, allocations: 228.2 kB / 389.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.009788, allocations: 4 kB / 389.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-06/0.00979, allocations: 0 / 389.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.009796, allocations: 4 kB / 389.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003997/0.0102, allocations: 0.7064 MB / 390 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.0102, allocations: 4 kB / 390 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-05/0.01025, allocations: 27.98 kB / 390 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.01025, allocations: 4 kB / 390 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.01026, allocations: 11.94 kB / 390 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.01027, allocations: 7.938 kB / 390 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01027, allocations: 0 / 390 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.01048, allocations: 0.4908 MB / 390.5 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.244e-05/0.0105, allocations: 39.75 kB / 390.5 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.01053, allocations: 11.94 kB / 390.6 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.53e-05/0.0106, allocations: 7.938 kB / 390.6 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.01065, allocations: 23.95 kB / 390.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.01066, allocations: 8 kB / 390.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001012/0.01077, allocations: 279 kB / 390.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01077, allocations: 0 / 390.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002292/0.01099, allocations: 47.94 kB / 390.9 MB, free: 11.45 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001001/0.012, allocations: 496.3 kB / 391.4 MB, free: 11.15 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001586/0.01215, allocations: 119.5 kB / 391.5 MB, free: 11.03 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01216, allocations: 0 / 391.5 MB, free: 11.03 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.021e-05/0.01222, allocations: 71.59 kB / 391.6 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.01256, allocations: 69.28 kB / 391.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005188/0.01307, allocations: 0.5224 MB / 392.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.743e-05/0.01313, allocations: 108.4 kB / 392.3 MB, free: 10.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.839e-05/0.0132, allocations: 37.94 kB / 392.3 MB, free: 10.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.694e-05/0.0133, allocations: 122.2 kB / 392.4 MB, free: 10.04 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.0133, allocations: 0 / 392.4 MB, free: 10.04 MB / 314.7 MB Notification: Performance of Templates: time 0.005229/0.01853, allocations: 3.757 MB / 396.2 MB, free: 6.344 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.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.563357493840158]