Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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: 113.2 kB / 20.43 MB, free: 1.449 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.001567/0.001567, allocations: 210.5 kB / 23.74 MB, free: 4.66 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.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2348/0.2348, allocations: 44.92 MB / 358.8 MB, free: 6.285 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.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",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.002374/0.002374, allocations: 67.91 kB / 0.4932 GB, free: 10.65 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3524, allocations: 65.47 MB / 0.5571 GB, free: 7.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003268/0.3557, allocations: 1.753 MB / 0.5588 GB, free: 5.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.3575, allocations: 1.042 MB / 0.5598 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.049e-05/0.3576, allocations: 3.938 kB / 0.5598 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.3579, allocations: 55.81 kB / 0.5599 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002933/0.3581, allocations: 103.5 kB / 0.56 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.3584, allocations: 87.59 kB / 0.5601 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.3585, allocations: 95.75 kB / 0.5602 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.629e-05/0.3586, allocations: 13.83 kB / 0.5602 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.995e-05/0.3587, allocations: 47.77 kB / 0.5602 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.715e-05/0.3588, allocations: 35.73 kB / 0.5602 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.3588, allocations: 4 kB / 0.5603 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.3589, allocations: 39.98 kB / 0.5603 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.304e-05/0.359, allocations: 35.84 kB / 0.5603 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.984e-05/0.359, allocations: 43.67 kB / 0.5604 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.3593, allocations: 135.4 kB / 0.5605 GB, free: 4.145 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3593, allocations: 0 / 0.5605 GB, free: 4.145 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3593, allocations: 0 / 0.5605 GB, free: 4.145 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.3593, allocations: 3.938 kB / 0.5605 GB, free: 4.141 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.0005604/0.3599, allocations: 381.2 kB / 0.5609 GB, free: 3.738 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.3599, allocations: 12.03 kB / 0.5609 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.551e-05/0.3599, allocations: 30.75 kB / 0.5609 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.36, allocations: 16.84 kB / 0.5609 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.3603, allocations: 163.2 kB / 0.5611 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3603, allocations: 4.375 kB / 0.5611 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.3603, allocations: 3.938 kB / 0.5611 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.3604, allocations: 57.61 kB / 0.5611 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3604, allocations: 4 kB / 0.5611 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3605, allocations: 4 kB / 0.5611 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.3605, allocations: 0 / 0.5611 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.741e-05/0.3605, allocations: 19.98 kB / 0.5612 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003777/0.3609, allocations: 271.9 kB / 0.5614 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.3611, allocations: 58.62 kB / 0.5615 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.233e-05/0.3611, allocations: 20.84 kB / 0.5615 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.3612, allocations: 3.984 kB / 0.5615 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.3613, allocations: 63.39 kB / 0.5616 GB, free: 2.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.3613, allocations: 0 / 0.5616 GB, free: 2.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000536/0.3619, allocations: 181.3 kB / 0.5617 GB, free: 2.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.3619, allocations: 55.41 kB / 0.5618 GB, free: 2.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.3622, allocations: 279.7 kB / 0.5621 GB, free: 2.375 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.3622, allocations: 29.7 kB / 0.5621 GB, free: 2.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.972e-05/0.3623, allocations: 116.1 kB / 0.5622 GB, free: 2.223 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.3623, allocations: 31.72 kB / 0.5622 GB, free: 2.191 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.3624, allocations: 17.72 kB / 0.5622 GB, free: 2.168 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3625, allocations: 334.8 kB / 0.5626 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.8e-05/0.3626, allocations: 16 kB / 0.5626 GB, free: 1.816 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.141e-05/0.3626, allocations: 45.64 kB / 0.5626 GB, free: 1.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.3628, allocations: 53.7 kB / 0.5627 GB, free: 1.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3628, allocations: 0 / 0.5627 GB, free: 1.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001956/0.363, allocations: 113.5 kB / 0.5628 GB, free: 1.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.363, allocations: 11.98 kB / 0.5628 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.363, allocations: 384 / 0.5628 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.363, allocations: 3.938 kB / 0.5628 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.468e-05/0.3631, allocations: 16.03 kB / 0.5628 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.3631, allocations: 8 kB / 0.5628 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.727e-05/0.3631, allocations: 3.938 kB / 0.5628 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.3631, allocations: 7.984 kB / 0.5628 GB, free: 1.539 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.0001158/0.3633, allocations: 137.8 kB / 0.563 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.3633, allocations: 11.91 kB / 0.563 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.3635, allocations: 119 kB / 0.5631 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3635, allocations: 4 kB / 0.5631 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3635, allocations: 4 kB / 0.5631 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3635, allocations: 3.938 kB / 0.5631 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004668/0.364, allocations: 378.6 kB / 0.5635 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.364, allocations: 0 / 0.5635 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.35e-05/0.364, allocations: 8 kB / 0.5635 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.3641, allocations: 7.938 kB / 0.5635 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.3641, allocations: 0 / 0.5635 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3641, allocations: 0 / 0.5635 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3641, allocations: 4.031 kB / 0.5635 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.3643, allocations: 212.2 kB / 0.5637 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.193e-05/0.3643, allocations: 11.91 kB / 0.5637 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.3644, allocations: 3.938 kB / 0.5637 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.366e-05/0.3644, allocations: 8 kB / 0.5637 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.3645, allocations: 7.984 kB / 0.5637 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.3645, allocations: 8 kB / 0.5637 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001842/0.3647, allocations: 200.6 kB / 0.5639 GB, free: 344 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3647, allocations: 0 / 0.5639 GB, free: 344 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.3649, allocations: 28.12 kB / 0.5639 GB, free: 316 kB / 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 (8): * Single equations (assignments): 6 * 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.00217/0.3671, allocations: 1.106 MB / 0.565 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.3673, allocations: 55.91 kB / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.3673, allocations: 0 / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.786e-05/0.3674, allocations: 28.05 kB / 0.5651 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.3677, allocations: 30.53 kB / 0.5651 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.3698, allocations: 1.832 MB / 0.5669 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.3702, allocations: 0.7236 MB / 0.5676 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.247e-05/0.3702, allocations: 16.97 kB / 0.5676 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.159e-05/0.3703, allocations: 43.42 kB / 0.5677 GB, free: 12.53 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3703, allocations: 0 / 0.5677 GB, free: 12.53 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02898/0.3993, allocations: 3.975 MB / 0.5716 GB, free: 8.617 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.91, allocations: 0 / 0.5716 GB, free: 8.617 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.90481284703128]