Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.0008624/0.0008624, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001369/0.001369, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9162/0.9162, allocations: 177.1 MB / 204.3 MB, free: 5.711 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.2796/0.2796, allocations: 32.8 MB / 293.5 MB, free: 1.238 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.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 439.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.998e-05/2.156e-05, allocations: 2.281 kB / 439.7 MB, free: 4.168 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002433/0.002455, allocations: 1.713 MB / 441.4 MB, free: 2.438 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.004095, allocations: 1.671 MB / 443.1 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.883e-05/0.004184, allocations: 0 / 443.1 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.004472, allocations: 43.66 kB / 443.1 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003544/0.004826, allocations: 95.53 kB / 443.2 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.005032, allocations: 83.59 kB / 443.3 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.005198, allocations: 111.6 kB / 443.4 MB, free: 440 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.977e-05/0.005298, allocations: 11.98 kB / 443.4 MB, free: 428 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.146e-05/0.005389, allocations: 59.77 kB / 443.5 MB, free: 368 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.005496, allocations: 35.89 kB / 443.5 MB, free: 332 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.005514, allocations: 4 kB / 443.5 MB, free: 328 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.005676, allocations: 107.8 kB / 443.6 MB, free: 220 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.291e-05/0.005728, allocations: 15.92 kB / 443.6 MB, free: 204 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.005767, allocations: 23.92 kB / 443.6 MB, free: 180 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.006005, allocations: 179.4 kB / 443.8 MB, free: 0 / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.006008, allocations: 0 / 443.8 MB, free: 0 / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.00601, allocations: 0 / 443.8 MB, free: 0 / 410.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.006014, allocations: 0 / 443.8 MB, free: 0 / 410.7 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.0005322/0.006547, allocations: 346.6 kB / 444.2 MB, free: 46.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.006591, allocations: 11.69 kB / 444.2 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.664e-05/0.006617, allocations: 39.08 kB / 444.2 MB, free: 46.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.00666, allocations: 14.53 kB / 444.2 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.006891, allocations: 151.7 kB / 444.4 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.006904, allocations: 1.625 kB / 444.4 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.006922, allocations: 4.062 kB / 444.4 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.007073, allocations: 97.17 kB / 444.5 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.007082, allocations: 1.25 kB / 444.5 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.007091, allocations: 7.406 kB / 444.5 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.007096, allocations: 4.172 kB / 444.5 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.023e-05/0.007146, allocations: 24.23 kB / 444.5 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.007427, allocations: 248.5 kB / 444.7 MB, free: 46.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.007548, allocations: 63.44 kB / 444.8 MB, free: 46.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.361e-05/0.007582, allocations: 17.64 kB / 444.8 MB, free: 46.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.007598, allocations: 3.234 kB / 444.8 MB, free: 46.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/0.007725, allocations: 71.94 kB / 444.9 MB, free: 45.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.562e-06/0.007726, allocations: 0 / 444.9 MB, free: 45.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004645/0.008191, allocations: 186.4 kB / 445.1 MB, free: 45.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.008223, allocations: 79.73 kB / 445.2 MB, free: 45.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.008329, allocations: 169.9 kB / 445.3 MB, free: 45.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/0.008338, allocations: 25.7 kB / 445.3 MB, free: 45.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.009e-05/0.008368, allocations: 100.1 kB / 445.4 MB, free: 45.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.008388, allocations: 28.28 kB / 445.5 MB, free: 45.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.008415, allocations: 23.34 kB / 445.5 MB, free: 45.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.07e-05/0.008446, allocations: 331.2 kB / 445.8 MB, free: 45.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.476e-05/0.008481, allocations: 19.95 kB / 445.8 MB, free: 45.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.048e-05/0.008521, allocations: 71.78 kB / 445.9 MB, free: 45.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.487e-05/0.008586, allocations: 65.88 kB / 446 MB, free: 45.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.008587, allocations: 0 / 446 MB, free: 45.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001072/0.008694, allocations: 99.34 kB / 446.1 MB, free: 45.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.008709, allocations: 10.62 kB / 446.1 MB, free: 45.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.008715, allocations: 7.078 kB / 446.1 MB, free: 45.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.008728, allocations: 0 / 446.1 MB, free: 45.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.577e-05/0.008803, allocations: 21.2 kB / 446.1 MB, free: 45.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.008808, allocations: 0 / 446.1 MB, free: 45.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.088e-05/0.008849, allocations: 6.406 kB / 446.1 MB, free: 45.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.008855, allocations: 6.312 kB / 446.1 MB, free: 45.17 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 (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 4.972e-05/0.008905, allocations: 127.4 kB / 446.2 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.008918, allocations: 8.922 kB / 446.3 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.009067, allocations: 119.5 kB / 446.4 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.009069, allocations: 6.531 kB / 446.4 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.009073, allocations: 0 / 446.4 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.009077, allocations: 0 / 446.4 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.009321, allocations: 377.4 kB / 446.7 MB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.009323, allocations: 0 / 446.7 MB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.26e-05/0.009345, allocations: 10.45 kB / 446.8 MB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.009348, allocations: 0 / 446.8 MB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.009356, allocations: 9.781 kB / 446.8 MB, free: 44.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.009359, allocations: 1.062 kB / 446.8 MB, free: 44.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.009361, allocations: 3.094 kB / 446.8 MB, free: 44.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.009468, allocations: 215.3 kB / 447 MB, free: 44.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.199e-05/0.00948, allocations: 9.844 kB / 447 MB, free: 44.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.009497, allocations: 6.625 kB / 447 MB, free: 44.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.361e-05/0.00954, allocations: 5.953 kB / 447 MB, free: 44.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.009569, allocations: 9.875 kB / 447 MB, free: 44.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.009584, allocations: 2.719 kB / 447 MB, free: 44.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.207e-05/0.009636, allocations: 131.9 kB / 447.1 MB, free: 44.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009636, allocations: 4.094 kB / 447.1 MB, free: 44.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002067/0.009843, allocations: 49.84 kB / 447.2 MB, free: 44.4 MB / 410.7 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 (9): * Single equations (assignments): 7 * 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.001131/0.01097, allocations: 1.24 MB / 448.4 MB, free: 43.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.01113, allocations: 66.09 kB / 448.5 MB, free: 43.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01113, allocations: 0 / 448.5 MB, free: 43.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.948e-05/0.01117, allocations: 28.5 kB / 448.5 MB, free: 43.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.0114, allocations: 36.41 kB / 448.6 MB, free: 43.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009947/0.01239, allocations: 1.619 MB / 450.2 MB, free: 42.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.949e-05/0.01244, allocations: 85.41 kB / 450.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.141e-05/0.01249, allocations: 16.41 kB / 450.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.01255, allocations: 39.78 kB / 450.3 MB, free: 42.12 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01255, allocations: 0 / 450.3 MB, free: 42.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.03258, allocations: 4.909 MB / 455.2 MB, free: 40.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.623/6.656, allocations: 2.812 kB / 455.2 MB, free: 40.57 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.887577533721924]