Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.0015/0.0015, 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.001553/0.001553, allocations: 211.2 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.527/1.527, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2307/0.2307, allocations: 44.93 MB / 358.8 MB, free: 6.047 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.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",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.002084/0.002084, allocations: 63.91 kB / 0.4931 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3545, allocations: 65.47 MB / 0.557 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003398/0.3579, allocations: 1.792 MB / 0.5588 GB, free: 5.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.3599, allocations: 1.041 MB / 0.5598 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.085e-05/0.36, allocations: 0 / 0.5598 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005419/0.3605, allocations: 311.2 kB / 0.5601 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005012/0.361, allocations: 263.2 kB / 0.5603 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.3613, allocations: 107.7 kB / 0.5604 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003345/0.3616, allocations: 275.2 kB / 0.5607 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.936e-05/0.3617, allocations: 5.812 kB / 0.5607 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.3618, allocations: 127.6 kB / 0.5608 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002843/0.3621, allocations: 215.4 kB / 0.561 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.3622, allocations: 8 kB / 0.561 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.3623, allocations: 51.98 kB / 0.5611 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.3624, allocations: 143.5 kB / 0.5612 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.3626, allocations: 107.1 kB / 0.5613 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000457/0.363, allocations: 388 kB / 0.5617 GB, free: 2.672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.363, allocations: 0 / 0.5617 GB, free: 2.672 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.363, allocations: 0 / 0.5617 GB, free: 2.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.363, allocations: 4 kB / 0.5617 GB, free: 2.668 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001061/0.3641, allocations: 0.6841 MB / 0.5624 GB, free: 1.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.3641, allocations: 8.031 kB / 0.5624 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.786e-05/0.3642, allocations: 42.73 kB / 0.5624 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.77e-05/0.3643, allocations: 52.55 kB / 0.5625 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006521/0.3649, allocations: 390.5 kB / 0.5628 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.3649, allocations: 4.375 kB / 0.5628 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.3649, allocations: 11.94 kB / 0.5629 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.3652, allocations: 87.3 kB / 0.5629 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3652, allocations: 4 kB / 0.5629 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.3652, allocations: 4 kB / 0.5629 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3652, allocations: 0 / 0.5629 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.3653, allocations: 31.97 kB / 0.563 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.3657, allocations: 345.4 kB / 0.5633 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.366, allocations: 109.1 kB / 0.5634 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.3661, allocations: 41.7 kB / 0.5634 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.3661, allocations: 0 / 0.5634 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002448/0.3664, allocations: 117 kB / 0.5636 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.3664, allocations: 0 / 0.5636 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005089/0.3669, allocations: 205.2 kB / 0.5638 GB, free: 400 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.988e-05/0.3669, allocations: 81.09 kB / 0.5638 GB, free: 300 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.3682, allocations: 1.054 MB / 0.5649 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.3682, allocations: 37.64 kB / 0.5649 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.3684, allocations: 236.1 kB / 0.5651 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.649e-05/0.3685, allocations: 31.8 kB / 0.5652 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.313e-05/0.3685, allocations: 33.7 kB / 0.5652 GB, free: 14.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.3687, allocations: 370.8 kB / 0.5655 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.945e-05/0.3688, allocations: 31.98 kB / 0.5656 GB, free: 14.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.3689, allocations: 59.41 kB / 0.5656 GB, free: 14.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.3691, allocations: 87.36 kB / 0.5657 GB, free: 14.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.3691, allocations: 7.938 kB / 0.5657 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003334/0.3694, allocations: 181.7 kB / 0.5659 GB, free: 14.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.3695, allocations: 6.5 kB / 0.5659 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3695, allocations: 4 kB / 0.5659 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3695, allocations: 0 / 0.5659 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.3696, allocations: 28.05 kB / 0.5659 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3696, allocations: 4 kB / 0.5659 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.3697, allocations: 11.92 kB / 0.5659 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.3697, allocations: 7.938 kB / 0.566 GB, free: 14.06 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002838/0.37, allocations: 229.7 kB / 0.5662 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.152e-05/0.3701, allocations: 59.62 kB / 0.5662 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004131/0.3705, allocations: 201.8 kB / 0.5664 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3705, allocations: 0 / 0.5664 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3705, allocations: 4 kB / 0.5664 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3705, allocations: 3.984 kB / 0.5664 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003443/0.3709, allocations: 296.5 kB / 0.5667 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3709, allocations: 0 / 0.5667 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.892e-05/0.3709, allocations: 11.98 kB / 0.5667 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.3709, allocations: 4 kB / 0.5667 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.3709, allocations: 0 / 0.5667 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3709, allocations: 4 kB / 0.5667 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3709, allocations: 4 kB / 0.5667 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/0.3713, allocations: 225.4 kB / 0.5669 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.3715, allocations: 67.59 kB / 0.567 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.607e-05/0.3715, allocations: 4 kB / 0.567 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.387e-05/0.3716, allocations: 11.92 kB / 0.567 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.3717, allocations: 7.984 kB / 0.567 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.3717, allocations: 12 kB / 0.567 GB, free: 12.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009466/0.3726, allocations: 0.7878 MB / 0.5678 GB, free: 12.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3726, allocations: 4 kB / 0.5678 GB, free: 12.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.3729, allocations: 43.98 kB / 0.5679 GB, free: 12.02 MB / 414.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002248/0.3752, allocations: 1.1 MB / 0.5689 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003013/0.3755, allocations: 79.91 kB / 0.569 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3755, allocations: 0 / 0.569 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.3756, allocations: 43.91 kB / 0.5691 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/0.3761, allocations: 83.44 kB / 0.5691 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006314/0.3824, allocations: 4.598 MB / 0.5736 GB, free: 6.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.3826, allocations: 237.8 kB / 0.5738 GB, free: 5.906 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.3828, allocations: 62.94 kB / 0.5739 GB, free: 5.844 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.383, allocations: 151.4 kB / 0.5741 GB, free: 5.699 MB / 414.1 MB Notification: Performance of SimCode: time 1.302e-06/0.383, allocations: 0 / 0.5741 GB, free: 5.699 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03991/0.4229, allocations: 10.01 MB / 0.5838 GB, free: 11.78 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.72, allocations: 4.062 kB / 0.5838 GB, free: 11.78 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.8205836256966]