Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 106.5 kB / 20.37 MB, free: 2.105 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 195 kB / 23.52 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 225.6 MB / 252.1 MB, free: 13.4 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2162/0.2162, allocations: 44.92 MB / 352.1 MB, free: 12.3 MB / 286.1 MB [Timeout remaining time 90] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 59.91 kB / 495.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3347, allocations: 64.26 MB / 0.5468 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003135/0.3379, allocations: 1.719 MB / 0.5485 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002266/0.3401, allocations: 1.537 MB / 0.55 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.299e-05/0.3402, allocations: 5.188 kB / 0.55 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000331/0.3405, allocations: 36.86 kB / 0.5501 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.3408, allocations: 62.33 kB / 0.5501 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.3411, allocations: 115.4 kB / 0.5502 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.3413, allocations: 96.72 kB / 0.5503 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.3414, allocations: 17.16 kB / 0.5503 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.73e-05/0.3415, allocations: 48.09 kB / 0.5504 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.3417, allocations: 42.86 kB / 0.5504 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.3417, allocations: 4.469 kB / 0.5504 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.3418, allocations: 61.09 kB / 0.5505 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.444e-05/0.3419, allocations: 25.44 kB / 0.5505 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.117e-05/0.3419, allocations: 36.56 kB / 0.5505 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.3422, allocations: 132.9 kB / 0.5507 GB, free: 10.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.3422, allocations: 3.984 kB / 0.5507 GB, free: 10.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3422, allocations: 0 / 0.5507 GB, free: 10.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.3422, allocations: 1.375 kB / 0.5507 GB, free: 10.2 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006202/0.3428, allocations: 408.2 kB / 0.5511 GB, free: 9.785 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.3428, allocations: 9.125 kB / 0.5511 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.3429, allocations: 13.16 kB / 0.5511 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.3432, allocations: 218.1 kB / 0.5513 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.3432, allocations: 5.594 kB / 0.5513 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.3432, allocations: 6.75 kB / 0.5513 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.3434, allocations: 81.28 kB / 0.5514 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3434, allocations: 0 / 0.5514 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.3434, allocations: 1.156 kB / 0.5514 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3435, allocations: 1.156 kB / 0.5514 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.919e-05/0.3435, allocations: 31.36 kB / 0.5514 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/0.344, allocations: 296 kB / 0.5517 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.3442, allocations: 66.67 kB / 0.5518 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.565e-05/0.3442, allocations: 22.47 kB / 0.5518 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.3442, allocations: 1.406 kB / 0.5518 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.3444, allocations: 84.09 kB / 0.5519 GB, free: 8.988 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.3444, allocations: 0 / 0.5519 GB, free: 8.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.000625/0.345, allocations: 199.2 kB / 0.5521 GB, free: 8.875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.608e-05/0.3451, allocations: 82.45 kB / 0.5521 GB, free: 8.777 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.3453, allocations: 159.2 kB / 0.5523 GB, free: 8.645 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.3453, allocations: 30.8 kB / 0.5523 GB, free: 8.609 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.521e-05/0.3454, allocations: 99.41 kB / 0.5524 GB, free: 8.512 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.3454, allocations: 29.12 kB / 0.5524 GB, free: 8.488 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.646e-05/0.3455, allocations: 25.44 kB / 0.5525 GB, free: 8.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.3457, allocations: 322.2 kB / 0.5528 GB, free: 8.145 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.917e-05/0.3457, allocations: 24.8 kB / 0.5528 GB, free: 8.133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.052e-05/0.3458, allocations: 43.62 kB / 0.5528 GB, free: 8.098 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.3459, allocations: 79.64 kB / 0.5529 GB, free: 8.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3459, allocations: 0 / 0.5529 GB, free: 8.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002266/0.3462, allocations: 119.3 kB / 0.553 GB, free: 7.969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.3462, allocations: 7.781 kB / 0.553 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3462, allocations: 1 kB / 0.553 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3462, allocations: 5 kB / 0.553 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.453e-05/0.3463, allocations: 18.28 kB / 0.5531 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3463, allocations: 1.25 kB / 0.5531 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/0.3464, allocations: 10.11 kB / 0.5531 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.3464, allocations: 7.562 kB / 0.5531 GB, free: 7.949 MB / 398.1 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 (11): * Single equations (assignments): 11 * 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.0001088/0.3465, allocations: 125.1 kB / 0.5532 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.3465, allocations: 8.641 kB / 0.5532 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002753/0.3468, allocations: 126.8 kB / 0.5533 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3468, allocations: 1.531 kB / 0.5533 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3468, allocations: 0 / 0.5533 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3468, allocations: 5.312 kB / 0.5533 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005024/0.3473, allocations: 412.6 kB / 0.5537 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3473, allocations: 1.188 kB / 0.5537 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.293e-05/0.3473, allocations: 20.64 kB / 0.5537 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3473, allocations: 0.9688 kB / 0.5537 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.3473, allocations: 2.219 kB / 0.5537 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3474, allocations: 1.344 kB / 0.5537 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3474, allocations: 0 / 0.5537 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.3476, allocations: 219.7 kB / 0.554 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.952e-05/0.3477, allocations: 87.2 kB / 0.554 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.3477, allocations: 6.969 kB / 0.554 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.049e-05/0.3478, allocations: 2.406 kB / 0.554 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.3479, allocations: 7.516 kB / 0.5541 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.3479, allocations: 3.281 kB / 0.5541 GB, free: 7.039 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.348, allocations: 126.2 kB / 0.5542 GB, free: 6.941 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.348, allocations: 0 / 0.5542 GB, free: 6.941 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.3483, allocations: 33.53 kB / 0.5542 GB, free: 6.93 MB / 398.1 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.001806/0.3501, allocations: 0.5073 MB / 0.5547 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.3503, allocations: 69.44 kB / 0.5548 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3503, allocations: 1.094 kB / 0.5548 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.461e-05/0.3504, allocations: 30.3 kB / 0.5548 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.3507, allocations: 28.83 kB / 0.5548 GB, free: 6.629 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004983/0.3512, allocations: 236.9 kB / 0.5551 GB, free: 6.418 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.3516, allocations: 0.7074 MB / 0.5557 GB, free: 5.703 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.335e-05/0.3516, allocations: 24.61 kB / 0.5558 GB, free: 5.688 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3516, allocations: 0 / 0.5558 GB, free: 5.688 MB / 398.1 MB Notification: Performance of Templates: time 0.00447/0.3561, allocations: 2.178 MB / 0.5579 GB, free: 4.316 MB / 398.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches