Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.001738/0.001738, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002113/0.002113, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.535/1.535, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.235/0.235, allocations: 46.92 MB / 360.9 MB, free: 4.297 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.Test18,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 71.89 kB / 0.4962 GB, free: 7.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3446, allocations: 66.03 MB / 0.5607 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003446/0.3481, allocations: 1.748 MB / 0.5624 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.35, allocations: 1.042 MB / 0.5634 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.774e-05/0.35, allocations: 11.88 kB / 0.5634 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003192/0.3504, allocations: 39.77 kB / 0.5635 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003177/0.3507, allocations: 91.59 kB / 0.5636 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.3509, allocations: 75.69 kB / 0.5636 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.3511, allocations: 111.7 kB / 0.5638 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.972e-05/0.3512, allocations: 5.828 kB / 0.5638 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.3513, allocations: 55.66 kB / 0.5638 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.35e-05/0.3514, allocations: 31.84 kB / 0.5638 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.3514, allocations: 4 kB / 0.5638 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.613e-05/0.3515, allocations: 43.98 kB / 0.5639 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.65e-05/0.3516, allocations: 15.92 kB / 0.5639 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.596e-05/0.3516, allocations: 43.72 kB / 0.5639 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.3518, allocations: 123.4 kB / 0.5641 GB, free: 1.031 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3519, allocations: 0 / 0.5641 GB, free: 1.031 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3519, allocations: 0 / 0.5641 GB, free: 1.031 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3519, allocations: 0 / 0.5641 GB, free: 1.031 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005714/0.3524, allocations: 337.6 kB / 0.5644 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.3525, allocations: 12.03 kB / 0.5644 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.045e-05/0.3525, allocations: 38.73 kB / 0.5644 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.3526, allocations: 12.84 kB / 0.5644 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.3528, allocations: 150.3 kB / 0.5646 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.3528, allocations: 384 / 0.5646 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.3529, allocations: 11.88 kB / 0.5646 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.353, allocations: 53.67 kB / 0.5647 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.353, allocations: 0 / 0.5647 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.353, allocations: 0 / 0.5647 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3531, allocations: 0 / 0.5647 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.488e-05/0.3531, allocations: 27.98 kB / 0.5647 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/0.3535, allocations: 256 kB / 0.5649 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.3538, allocations: 62.59 kB / 0.565 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.116e-05/0.3539, allocations: 16.86 kB / 0.565 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.3539, allocations: 3.984 kB / 0.565 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.354, allocations: 67.39 kB / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.354, allocations: 4 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005385/0.3546, allocations: 177.3 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.3546, allocations: 59.39 kB / 0.5653 GB, free: 15.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.3548, allocations: 179.2 kB / 0.5655 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.3548, allocations: 29.7 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.194e-05/0.3549, allocations: 108.1 kB / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.3549, allocations: 27.78 kB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/0.355, allocations: 21.72 kB / 0.5656 GB, free: 15.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3551, allocations: 322.8 kB / 0.566 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.131e-05/0.3552, allocations: 23.92 kB / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.106e-05/0.3553, allocations: 41.64 kB / 0.566 GB, free: 14.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.3554, allocations: 61.7 kB / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3554, allocations: 0 / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001884/0.3556, allocations: 109.6 kB / 0.5662 GB, free: 14.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3556, allocations: 4 kB / 0.5662 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.3556, allocations: 0 / 0.5662 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3556, allocations: 0 / 0.5662 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.804e-05/0.3557, allocations: 19.94 kB / 0.5662 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.3557, allocations: 3.984 kB / 0.5662 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.791e-05/0.3558, allocations: 7.938 kB / 0.5662 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.3558, allocations: 8.031 kB / 0.5662 GB, free: 14.61 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 (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 0.0001091/0.3559, allocations: 121.8 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.3559, allocations: 7.953 kB / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/0.3562, allocations: 119 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3562, allocations: 0 / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3562, allocations: 0 / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.704e-05/0.3562, allocations: 7.922 kB / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005782/0.3568, allocations: 366.4 kB / 0.5668 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3568, allocations: 0 / 0.5668 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.621e-05/0.3568, allocations: 11.94 kB / 0.5668 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.3568, allocations: 3.938 kB / 0.5668 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.3569, allocations: 0 / 0.5668 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3569, allocations: 4 kB / 0.5668 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3569, allocations: 0 / 0.5668 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.3571, allocations: 208.3 kB / 0.567 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.239e-05/0.3571, allocations: 11.91 kB / 0.567 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.3572, allocations: 3.938 kB / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.3572, allocations: 8 kB / 0.5671 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.3573, allocations: 8.359 kB / 0.5671 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.3573, allocations: 0 / 0.5671 GB, free: 13.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.3574, allocations: 141.8 kB / 0.5672 GB, free: 13.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3574, allocations: 0 / 0.5672 GB, free: 13.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.3577, allocations: 23.94 kB / 0.5672 GB, free: 13.49 MB / 414.1 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 (8): * Single equations (assignments): 6 * 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.002201/0.3599, allocations: 1.098 MB / 0.5683 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002059/0.3601, allocations: 59.91 kB / 0.5684 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3601, allocations: 0 / 0.5684 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.506e-05/0.3602, allocations: 27.92 kB / 0.5684 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.3606, allocations: 25.67 kB / 0.5684 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.3625, allocations: 1.653 MB / 0.57 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.3628, allocations: 0.7002 MB / 0.5707 GB, free: 9.969 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.57e-05/0.3629, allocations: 21.27 kB / 0.5707 GB, free: 9.949 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.954e-05/0.3629, allocations: 35.42 kB / 0.5708 GB, free: 9.914 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3629, allocations: 0 / 0.5708 GB, free: 9.914 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.3922, allocations: 3.573 MB / 0.5742 GB, free: 6.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.42, allocations: 0 / 0.5742 GB, free: 6.41 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.69127299599495]