Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.002199/0.002199, allocations: 88.28 kB / 20.96 MB, free: 3.449 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.002629/0.002629, allocations: 156.9 kB / 24.26 MB, free: 148 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.614/1.614, allocations: 177 MB / 204.4 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3612/0.3612, allocations: 34.25 MB / 295.2 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] 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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 377.3 MB, free: 2.812 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.91e-05, allocations: 2.312 kB / 377.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003504/0.003533, allocations: 1.885 MB / 379.2 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002179/0.005712, allocations: 1.083 MB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.773e-05/0.0058, allocations: 0 / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005046/0.006305, allocations: 223.2 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005559/0.006861, allocations: 227.1 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.007179, allocations: 115.6 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003588/0.007538, allocations: 267.2 kB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.892e-05/0.007617, allocations: 17.95 kB / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002534/0.00787, allocations: 143.7 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.00809, allocations: 163.5 kB / 381.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.008116, allocations: 8 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.008249, allocations: 63.91 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.81e-05/0.008337, allocations: 67.77 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.26e-05/0.0084, allocations: 39.8 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.008731, allocations: 239.1 kB / 381.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.008734, allocations: 3.938 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.008734, allocations: 0 / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.008742, allocations: 3.984 kB / 381.8 MB, free: 14.27 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000722/0.009464, allocations: 0.5003 MB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.009493, allocations: 12.03 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.26e-05/0.009566, allocations: 32.75 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/0.00995, allocations: 225.7 kB / 382.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.00997, allocations: 12.36 kB / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.009993, allocations: 4.375 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.01023, allocations: 111.9 kB / 382.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.01024, allocations: 4.188 kB / 382.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.01027, allocations: 4.375 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.01027, allocations: 3.938 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.01042, allocations: 55.89 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006636/0.01108, allocations: 404.5 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/0.01147, allocations: 125.2 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.01158, allocations: 53.75 kB / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.01159, allocations: 0 / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002543/0.01185, allocations: 129.1 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.01185, allocations: 0 / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001512/0.01336, allocations: 0.5241 MB / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/0.01343, allocations: 81.11 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005351/0.01396, allocations: 456.5 kB / 384.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.014, allocations: 33.7 kB / 384.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.01414, allocations: 160.5 kB / 384.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.412e-05/0.01422, allocations: 67.44 kB / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.431e-05/0.01431, allocations: 45.7 kB / 384.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.01452, allocations: 350.7 kB / 385.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.01466, allocations: 59.91 kB / 385.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.01484, allocations: 95.39 kB / 385.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.01519, allocations: 163.3 kB / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.01519, allocations: 0 / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004828/0.01568, allocations: 257.5 kB / 385.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.01569, allocations: 8 kB / 385.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.0157, allocations: 0 / 385.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.01571, allocations: 4 kB / 385.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.01587, allocations: 47.97 kB / 385.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.01588, allocations: 4 kB / 385.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.183e-05/0.01597, allocations: 11.94 kB / 385.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.01599, allocations: 8 kB / 385.8 MB, free: 10.04 MB / 362.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 0.0001923/0.01618, allocations: 161.8 kB / 386 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.237e-05/0.01626, allocations: 43.77 kB / 386 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006165/0.01688, allocations: 285.3 kB / 386.3 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.01689, allocations: 4 kB / 386.3 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.01689, allocations: 0 / 386.3 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.0169, allocations: 7.984 kB / 386.3 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.01806, allocations: 0.6761 MB / 387 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.01807, allocations: 4 kB / 387 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.01817, allocations: 39.8 kB / 387 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.01818, allocations: 4 kB / 387 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.0182, allocations: 8 kB / 387 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.423e-06/0.01821, allocations: 4 kB / 387 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.01821, allocations: 128 / 387 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006746/0.01889, allocations: 461.5 kB / 387.5 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.836e-05/0.01894, allocations: 27.81 kB / 387.5 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.303e-05/0.01899, allocations: 8 kB / 387.5 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.01914, allocations: 7.984 kB / 387.5 MB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.01919, allocations: 19.97 kB / 387.5 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.01922, allocations: 12 kB / 387.6 MB, free: 8.195 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004417/0.01966, allocations: 335 kB / 387.9 MB, free: 7.867 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01966, allocations: 0 / 387.9 MB, free: 7.867 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003863/0.02005, allocations: 59.88 kB / 387.9 MB, free: 7.809 MB / 362.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.002513/0.02256, allocations: 0.5462 MB / 388.5 MB, free: 7.457 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004121/0.02297, allocations: 159.6 kB / 388.6 MB, free: 7.301 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.02298, allocations: 0 / 388.6 MB, free: 7.301 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.02316, allocations: 79.84 kB / 388.7 MB, free: 7.223 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005514/0.02371, allocations: 73.83 kB / 388.8 MB, free: 7.156 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.02482, allocations: 0.5717 MB / 389.4 MB, free: 6.535 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.02505, allocations: 169.8 kB / 389.5 MB, free: 6.352 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.02517, allocations: 41.91 kB / 389.6 MB, free: 6.312 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.079e-05/0.02525, allocations: 32.48 kB / 389.6 MB, free: 6.281 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.02525, allocations: 0 / 389.6 MB, free: 6.281 MB / 362.7 MB Notification: Performance of Templates: time 0.008195/0.03344, allocations: 3.345 MB / 392.9 MB, free: 2.977 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.177061069989577]