Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.001815/0.001815, 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.00223/0.00223, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.495/1.495, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2261/0.2261, allocations: 44.95 MB / 358.9 MB, free: 6.035 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.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",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.00219/0.00219, allocations: 67.89 kB / 0.4931 GB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.345, allocations: 65.47 MB / 0.557 GB, free: 7.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003424/0.3485, allocations: 1.668 MB / 0.5587 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.3504, allocations: 0.9549 MB / 0.5596 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.459e-05/0.3505, allocations: 0 / 0.5596 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003602/0.3508, allocations: 59.73 kB / 0.5596 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003702/0.3512, allocations: 95.59 kB / 0.5597 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.3514, allocations: 75.69 kB / 0.5598 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.3516, allocations: 99.62 kB / 0.5599 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.265e-05/0.3517, allocations: 8.234 kB / 0.5599 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.634e-05/0.3518, allocations: 43.78 kB / 0.56 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.932e-05/0.3519, allocations: 35.78 kB / 0.56 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.3519, allocations: 4 kB / 0.56 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.954e-05/0.352, allocations: 31.98 kB / 0.56 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.807e-05/0.3521, allocations: 27.91 kB / 0.5601 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.085e-05/0.3521, allocations: 31.75 kB / 0.5601 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.3524, allocations: 125.2 kB / 0.5602 GB, free: 4.234 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.3524, allocations: 0 / 0.5602 GB, free: 4.234 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.3524, allocations: 4 kB / 0.5602 GB, free: 4.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.3524, allocations: 0 / 0.5602 GB, free: 4.23 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006982/0.3531, allocations: 369.3 kB / 0.5606 GB, free: 3.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.3532, allocations: 8.031 kB / 0.5606 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.076e-05/0.3532, allocations: 34.75 kB / 0.5606 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/0.3533, allocations: 12.89 kB / 0.5606 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.3536, allocations: 155.2 kB / 0.5608 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.3536, allocations: 8.375 kB / 0.5608 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.3537, allocations: 3.938 kB / 0.5608 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.3538, allocations: 57.61 kB / 0.5608 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3539, allocations: 4 kB / 0.5608 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.3539, allocations: 0 / 0.5608 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3539, allocations: 0 / 0.5608 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.035e-05/0.354, allocations: 15.98 kB / 0.5608 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002383/0.3542, allocations: 160.7 kB / 0.561 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.3544, allocations: 58.55 kB / 0.5611 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.545e-05/0.3545, allocations: 20.86 kB / 0.5611 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.3545, allocations: 7.984 kB / 0.5611 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001856/0.3547, allocations: 67.33 kB / 0.5611 GB, free: 3.129 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.3547, allocations: 0 / 0.5611 GB, free: 3.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003149/0.355, allocations: 101.6 kB / 0.5612 GB, free: 3.023 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.355, allocations: 51.41 kB / 0.5613 GB, free: 2.961 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003127/0.3554, allocations: 279.8 kB / 0.5616 GB, free: 2.676 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.3554, allocations: 25.7 kB / 0.5616 GB, free: 2.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.336e-05/0.3555, allocations: 116.1 kB / 0.5617 GB, free: 2.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.3555, allocations: 19.84 kB / 0.5617 GB, free: 2.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.3556, allocations: 25.66 kB / 0.5617 GB, free: 2.477 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.3557, allocations: 330.8 kB / 0.5621 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.423e-05/0.3558, allocations: 15.98 kB / 0.5621 GB, free: 2.129 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.329e-05/0.3558, allocations: 33.7 kB / 0.5621 GB, free: 2.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.3559, allocations: 45.7 kB / 0.5621 GB, free: 2.039 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.3559, allocations: 3.938 kB / 0.5621 GB, free: 2.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001784/0.3561, allocations: 85.53 kB / 0.5622 GB, free: 1.945 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.3561, allocations: 12.02 kB / 0.5622 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3561, allocations: 0 / 0.5622 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3562, allocations: 4 kB / 0.5622 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.48e-05/0.3562, allocations: 8 kB / 0.5622 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.3562, allocations: 0 / 0.5622 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.022e-05/0.3563, allocations: 7.953 kB / 0.5623 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.3563, allocations: 0 / 0.5623 GB, free: 1.914 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 (7): * Single equations (assignments): 7 * 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.0001212/0.3564, allocations: 141.7 kB / 0.5624 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.3564, allocations: 20.2 kB / 0.5624 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.3567, allocations: 98.77 kB / 0.5625 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.3567, allocations: 4 kB / 0.5625 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3567, allocations: 4 kB / 0.5625 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3567, allocations: 3.984 kB / 0.5625 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.3569, allocations: 172.6 kB / 0.5627 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3569, allocations: 0 / 0.5627 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.793e-05/0.3569, allocations: 4 kB / 0.5627 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3569, allocations: 0 / 0.5627 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.3569, allocations: 3.938 kB / 0.5627 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3569, allocations: 0 / 0.5627 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3569, allocations: 0 / 0.5627 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.3571, allocations: 124.9 kB / 0.5628 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.501e-05/0.3571, allocations: 15.91 kB / 0.5628 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.3572, allocations: 8 kB / 0.5628 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.038e-05/0.3572, allocations: 3.984 kB / 0.5628 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.3572, allocations: 4 kB / 0.5628 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.3573, allocations: 0 / 0.5628 GB, free: 1.234 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002063/0.3575, allocations: 204.6 kB / 0.563 GB, free: 1.035 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3575, allocations: 0 / 0.563 GB, free: 1.035 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002281/0.3577, allocations: 23.94 kB / 0.5631 GB, free: 1.012 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002086/0.3598, allocations: 1.001 MB / 0.564 GB, free: 168 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001881/0.36, allocations: 39.98 kB / 0.5641 GB, free: 128 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.36, allocations: 0 / 0.5641 GB, free: 128 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.53e-05/0.36, allocations: 27.92 kB / 0.5641 GB, free: 100 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.3603, allocations: 32.31 kB / 0.5641 GB, free: 76 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.3624, allocations: 1.694 MB / 0.5658 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.3625, allocations: 105.8 kB / 0.5659 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.111e-05/0.3625, allocations: 8.75 kB / 0.5659 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.171e-05/0.3626, allocations: 43.36 kB / 0.5659 GB, free: 14.12 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3626, allocations: 4 kB / 0.5659 GB, free: 14.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03033/0.3929, allocations: 4.168 MB / 0.57 GB, free: 10 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.69, allocations: 8.062 kB / 0.57 GB, free: 9.992 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.698132279794663]