Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.001914/0.001914, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002431/0.002431, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.595/1.595, 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.238/0.238, allocations: 44.91 MB / 358.9 MB, free: 6.27 MB / 286.1 MB " [Timeout remaining time 179] 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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",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.002173/0.002173, allocations: 67.89 kB / 0.4932 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3945, allocations: 65.47 MB / 0.5571 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.00337/0.3978, allocations: 1.739 MB / 0.5588 GB, free: 5.992 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.3997, allocations: 1.053 MB / 0.5598 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.197e-05/0.3998, allocations: 3.938 kB / 0.5598 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.4, allocations: 39.84 kB / 0.5599 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.4003, allocations: 99.53 kB / 0.56 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.4005, allocations: 83.66 kB / 0.56 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.4007, allocations: 99.75 kB / 0.5601 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.493e-05/0.4008, allocations: 9.766 kB / 0.5601 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.4009, allocations: 51.77 kB / 0.5602 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.417e-05/0.401, allocations: 35.8 kB / 0.5602 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.401, allocations: 4 kB / 0.5602 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.4011, allocations: 39.98 kB / 0.5603 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.113e-05/0.4012, allocations: 23.91 kB / 0.5603 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.629e-05/0.4013, allocations: 35.69 kB / 0.5603 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.4015, allocations: 127.5 kB / 0.5604 GB, free: 4.293 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4015, allocations: 0 / 0.5604 GB, free: 4.293 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4015, allocations: 0 / 0.5604 GB, free: 4.293 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.4015, allocations: 3.938 kB / 0.5605 GB, free: 4.289 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.0005999/0.4021, allocations: 357.5 kB / 0.5608 GB, free: 3.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.4021, allocations: 12.03 kB / 0.5608 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.795e-05/0.4022, allocations: 30.75 kB / 0.5608 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.727e-05/0.4022, allocations: 12.83 kB / 0.5608 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.4025, allocations: 158.3 kB / 0.561 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.4025, allocations: 4.375 kB / 0.561 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.4026, allocations: 3.938 kB / 0.561 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.4027, allocations: 53.67 kB / 0.5611 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.4027, allocations: 4 kB / 0.5611 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.4027, allocations: 11.92 kB / 0.5611 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.4028, allocations: 0 / 0.5611 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.151e-05/0.4028, allocations: 23.98 kB / 0.5611 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/0.4032, allocations: 259.9 kB / 0.5613 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.4034, allocations: 50.69 kB / 0.5614 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.26e-05/0.4035, allocations: 28.78 kB / 0.5614 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.4035, allocations: 0 / 0.5614 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.4037, allocations: 63.39 kB / 0.5615 GB, free: 3.102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.4037, allocations: 0 / 0.5615 GB, free: 3.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000565/0.4042, allocations: 189.3 kB / 0.5617 GB, free: 2.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.4043, allocations: 51.41 kB / 0.5617 GB, free: 2.848 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.4045, allocations: 222.6 kB / 0.5619 GB, free: 2.617 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.4045, allocations: 25.7 kB / 0.5619 GB, free: 2.586 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.87e-05/0.4046, allocations: 108.1 kB / 0.562 GB, free: 2.477 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.4047, allocations: 27.78 kB / 0.5621 GB, free: 2.449 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.4047, allocations: 21.72 kB / 0.5621 GB, free: 2.422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4048, allocations: 326.8 kB / 0.5624 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.958e-05/0.4049, allocations: 20.36 kB / 0.5624 GB, free: 2.074 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.841e-05/0.405, allocations: 33.7 kB / 0.5625 GB, free: 2.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.4051, allocations: 69.7 kB / 0.5625 GB, free: 1.961 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.4051, allocations: 4 kB / 0.5625 GB, free: 1.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001909/0.4053, allocations: 101.5 kB / 0.5626 GB, free: 1.852 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.4053, allocations: 4 kB / 0.5626 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.4053, allocations: 0 / 0.5626 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.4053, allocations: 4 kB / 0.5626 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.917e-05/0.4054, allocations: 19.98 kB / 0.5627 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.4054, allocations: 4.219 kB / 0.5627 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.589e-05/0.4055, allocations: 7.938 kB / 0.5627 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.4055, allocations: 11.88 kB / 0.5627 GB, free: 1.801 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.0001144/0.4056, allocations: 125.8 kB / 0.5628 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.4056, allocations: 15.91 kB / 0.5628 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.4059, allocations: 115 kB / 0.5629 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4059, allocations: 0 / 0.5629 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4059, allocations: 0 / 0.5629 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.4059, allocations: 7.938 kB / 0.5629 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000468/0.4063, allocations: 370.4 kB / 0.5633 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4063, allocations: 0 / 0.5633 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.596e-05/0.4064, allocations: 11.98 kB / 0.5633 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.4064, allocations: 3.938 kB / 0.5633 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.4064, allocations: 0 / 0.5633 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.4064, allocations: 4 kB / 0.5633 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4064, allocations: 0 / 0.5633 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.4066, allocations: 208.3 kB / 0.5635 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.847e-05/0.4066, allocations: 7.953 kB / 0.5635 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.4067, allocations: 7.922 kB / 0.5635 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.024e-05/0.4067, allocations: 4 kB / 0.5635 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.4068, allocations: 7.984 kB / 0.5635 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.4068, allocations: 4 kB / 0.5635 GB, free: 0.832 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.4069, allocations: 160.3 kB / 0.5637 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4069, allocations: 0 / 0.5637 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.4072, allocations: 23.94 kB / 0.5637 GB, free: 0.6523 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 (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.002178/0.4094, allocations: 1.1 MB / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001906/0.4096, allocations: 63.84 kB / 0.5648 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4096, allocations: 0 / 0.5648 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.329e-05/0.4096, allocations: 23.98 kB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.41, allocations: 34.33 kB / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.4119, allocations: 1.685 MB / 0.5665 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.4123, allocations: 0.7041 MB / 0.5672 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.632e-05/0.4124, allocations: 24.88 kB / 0.5673 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.154e-05/0.4125, allocations: 47.34 kB / 0.5673 GB, free: 13.02 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4125, allocations: 4 kB / 0.5673 GB, free: 13.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03086/0.4433, allocations: 3.684 MB / 0.5709 GB, free: 9.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.45, allocations: 7.062 kB / 0.5709 GB, free: 9.391 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.74174973811023]