Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.0007834/0.0007834, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0009073/0.0009073, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9511/0.9511, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1595/0.1595, allocations: 32.36 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 3.938 kB / 406.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.255e-05, allocations: 5.938 kB / 406.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003185/0.003207, allocations: 1.633 MB / 408.6 MB, free: 11.79 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.00446, allocations: 0.7607 MB / 409.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.998e-05/0.00454, allocations: 0 / 409.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003671/0.004907, allocations: 67.72 kB / 409.4 MB, free: 10.95 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002945/0.005201, allocations: 71.67 kB / 409.5 MB, free: 10.88 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.005482, allocations: 79.72 kB / 409.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.005711, allocations: 103.6 kB / 409.6 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.825e-05/0.00577, allocations: 4 kB / 409.6 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.005898, allocations: 63.75 kB / 409.7 MB, free: 10.63 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.006015, allocations: 35.91 kB / 409.7 MB, free: 10.6 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.006035, allocations: 4 kB / 409.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.28e-05/0.006128, allocations: 39.91 kB / 409.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.216e-05/0.00619, allocations: 15.92 kB / 409.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.006234, allocations: 19.94 kB / 409.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.006531, allocations: 99.69 kB / 409.9 MB, free: 10.42 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.006534, allocations: 0 / 409.9 MB, free: 10.42 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.006535, allocations: 0 / 409.9 MB, free: 10.42 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.006541, allocations: 3.938 kB / 409.9 MB, free: 10.42 MB / 346.7 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.0005365/0.007077, allocations: 329.6 kB / 410.2 MB, free: 10.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.007117, allocations: 8.031 kB / 410.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.141e-05/0.007148, allocations: 30.75 kB / 410.3 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.007187, allocations: 16.88 kB / 410.3 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.007392, allocations: 155.7 kB / 410.5 MB, free: 9.828 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.007405, allocations: 8.359 kB / 410.5 MB, free: 9.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.007416, allocations: 4.375 kB / 410.5 MB, free: 9.816 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.007527, allocations: 49.98 kB / 410.5 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.007535, allocations: 0 / 410.5 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-06/0.007542, allocations: 0 / 410.5 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.007547, allocations: 4 kB / 410.5 MB, free: 9.758 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.716e-05/0.007594, allocations: 15.98 kB / 410.5 MB, free: 9.742 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.007741, allocations: 148.8 kB / 410.7 MB, free: 9.555 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.007846, allocations: 50.56 kB / 410.7 MB, free: 9.496 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.313e-05/0.007879, allocations: 24.84 kB / 410.8 MB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.007892, allocations: 0 / 410.8 MB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/0.008029, allocations: 67.33 kB / 410.8 MB, free: 9.391 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.00803, allocations: 0 / 410.8 MB, free: 9.391 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001973/0.008227, allocations: 101.7 kB / 410.9 MB, free: 9.285 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.008264, allocations: 59.41 kB / 411 MB, free: 9.215 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.008389, allocations: 190.2 kB / 411.2 MB, free: 9.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.008404, allocations: 25.7 kB / 411.2 MB, free: 8.988 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.008441, allocations: 96.14 kB / 411.3 MB, free: 8.891 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.00847, allocations: 23.83 kB / 411.3 MB, free: 8.867 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.008498, allocations: 17.72 kB / 411.3 MB, free: 8.844 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.13e-05/0.008579, allocations: 326.8 kB / 411.6 MB, free: 8.516 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.916e-05/0.008608, allocations: 16.05 kB / 411.7 MB, free: 8.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.833e-05/0.008646, allocations: 29.72 kB / 411.7 MB, free: 8.465 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.206e-05/0.008709, allocations: 41.7 kB / 411.7 MB, free: 8.418 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.008711, allocations: 4 kB / 411.7 MB, free: 8.414 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.283e-05/0.008804, allocations: 89.45 kB / 411.8 MB, free: 8.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.008816, allocations: 10.66 kB / 411.8 MB, free: 8.312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.008821, allocations: 7.969 kB / 411.8 MB, free: 8.305 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.008832, allocations: 0 / 411.8 MB, free: 8.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-05/0.008897, allocations: 12 kB / 411.8 MB, free: 8.293 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.008902, allocations: 3.938 kB / 411.8 MB, free: 8.289 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.702e-05/0.008929, allocations: 7.984 kB / 411.9 MB, free: 8.281 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.008936, allocations: 4 kB / 411.9 MB, free: 8.277 MB / 346.7 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 7.115e-05/0.009007, allocations: 117.8 kB / 412 MB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.009019, allocations: 11.89 kB / 412 MB, free: 8.141 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.009164, allocations: 98.12 kB / 412.1 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.009167, allocations: 7.938 kB / 412.1 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.009172, allocations: 0 / 412.1 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.009175, allocations: 0 / 412.1 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.783e-05/0.009273, allocations: 144.7 kB / 412.2 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.009275, allocations: 3.984 kB / 412.2 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-05/0.009292, allocations: 15.94 kB / 412.3 MB, free: 7.828 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.009294, allocations: 3.938 kB / 412.3 MB, free: 7.824 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.009301, allocations: 0 / 412.3 MB, free: 7.824 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.009302, allocations: 128 / 412.3 MB, free: 7.824 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.009304, allocations: 4 kB / 412.3 MB, free: 7.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.951e-05/0.009403, allocations: 117 kB / 412.4 MB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.334e-05/0.009417, allocations: 19.88 kB / 412.4 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.00943, allocations: 0 / 412.4 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.657e-05/0.009447, allocations: 3.984 kB / 412.4 MB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.009476, allocations: 4 kB / 412.4 MB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.009489, allocations: 4 kB / 412.4 MB, free: 7.656 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.805e-05/0.009567, allocations: 147.2 kB / 412.5 MB, free: 7.512 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009567, allocations: 0 / 412.5 MB, free: 7.512 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001533/0.00972, allocations: 23.94 kB / 412.6 MB, free: 7.488 MB / 346.7 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.0009234/0.01064, allocations: 0.988 MB / 413.6 MB, free: 6.523 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001071/0.01075, allocations: 47.92 kB / 413.6 MB, free: 6.477 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01075, allocations: 0 / 413.6 MB, free: 6.477 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.974e-05/0.01079, allocations: 19.98 kB / 413.6 MB, free: 6.457 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.01096, allocations: 27.97 kB / 413.7 MB, free: 6.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.01203, allocations: 1.495 MB / 415.1 MB, free: 4.848 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.791e-05/0.0121, allocations: 99.17 kB / 415.2 MB, free: 4.73 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.679e-05/0.01214, allocations: 8.5 kB / 415.3 MB, free: 4.723 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.633e-05/0.01218, allocations: 28.48 kB / 415.3 MB, free: 4.691 MB / 346.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01218, allocations: 0 / 415.3 MB, free: 4.691 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/0.02827, allocations: 3.894 MB / 419.2 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.995/7.023, allocations: 15.8 kB / 419.2 MB, free: 0.6719 MB / 346.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197316 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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: 9.241224946454167]