Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.001039/0.001039, allocations: 96.27 kB / 20.96 MB, free: 3.473 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.00108/0.00108, 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 1.027/1.027, allocations: 177 MB / 204.5 MB, free: 5.617 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.3768/0.3768, allocations: 34.25 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 179] 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.Test62,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 376.8 MB, free: 3.316 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.441e-05, allocations: 8.781 kB / 376.8 MB, free: 3.309 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002768/0.002792, allocations: 1.669 MB / 378.5 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.004068, allocations: 0.9658 MB / 379.4 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.596e-05/0.004154, allocations: 3.938 kB / 379.4 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.004489, allocations: 55.75 kB / 379.5 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.004789, allocations: 107.5 kB / 379.6 MB, free: 500 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.004942, allocations: 67.62 kB / 379.7 MB, free: 432 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.005117, allocations: 103.7 kB / 379.8 MB, free: 328 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.993e-05/0.005167, allocations: 4.234 kB / 379.8 MB, free: 324 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.256e-05/0.005259, allocations: 55.78 kB / 379.8 MB, free: 268 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.85e-05/0.005348, allocations: 27.89 kB / 379.8 MB, free: 240 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.005367, allocations: 4 kB / 379.9 MB, free: 236 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.389e-05/0.005441, allocations: 31.94 kB / 379.9 MB, free: 204 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.661e-05/0.005508, allocations: 31.86 kB / 379.9 MB, free: 172 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.873e-05/0.005547, allocations: 19.92 kB / 379.9 MB, free: 152 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.005744, allocations: 119.6 kB / 380 MB, free: 32 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.005746, allocations: 0 / 380 MB, free: 32 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005747, allocations: 7.938 kB / 380.1 MB, free: 24 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.005752, allocations: 0 / 380.1 MB, free: 24 kB / 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.0005163/0.006268, allocations: 361.4 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.006316, allocations: 12.03 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.006356, allocations: 34.73 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.006402, allocations: 20.84 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.00662, allocations: 158.5 kB / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.006641, allocations: 384 / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.006652, allocations: 384 / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.006782, allocations: 50.23 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.006789, allocations: 192 / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.006799, allocations: 4.125 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.006806, allocations: 0 / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.746e-05/0.006863, allocations: 31.84 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001792/0.007043, allocations: 164.8 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.007157, allocations: 54.61 kB / 380.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.771e-05/0.007195, allocations: 16.86 kB / 380.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.007212, allocations: 0 / 380.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001312/0.007343, allocations: 79.31 kB / 381 MB, free: 14.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/0.007345, allocations: 0 / 381 MB, free: 14.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000224/0.007569, allocations: 101.5 kB / 381.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.007614, allocations: 55.41 kB / 381.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.007803, allocations: 275 kB / 381.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.007813, allocations: 33.7 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.007866, allocations: 112.1 kB / 381.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.007898, allocations: 15.84 kB / 381.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.007924, allocations: 17.72 kB / 381.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.54e-05/0.00802, allocations: 334.8 kB / 381.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.205e-05/0.008052, allocations: 12 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.742e-05/0.008089, allocations: 33.64 kB / 382 MB, free: 13.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.195e-05/0.008151, allocations: 41.7 kB / 382 MB, free: 13.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.008154, allocations: 0 / 382 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001064/0.00826, allocations: 97.53 kB / 382.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.008275, allocations: 4 kB / 382.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.008282, allocations: 3.938 kB / 382.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.008295, allocations: 7.984 kB / 382.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.928e-05/0.008354, allocations: 8 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.00836, allocations: 0 / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.037e-05/0.00839, allocations: 4 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.008396, allocations: 0 / 382.2 MB, free: 13.71 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 8.098e-05/0.008477, allocations: 133.8 kB / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.008491, allocations: 23.83 kB / 382.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.008642, allocations: 106.8 kB / 382.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.008643, allocations: 0 / 382.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.008648, allocations: 0 / 382.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.008652, allocations: 384 / 382.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.008765, allocations: 160.7 kB / 382.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.008768, allocations: 4 kB / 382.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.937e-05/0.008787, allocations: 11.98 kB / 382.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.00879, allocations: 3.938 kB / 382.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.008801, allocations: 7.938 kB / 382.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.008803, allocations: 0 / 382.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.008804, allocations: 4 kB / 382.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.008921, allocations: 124.9 kB / 382.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.546e-05/0.008937, allocations: 7.953 kB / 382.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.008956, allocations: 7.938 kB / 382.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.08e-05/0.008976, allocations: 3.984 kB / 382.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.009018, allocations: 8 kB / 382.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.009032, allocations: 0 / 382.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001284/0.00916, allocations: 204.6 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00916, allocations: 0 / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001547/0.009315, allocations: 27.89 kB / 383 MB, free: 12.81 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.001054/0.01037, allocations: 0.9876 MB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.0105, allocations: 43.92 kB / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.0105, allocations: 0 / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.971e-05/0.01054, allocations: 23.92 kB / 384 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.01074, allocations: 27.97 kB / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.0126, allocations: 1.706 MB / 385.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.894e-05/0.01268, allocations: 109.8 kB / 385.9 MB, free: 9.938 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.359e-05/0.01272, allocations: 12.48 kB / 385.9 MB, free: 9.926 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.507e-05/0.01279, allocations: 40.48 kB / 385.9 MB, free: 9.887 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01279, allocations: 4 kB / 385.9 MB, free: 9.883 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.03343, allocations: 4.416 MB / 390.3 MB, free: 5.473 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.674/8.708, allocations: 8 kB / 390.4 MB, free: 5.465 MB / 362.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_OMSimulator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_OMSimulator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_OMSimulator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_OMSimulator_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62_OMSimulator_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_OMSimulator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_OMSimulator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_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.Test62_fmpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_fmpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_fmpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_fmpy_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498703 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_fmpy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_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: 11.187649838626385]