Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.001895/0.001895, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001736/0.001736, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.523/1.523, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2371/0.2371, allocations: 44.93 MB / 358.9 MB, free: 6.031 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.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",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.91 kB / 0.4931 GB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.339, allocations: 65.48 MB / 0.557 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003308/0.3423, allocations: 1.791 MB / 0.5588 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.3442, allocations: 1.034 MB / 0.5598 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.18e-05/0.3443, allocations: 3.938 kB / 0.5598 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005226/0.3448, allocations: 311.3 kB / 0.5601 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004839/0.3453, allocations: 263.1 kB / 0.5603 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.3455, allocations: 111.7 kB / 0.5604 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003394/0.3459, allocations: 271.2 kB / 0.5607 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.284e-05/0.3459, allocations: 5.812 kB / 0.5607 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.3461, allocations: 135.5 kB / 0.5608 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.3463, allocations: 211.5 kB / 0.561 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.723e-05/0.3464, allocations: 8 kB / 0.561 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.3465, allocations: 43.98 kB / 0.5611 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.3466, allocations: 147.5 kB / 0.5612 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.3468, allocations: 111 kB / 0.5613 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004372/0.3472, allocations: 384.1 kB / 0.5617 GB, free: 2.695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3472, allocations: 0 / 0.5617 GB, free: 2.695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3472, allocations: 4 kB / 0.5617 GB, free: 2.691 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.3472, allocations: 4 kB / 0.5617 GB, free: 2.688 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.0009988/0.3482, allocations: 0.6863 MB / 0.5624 GB, free: 1.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.3482, allocations: 8.031 kB / 0.5624 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.394e-05/0.3483, allocations: 42.73 kB / 0.5624 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.883e-05/0.3484, allocations: 48.61 kB / 0.5625 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00061/0.349, allocations: 390.5 kB / 0.5628 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.349, allocations: 384 / 0.5628 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.349, allocations: 11.94 kB / 0.5629 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.3493, allocations: 91.3 kB / 0.5629 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3493, allocations: 4 kB / 0.5629 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.3493, allocations: 0 / 0.5629 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.3493, allocations: 0 / 0.5629 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.3494, allocations: 35.97 kB / 0.563 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.3498, allocations: 337.4 kB / 0.5633 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.3501, allocations: 105.1 kB / 0.5634 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.3502, allocations: 45.69 kB / 0.5634 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.3502, allocations: 4 kB / 0.5635 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.3505, allocations: 109 kB / 0.5636 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.3505, allocations: 0 / 0.5636 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004915/0.351, allocations: 205.2 kB / 0.5637 GB, free: 432 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.351, allocations: 81.11 kB / 0.5638 GB, free: 332 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.3522, allocations: 1.058 MB / 0.5649 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.3522, allocations: 33.7 kB / 0.5649 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.3524, allocations: 244 kB / 0.5651 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.584e-05/0.3525, allocations: 35.78 kB / 0.5652 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/0.3525, allocations: 25.72 kB / 0.5652 GB, free: 14.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.3527, allocations: 374.8 kB / 0.5655 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.737e-05/0.3528, allocations: 31.98 kB / 0.5656 GB, free: 14.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.3529, allocations: 59.34 kB / 0.5656 GB, free: 14.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.3531, allocations: 95.92 kB / 0.5657 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.3531, allocations: 7.875 kB / 0.5657 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003254/0.3535, allocations: 181.2 kB / 0.5659 GB, free: 14.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3535, allocations: 6.344 kB / 0.5659 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3535, allocations: 4 kB / 0.5659 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3535, allocations: 0 / 0.5659 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.3536, allocations: 23.98 kB / 0.5659 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3536, allocations: 0 / 0.5659 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.3537, allocations: 15.92 kB / 0.5659 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.3538, allocations: 4 kB / 0.566 GB, free: 14.08 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.0002386/0.354, allocations: 233.7 kB / 0.5662 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.35e-05/0.3541, allocations: 59.61 kB / 0.5662 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004216/0.3545, allocations: 201.8 kB / 0.5664 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.3545, allocations: 4 kB / 0.5664 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3545, allocations: 0 / 0.5664 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3545, allocations: 0 / 0.5664 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003437/0.3548, allocations: 292.5 kB / 0.5667 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3549, allocations: 0 / 0.5667 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.951e-05/0.3549, allocations: 15.98 kB / 0.5667 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.3549, allocations: 4 kB / 0.5667 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.3549, allocations: 0 / 0.5667 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3549, allocations: 4.25 kB / 0.5667 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.3549, allocations: 4 kB / 0.5667 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003828/0.3553, allocations: 233.3 kB / 0.567 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.3555, allocations: 67.59 kB / 0.567 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.3555, allocations: 4 kB / 0.567 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.661e-05/0.3556, allocations: 8 kB / 0.567 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.3556, allocations: 11.97 kB / 0.567 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.3556, allocations: 4 kB / 0.567 GB, free: 12.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009196/0.3566, allocations: 0.7956 MB / 0.5678 GB, free: 12.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3566, allocations: 0 / 0.5678 GB, free: 12.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.3568, allocations: 44 kB / 0.5679 GB, free: 12.04 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.00224/0.3591, allocations: 1.096 MB / 0.5689 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002691/0.3593, allocations: 83.89 kB / 0.569 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3593, allocations: 0 / 0.569 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.3595, allocations: 48.03 kB / 0.5691 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.3599, allocations: 75.83 kB / 0.5691 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005887/0.3658, allocations: 4.586 MB / 0.5736 GB, free: 6.195 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.3661, allocations: 237.7 kB / 0.5738 GB, free: 5.941 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001374/0.3662, allocations: 66.92 kB / 0.5739 GB, free: 5.875 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/0.3664, allocations: 159.3 kB / 0.5741 GB, free: 5.723 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3664, allocations: 0 / 0.5741 GB, free: 5.723 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03833/0.4047, allocations: 10 MB / 0.5838 GB, free: 11.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.99, allocations: 0 / 0.5838 GB, free: 11.8 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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: 15.14754874818027]