Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.00137/0.00137, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001605/0.001605, allocations: 210.1 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.45/1.45, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2194/0.2194, allocations: 44.93 MB / 358.8 MB, free: 6.086 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002666/0.002666, allocations: 75.89 kB / 0.4931 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3342, allocations: 65.47 MB / 0.557 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003134/0.3373, allocations: 1.713 MB / 0.5587 GB, free: 5.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.339, allocations: 0.9676 MB / 0.5597 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.478e-05/0.3391, allocations: 0 / 0.5597 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.3394, allocations: 47.77 kB / 0.5597 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003112/0.3397, allocations: 103.5 kB / 0.5598 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.3399, allocations: 83.66 kB / 0.5599 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.34, allocations: 95.7 kB / 0.56 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.191e-05/0.3401, allocations: 13.81 kB / 0.56 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.834e-05/0.3402, allocations: 43.78 kB / 0.56 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.976e-05/0.3403, allocations: 31.8 kB / 0.5601 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.3403, allocations: 4 kB / 0.5601 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.975e-05/0.3404, allocations: 47.91 kB / 0.5601 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.913e-05/0.3405, allocations: 23.92 kB / 0.5601 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.419e-05/0.3405, allocations: 27.8 kB / 0.5602 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.3408, allocations: 131.4 kB / 0.5603 GB, free: 4.227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3408, allocations: 0 / 0.5603 GB, free: 4.227 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3408, allocations: 0 / 0.5603 GB, free: 4.227 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.3408, allocations: 0 / 0.5603 GB, free: 4.227 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000532/0.3413, allocations: 349.5 kB / 0.5606 GB, free: 3.855 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3413, allocations: 8.031 kB / 0.5606 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.056e-05/0.3414, allocations: 34.73 kB / 0.5607 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.3414, allocations: 16.83 kB / 0.5607 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.3417, allocations: 162.3 kB / 0.5608 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.3417, allocations: 384 / 0.5608 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.3417, allocations: 7.938 kB / 0.5608 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.3419, allocations: 57.67 kB / 0.5609 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3419, allocations: 0 / 0.5609 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.3419, allocations: 3.984 kB / 0.5609 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.3419, allocations: 0 / 0.5609 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.956e-05/0.342, allocations: 23.98 kB / 0.5609 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.3424, allocations: 263.9 kB / 0.5612 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.3426, allocations: 54.61 kB / 0.5612 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.229e-05/0.3426, allocations: 32.84 kB / 0.5612 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.3426, allocations: 3.938 kB / 0.5612 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.3428, allocations: 71.33 kB / 0.5613 GB, free: 3.023 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.3428, allocations: 0 / 0.5613 GB, free: 3.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005562/0.3434, allocations: 181.3 kB / 0.5615 GB, free: 2.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.3434, allocations: 55.34 kB / 0.5615 GB, free: 2.773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.3436, allocations: 226.6 kB / 0.5618 GB, free: 2.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.3436, allocations: 29.7 kB / 0.5618 GB, free: 2.504 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.501e-05/0.3437, allocations: 108.1 kB / 0.5619 GB, free: 2.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.3438, allocations: 23.86 kB / 0.5619 GB, free: 2.371 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.3438, allocations: 25.7 kB / 0.5619 GB, free: 2.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3439, allocations: 326.8 kB / 0.5623 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.496e-05/0.344, allocations: 19.98 kB / 0.5623 GB, free: 1.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.494e-05/0.3441, allocations: 37.7 kB / 0.5623 GB, free: 1.949 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.3442, allocations: 61.64 kB / 0.5624 GB, free: 1.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3442, allocations: 0 / 0.5624 GB, free: 1.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002027/0.3444, allocations: 101.6 kB / 0.5625 GB, free: 1.777 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.3444, allocations: 8.031 kB / 0.5625 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3444, allocations: 0 / 0.5625 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3444, allocations: 4 kB / 0.5625 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.136e-05/0.3445, allocations: 19.92 kB / 0.5625 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3445, allocations: 0 / 0.5625 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.543e-05/0.3446, allocations: 11.88 kB / 0.5625 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.3446, allocations: 8 kB / 0.5625 GB, free: 1.727 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 (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 0.0001116/0.3447, allocations: 121.8 kB / 0.5626 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.3447, allocations: 15.91 kB / 0.5626 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.345, allocations: 127 kB / 0.5628 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.345, allocations: 0 / 0.5628 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.345, allocations: 4.359 kB / 0.5628 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.345, allocations: 7.938 kB / 0.5628 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004972/0.3455, allocations: 370.6 kB / 0.5631 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3455, allocations: 4.281 kB / 0.5631 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.079e-05/0.3456, allocations: 8 kB / 0.5631 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.3456, allocations: 3.938 kB / 0.5631 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.3456, allocations: 11.94 kB / 0.5632 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3456, allocations: 3.938 kB / 0.5632 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3456, allocations: 7.969 kB / 0.5632 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.3459, allocations: 212.3 kB / 0.5634 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/0.3459, allocations: 7.953 kB / 0.5634 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.3459, allocations: 3.938 kB / 0.5634 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/0.346, allocations: 11.94 kB / 0.5634 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.346, allocations: 7.984 kB / 0.5634 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.346, allocations: 4 kB / 0.5634 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001787/0.3462, allocations: 163.2 kB / 0.5636 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3462, allocations: 0 / 0.5636 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.3465, allocations: 20 kB / 0.5636 GB, free: 0.5391 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.002379/0.3489, allocations: 1.129 MB / 0.5647 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000196/0.3491, allocations: 67.83 kB / 0.5647 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3491, allocations: 4.062 kB / 0.5647 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.914e-05/0.3491, allocations: 27.94 kB / 0.5648 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.3495, allocations: 47.2 kB / 0.5648 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.3516, allocations: 1.69 MB / 0.5665 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.3517, allocations: 96.61 kB / 0.5666 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.479e-05/0.3518, allocations: 24.94 kB / 0.5666 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.934e-05/0.3519, allocations: 39.42 kB / 0.5666 GB, free: 13.5 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3519, allocations: 0 / 0.5666 GB, free: 13.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0291/0.381, allocations: 4.193 MB / 0.5707 GB, free: 9.363 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.66, allocations: 3.938 kB / 0.5707 GB, free: 9.359 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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: 14.592543698847294]