Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.001994/0.001994, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001439/0.001439, allocations: 214.7 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.432/1.432, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2703/0.2703, allocations: 46.94 MB / 360.9 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test62,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 67.91 kB / 0.4962 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3263, allocations: 66.03 MB / 0.5607 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003221/0.3295, allocations: 1.698 MB / 0.5624 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.3314, allocations: 1.034 MB / 0.5634 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.868e-05/0.3315, allocations: 3.938 kB / 0.5634 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003296/0.3318, allocations: 47.77 kB / 0.5634 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003401/0.3321, allocations: 99.59 kB / 0.5635 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.3324, allocations: 79.66 kB / 0.5636 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.3326, allocations: 99.69 kB / 0.5637 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.88e-05/0.3326, allocations: 4.234 kB / 0.5637 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.3327, allocations: 55.72 kB / 0.5638 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.944e-05/0.3328, allocations: 23.86 kB / 0.5638 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.3328, allocations: 4 kB / 0.5638 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.219e-05/0.3329, allocations: 27.98 kB / 0.5638 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.541e-05/0.333, allocations: 31.91 kB / 0.5638 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.997e-05/0.333, allocations: 43.67 kB / 0.5639 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.3333, allocations: 125.2 kB / 0.564 GB, free: 1.051 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3333, allocations: 3.938 kB / 0.564 GB, free: 1.047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3333, allocations: 0 / 0.564 GB, free: 1.047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.976e-06/0.3333, allocations: 4 kB / 0.564 GB, free: 1.043 MB / 398.1 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.0006705/0.334, allocations: 361.4 kB / 0.5643 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.334, allocations: 12.03 kB / 0.5644 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.401e-05/0.3341, allocations: 34.75 kB / 0.5644 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.3341, allocations: 16.88 kB / 0.5644 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.3344, allocations: 159.2 kB / 0.5646 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.3345, allocations: 4.375 kB / 0.5646 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.3345, allocations: 7.938 kB / 0.5646 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.3346, allocations: 49.61 kB / 0.5646 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3346, allocations: 0 / 0.5646 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3347, allocations: 4 kB / 0.5646 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3347, allocations: 0 / 0.5646 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.867e-05/0.3347, allocations: 15.98 kB / 0.5646 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002257/0.335, allocations: 164.8 kB / 0.5648 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.3352, allocations: 50.55 kB / 0.5648 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.937e-05/0.3352, allocations: 20.84 kB / 0.5649 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.3352, allocations: 0 / 0.5649 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002051/0.3355, allocations: 71.44 kB / 0.5649 GB, free: 15.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.3355, allocations: 4 kB / 0.5649 GB, free: 15.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003062/0.3358, allocations: 93.58 kB / 0.565 GB, free: 15.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.3358, allocations: 59.23 kB / 0.5651 GB, free: 15.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.3361, allocations: 266.8 kB / 0.5653 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.3361, allocations: 29.7 kB / 0.5654 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.527e-05/0.3362, allocations: 112.1 kB / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.3362, allocations: 15.83 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.881e-05/0.3363, allocations: 21.72 kB / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.3364, allocations: 334.8 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.291e-05/0.3365, allocations: 19.92 kB / 0.5658 GB, free: 14.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.106e-05/0.3366, allocations: 21.97 kB / 0.5659 GB, free: 14.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.3367, allocations: 49.7 kB / 0.5659 GB, free: 14.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3367, allocations: 3.938 kB / 0.5659 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001742/0.3369, allocations: 101.5 kB / 0.566 GB, free: 14.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3369, allocations: 4 kB / 0.566 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3369, allocations: 0 / 0.566 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3369, allocations: 0 / 0.566 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-05/0.337, allocations: 12 kB / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.337, allocations: 0 / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.766e-05/0.337, allocations: 7.953 kB / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.337, allocations: 0 / 0.566 GB, free: 14.75 MB / 414.1 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 0.0001314/0.3372, allocations: 141.7 kB / 0.5662 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.3372, allocations: 23.92 kB / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/0.3374, allocations: 86.77 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3374, allocations: 0 / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3374, allocations: 0 / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.3374, allocations: 4 kB / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.3376, allocations: 172.6 kB / 0.5664 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3376, allocations: 0 / 0.5664 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.981e-05/0.3376, allocations: 4 kB / 0.5665 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3376, allocations: 3.984 kB / 0.5665 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.3376, allocations: 0 / 0.5665 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3376, allocations: 8 kB / 0.5665 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3376, allocations: 0 / 0.5665 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.3378, allocations: 121 kB / 0.5666 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.284e-05/0.3378, allocations: 11.91 kB / 0.5666 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.3378, allocations: 4 kB / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.524e-05/0.3379, allocations: 3.938 kB / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.779e-05/0.3379, allocations: 3.984 kB / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.3379, allocations: 8 kB / 0.5666 GB, free: 14.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002048/0.3381, allocations: 204.6 kB / 0.5668 GB, free: 13.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3381, allocations: 0 / 0.5668 GB, free: 13.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002161/0.3383, allocations: 19.92 kB / 0.5668 GB, free: 13.86 MB / 414.1 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 (5): * Single equations (assignments): 3 * 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.001967/0.3403, allocations: 0.96 MB / 0.5678 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001528/0.3405, allocations: 35.98 kB / 0.5678 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3405, allocations: 0 / 0.5678 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.283e-05/0.3405, allocations: 23.92 kB / 0.5678 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.3408, allocations: 29.47 kB / 0.5678 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.3427, allocations: 1.682 MB / 0.5695 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.3431, allocations: 0.7221 MB / 0.5702 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.39e-05/0.3431, allocations: 8.5 kB / 0.5702 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.28e-05/0.3432, allocations: 39.42 kB / 0.5702 GB, free: 10.39 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3432, allocations: 0 / 0.5702 GB, free: 10.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0293/0.3725, allocations: 3.673 MB / 0.5738 GB, free: 6.777 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.08, allocations: 7.109 kB / 0.5738 GB, free: 6.773 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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: 14.05010843812488]