Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.0007754/0.0007754, allocations: 87.69 kB / 20.67 MB, free: 3.883 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.0007446/0.0007446, allocations: 165.3 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.9107/0.9107, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2713/0.2713, allocations: 32.79 MB / 293.5 MB, free: 1.227 MB / 266.7 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.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 439.7 MB, free: 4.176 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.31e-05, allocations: 6.781 kB / 439.7 MB, free: 4.168 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002512/0.002535, allocations: 1.667 MB / 441.3 MB, free: 2.484 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.003971, allocations: 0.9586 MB / 442.3 MB, free: 1.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.004086, allocations: 0 / 442.3 MB, free: 1.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004339/0.004519, allocations: 67.66 kB / 442.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003565/0.004876, allocations: 111.5 kB / 442.5 MB, free: 1.344 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.00504, allocations: 75.67 kB / 442.5 MB, free: 1.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000206/0.005246, allocations: 111.6 kB / 442.7 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.145e-05/0.005297, allocations: 4.172 kB / 442.7 MB, free: 1.156 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.005401, allocations: 59.83 kB / 442.7 MB, free: 1.098 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.005518, allocations: 47.88 kB / 442.8 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.005535, allocations: 0 / 442.8 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.914e-05/0.005624, allocations: 31.94 kB / 442.8 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.005725, allocations: 23.91 kB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.215e-05/0.005767, allocations: 19.92 kB / 442.8 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.005959, allocations: 103.6 kB / 442.9 MB, free: 0.875 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.005962, allocations: 8 kB / 442.9 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005963, allocations: 0 / 442.9 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.005971, allocations: 0 / 442.9 MB, free: 0.8672 MB / 410.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.0005667/0.006538, allocations: 329.7 kB / 443.3 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.006585, allocations: 8.031 kB / 443.3 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.364e-05/0.006619, allocations: 34.75 kB / 443.3 MB, free: 476 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.006659, allocations: 16.84 kB / 443.3 MB, free: 460 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.006867, allocations: 142.3 kB / 443.5 MB, free: 292 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.00688, allocations: 8.312 kB / 443.5 MB, free: 284 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.00689, allocations: 384 / 443.5 MB, free: 284 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.007017, allocations: 69.91 kB / 443.5 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.007025, allocations: 0 / 443.5 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.007035, allocations: 0 / 443.5 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.007042, allocations: 3.984 kB / 443.5 MB, free: 204 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.908e-05/0.007091, allocations: 12 kB / 443.6 MB, free: 192 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.217/0.2241, allocations: 156.7 kB / 443.7 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.2243, allocations: 50.98 kB / 443.8 MB, free: 46.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.293e-05/0.2244, allocations: 22.05 kB / 443.8 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.2244, allocations: 0.5 kB / 443.8 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.2246, allocations: 67.95 kB / 443.8 MB, free: 46.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 2.304e-06/0.2246, allocations: 0 / 443.8 MB, free: 46.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002691/0.2249, allocations: 101.7 kB / 443.9 MB, free: 46.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.2249, allocations: 54.88 kB / 444 MB, free: 46.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.225, allocations: 199.6 kB / 444.2 MB, free: 46.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.225, allocations: 29.45 kB / 444.2 MB, free: 46.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/0.2251, allocations: 97.52 kB / 444.3 MB, free: 46.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.193e-05/0.2251, allocations: 17.75 kB / 444.3 MB, free: 46.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.2252, allocations: 19.47 kB / 444.4 MB, free: 46.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.795e-05/0.2252, allocations: 330.7 kB / 444.7 MB, free: 45.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.02e-05/0.2253, allocations: 14.75 kB / 444.7 MB, free: 45.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.571e-05/0.2253, allocations: 33.98 kB / 444.7 MB, free: 45.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.061e-05/0.2254, allocations: 50.91 kB / 444.8 MB, free: 45.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2254, allocations: 0 / 444.8 MB, free: 45.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001016/0.2255, allocations: 84.92 kB / 444.9 MB, free: 45.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.2255, allocations: 5.781 kB / 444.9 MB, free: 45.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2255, allocations: 2.625 kB / 444.9 MB, free: 45.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.2255, allocations: 1.875 kB / 444.9 MB, free: 45.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.106e-05/0.2256, allocations: 12.52 kB / 444.9 MB, free: 45.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.2256, allocations: 3 kB / 444.9 MB, free: 45.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.918e-05/0.2256, allocations: 6 kB / 444.9 MB, free: 45.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.2256, allocations: 3.219 kB / 444.9 MB, free: 45.88 MB / 410.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 6.515e-05/0.2257, allocations: 130.2 kB / 445 MB, free: 45.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.2257, allocations: 10.55 kB / 445 MB, free: 45.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001382/0.2258, allocations: 96.81 kB / 445.1 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2258, allocations: 2.969 kB / 445.1 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2258, allocations: 0 / 445.1 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.2258, allocations: 0 / 445.1 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.745e-05/0.2259, allocations: 161.5 kB / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2259, allocations: 0 / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.835e-05/0.226, allocations: 10.25 kB / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.226, allocations: 3.281 kB / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.226, allocations: 2.906 kB / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.226, allocations: 0 / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.226, allocations: 0 / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.702e-05/0.2261, allocations: 119.4 kB / 445.4 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.767e-05/0.2261, allocations: 13.77 kB / 445.4 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.2261, allocations: 7 kB / 445.4 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.866e-05/0.2261, allocations: 2.406 kB / 445.4 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.2261, allocations: 9.078 kB / 445.4 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.2262, allocations: 5.047 kB / 445.5 MB, free: 45.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.336e-05/0.2262, allocations: 158.3 kB / 445.6 MB, free: 45.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2262, allocations: 0 / 445.6 MB, free: 45.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001581/0.2264, allocations: 18.81 kB / 445.6 MB, free: 45.41 MB / 410.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.0009376/0.2273, allocations: 0.9811 MB / 446.6 MB, free: 44.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001301/0.2275, allocations: 42.08 kB / 446.6 MB, free: 44.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2275, allocations: 0 / 446.6 MB, free: 44.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.96e-05/0.2275, allocations: 27.53 kB / 446.7 MB, free: 44.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.2277, allocations: 24.53 kB / 446.7 MB, free: 44.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009926/0.2287, allocations: 1.529 MB / 448.2 MB, free: 43.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.922e-05/0.2287, allocations: 91.08 kB / 448.3 MB, free: 43.47 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.809e-05/0.2288, allocations: 22.95 kB / 448.3 MB, free: 43.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.557e-05/0.2288, allocations: 33.52 kB / 448.4 MB, free: 43.44 MB / 410.7 MB Notification: Performance of SimCode: time 8.02e-07/0.2288, allocations: 0 / 448.4 MB, free: 43.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.017/0.2458, allocations: 3.98 MB / 452.4 MB, free: 42.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.664/6.91, allocations: 0 / 452.4 MB, free: 42.07 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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: 8.921887653879821]