Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001142/0.001142, allocations: 92.27 kB / 20.95 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008555/0.0008555, allocations: 152.9 kB / 24.26 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8677/0.8677, allocations: 177 MB / 204.5 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2393/0.2393, allocations: 34.24 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 376.8 MB, free: 3.312 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.554e-05/1.704e-05, allocations: 6.312 kB / 376.8 MB, free: 3.305 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002934/0.002951, allocations: 1.669 MB / 378.5 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.004529, allocations: 0.9697 MB / 379.4 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.108e-05/0.00462, allocations: 3.938 kB / 379.4 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003603/0.004981, allocations: 59.72 kB / 379.5 MB, free: 0.582 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.005304, allocations: 107.5 kB / 379.6 MB, free: 488 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001248/0.005429, allocations: 75.56 kB / 379.7 MB, free: 412 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.005586, allocations: 111.7 kB / 379.8 MB, free: 300 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.017e-05/0.005626, allocations: 16.16 kB / 379.8 MB, free: 284 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.988e-05/0.005706, allocations: 59.81 kB / 379.9 MB, free: 224 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.411e-05/0.00579, allocations: 35.91 kB / 379.9 MB, free: 188 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.005807, allocations: 4 kB / 379.9 MB, free: 184 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.355e-05/0.00587, allocations: 31.98 kB / 379.9 MB, free: 152 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.161e-05/0.005922, allocations: 27.84 kB / 380 MB, free: 124 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.02e-05/0.005962, allocations: 15.94 kB / 380 MB, free: 108 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.006127, allocations: 103.6 kB / 380.1 MB, free: 4 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.006129, allocations: 0 / 380.1 MB, free: 4 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.00613, allocations: 0 / 380.1 MB, free: 4 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.006134, allocations: 3.938 kB / 380.1 MB, free: 0 / 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.0004272/0.006561, allocations: 341.7 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.006605, allocations: 12.03 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.855e-05/0.006633, allocations: 30.75 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.697e-05/0.00668, allocations: 12.84 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.00689, allocations: 154.3 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.006899, allocations: 384 / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.006914, allocations: 4.312 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.007075, allocations: 50.23 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.007083, allocations: 192 / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.007096, allocations: 4.125 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.007101, allocations: 4 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.327e-05/0.007154, allocations: 23.92 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001639/0.007318, allocations: 148.7 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.007449, allocations: 50.61 kB / 380.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.726e-05/0.007487, allocations: 20.84 kB / 380.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.007502, allocations: 4 kB / 380.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001225/0.007625, allocations: 71.33 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.143e-06/0.007626, allocations: 0 / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002397/0.007866, allocations: 113.5 kB / 381.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.007902, allocations: 55.41 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.008053, allocations: 194.8 kB / 381.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.008066, allocations: 29.7 kB / 381.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.159e-05/0.008118, allocations: 100.1 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.008149, allocations: 15.91 kB / 381.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.008181, allocations: 17.72 kB / 381.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.666e-05/0.008268, allocations: 322.8 kB / 381.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.262e-05/0.008301, allocations: 15.98 kB / 381.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.538e-05/0.008336, allocations: 33.64 kB / 381.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.122e-05/0.008397, allocations: 49.7 kB / 381.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.008399, allocations: 0 / 381.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001062/0.008506, allocations: 85.58 kB / 382 MB, free: 13.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.008521, allocations: 8 kB / 382 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.008527, allocations: 3.938 kB / 382 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.008539, allocations: 0 / 382 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.031e-05/0.008599, allocations: 11.98 kB / 382 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.008604, allocations: 0 / 382 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.982e-05/0.008634, allocations: 8.031 kB / 382 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.008641, allocations: 4 kB / 382 MB, free: 13.83 MB / 362.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.589e-05/0.008717, allocations: 128.2 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.008732, allocations: 19.78 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.008876, allocations: 98.77 kB / 382.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.008879, allocations: 0 / 382.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.008883, allocations: 8.312 kB / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.008887, allocations: 3.984 kB / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.877e-05/0.008986, allocations: 148.7 kB / 382.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.008988, allocations: 4 kB / 382.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.621e-05/0.009004, allocations: 8 kB / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.009006, allocations: 0 / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.009015, allocations: 11.94 kB / 382.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.009016, allocations: 3.984 kB / 382.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.009017, allocations: 0 / 382.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.009125, allocations: 121 kB / 382.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.188e-05/0.009137, allocations: 7.953 kB / 382.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.009151, allocations: 3.938 kB / 382.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.85e-05/0.00917, allocations: 4 kB / 382.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.009203, allocations: 7.984 kB / 382.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.009216, allocations: 8 kB / 382.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.884e-05/0.009305, allocations: 147.2 kB / 382.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009305, allocations: 0 / 382.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001479/0.009453, allocations: 16 kB / 382.8 MB, free: 13.03 MB / 362.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.0009722/0.01042, allocations: 0.9874 MB / 383.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.01055, allocations: 43.92 kB / 383.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.01056, allocations: 0 / 383.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.259e-05/0.0106, allocations: 23.92 kB / 383.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.01082, allocations: 28.05 kB / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.01208, allocations: 1.532 MB / 385.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.787e-05/0.01216, allocations: 97.36 kB / 385.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.126e-05/0.01221, allocations: 8.5 kB / 385.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.221e-05/0.01226, allocations: 32.48 kB / 385.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01226, allocations: 4 kB / 385.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.02942, allocations: 4.074 MB / 389.6 MB, free: 6.215 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.856/6.886, allocations: 8.062 kB / 389.6 MB, free: 6.207 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_OMSimulator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_OMSimulator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_OMSimulator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_OMSimulator_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39_OMSimulator_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_OMSimulator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_OMSimulator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_OMSimulator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_fmpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_fmpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_fmpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_fmpy_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197433 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_fmpy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_fmpy.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.896226610988379]