Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007579/0.0007579, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007428/0.0007428, allocations: 173.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7969/0.7969, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1153/0.1153, allocations: 32.37 MB / 270.4 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 408.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.623e-05, allocations: 5.656 kB / 408.2 MB, free: 12.94 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002241/0.002267, allocations: 1.684 MB / 409.9 MB, free: 11.25 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009301/0.003198, allocations: 0.7841 MB / 410.6 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.583e-05/0.003263, allocations: 3.938 kB / 410.7 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.003559, allocations: 35.83 kB / 410.7 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.003767, allocations: 55.7 kB / 410.7 MB, free: 10.36 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.003974, allocations: 91.62 kB / 410.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.004128, allocations: 95.64 kB / 410.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.167e-05/0.00422, allocations: 12.22 kB / 410.9 MB, free: 10.16 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.522e-05/0.004295, allocations: 51.83 kB / 411 MB, free: 10.11 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.932e-05/0.004364, allocations: 23.92 kB / 411 MB, free: 10.09 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.004382, allocations: 4 kB / 411 MB, free: 10.09 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.23e-05/0.004464, allocations: 43.92 kB / 411.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.927e-05/0.004523, allocations: 31.84 kB / 411.1 MB, free: 10.01 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.004559, allocations: 19.92 kB / 411.1 MB, free: 9.992 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.004732, allocations: 107.6 kB / 411.2 MB, free: 9.887 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.004735, allocations: 0 / 411.2 MB, free: 9.887 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.004736, allocations: 0 / 411.2 MB, free: 9.887 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.00474, allocations: 3.938 kB / 411.2 MB, free: 9.883 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004187/0.005159, allocations: 345.6 kB / 411.6 MB, free: 9.516 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.005194, allocations: 8.031 kB / 411.6 MB, free: 9.508 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.005232, allocations: 12.84 kB / 411.6 MB, free: 9.496 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.00541, allocations: 159.1 kB / 411.7 MB, free: 9.316 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.005421, allocations: 384 / 411.7 MB, free: 9.316 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.005441, allocations: 4.375 kB / 411.7 MB, free: 9.312 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.005558, allocations: 54.23 kB / 411.8 MB, free: 9.254 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.005569, allocations: 3.938 kB / 411.8 MB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.005578, allocations: 0 / 411.8 MB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.005582, allocations: 4 kB / 411.8 MB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.257e-05/0.005635, allocations: 27.97 kB / 411.8 MB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002886/0.005924, allocations: 236.5 kB / 412.1 MB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.006048, allocations: 58.67 kB / 412.1 MB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.921e-05/0.006087, allocations: 24.78 kB / 412.1 MB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.006106, allocations: 7.984 kB / 412.1 MB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/0.006226, allocations: 63.39 kB / 412.2 MB, free: 8.781 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 6.91e-07/0.006226, allocations: 0 / 412.2 MB, free: 8.781 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000406/0.006632, allocations: 177.4 kB / 412.4 MB, free: 8.602 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.006664, allocations: 63.41 kB / 412.4 MB, free: 8.527 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.006792, allocations: 203.2 kB / 412.6 MB, free: 8.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.006805, allocations: 29.7 kB / 412.7 MB, free: 8.285 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.476e-05/0.006849, allocations: 104 kB / 412.8 MB, free: 8.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.006875, allocations: 27.78 kB / 412.8 MB, free: 8.152 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.006904, allocations: 21.72 kB / 412.8 MB, free: 8.125 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.971e-05/0.006983, allocations: 326.8 kB / 413.1 MB, free: 7.797 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.529e-05/0.007019, allocations: 19.98 kB / 413.2 MB, free: 7.777 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.292e-05/0.007062, allocations: 41.7 kB / 413.2 MB, free: 7.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.339e-05/0.007135, allocations: 61.64 kB / 413.3 MB, free: 7.664 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.007136, allocations: 0 / 413.3 MB, free: 7.664 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001177/0.007254, allocations: 105.6 kB / 413.4 MB, free: 7.555 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.007267, allocations: 10.66 kB / 413.4 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.007272, allocations: 0 / 413.4 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.007283, allocations: 0 / 413.4 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.767e-05/0.007351, allocations: 15.94 kB / 413.4 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.007358, allocations: 7.984 kB / 413.4 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.543e-05/0.007383, allocations: 192 / 413.4 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.007393, allocations: 8 kB / 413.4 MB, free: 7.516 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.06e-05/0.007463, allocations: 129.8 kB / 413.5 MB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.465e-05/0.007478, allocations: 19.89 kB / 413.5 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.007657, allocations: 127.1 kB / 413.7 MB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.00766, allocations: 0 / 413.7 MB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.007663, allocations: 0 / 413.7 MB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.007666, allocations: 4 kB / 413.7 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.00793, allocations: 350.9 kB / 414 MB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.007931, allocations: 0 / 414 MB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.226e-05/0.007953, allocations: 12.41 kB / 414 MB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.007956, allocations: 8 kB / 414 MB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.007964, allocations: 0 / 414 MB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.007966, allocations: 4 kB / 414 MB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.007967, allocations: 0 / 414 MB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.008099, allocations: 216.2 kB / 414.3 MB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.09e-05/0.00811, allocations: 11.91 kB / 414.3 MB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.008125, allocations: 4 kB / 414.3 MB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.665e-05/0.008162, allocations: 4 kB / 414.3 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.00819, allocations: 7.984 kB / 414.3 MB, free: 6.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.008202, allocations: 4 kB / 414.3 MB, free: 6.559 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.03e-05/0.008282, allocations: 159.9 kB / 414.4 MB, free: 6.402 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008282, allocations: 3.938 kB / 414.4 MB, free: 6.398 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001695/0.008452, allocations: 31.92 kB / 414.5 MB, free: 6.367 MB / 346.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007173/0.009169, allocations: 494.6 kB / 415 MB, free: 5.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001312/0.0093, allocations: 59.91 kB / 415 MB, free: 5.871 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.009302, allocations: 0 / 415 MB, free: 5.871 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.335e-05/0.009345, allocations: 31.97 kB / 415 MB, free: 5.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.009564, allocations: 23.98 kB / 415.1 MB, free: 5.816 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003607/0.009925, allocations: 267.7 kB / 415.3 MB, free: 5.52 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.357e-05/0.009988, allocations: 96.42 kB / 415.4 MB, free: 5.406 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.01002, allocations: 20.48 kB / 415.4 MB, free: 5.387 MB / 346.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01002, allocations: 0 / 415.4 MB, free: 5.387 MB / 346.7 MB Notification: Performance of Templates: time 0.00262/0.01264, allocations: 1.982 MB / 417.4 MB, free: 3.41 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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: 4.353466925211251]