Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.001826/0.001826, allocations: 107.1 kB / 20.44 MB, free: 1.172 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.002549/0.002549, allocations: 206.9 kB / 23.73 MB, free: 4.375 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.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2255/0.2255, allocations: 46.97 MB / 360.9 MB, free: 4.031 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.Test50,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 71.88 kB / 0.4962 GB, free: 8.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3447, allocations: 66.02 MB / 0.5606 GB, free: 33.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002587/0.3473, allocations: 1.714 MB / 0.5623 GB, free: 32.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.3492, allocations: 1.664 MB / 0.5639 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.3493, allocations: 3.938 kB / 0.5639 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.3495, allocations: 30.97 kB / 0.564 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003099/0.3498, allocations: 102.4 kB / 0.5641 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.35, allocations: 84.38 kB / 0.5642 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.3501, allocations: 112.6 kB / 0.5643 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.122e-05/0.3502, allocations: 23.3 kB / 0.5643 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.47e-05/0.3503, allocations: 45.16 kB / 0.5643 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.3504, allocations: 54.02 kB / 0.5644 GB, free: 30.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.3504, allocations: 5.812 kB / 0.5644 GB, free: 30.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.3506, allocations: 102.6 kB / 0.5645 GB, free: 30.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.726e-05/0.3506, allocations: 21.89 kB / 0.5645 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.039e-05/0.3507, allocations: 26.89 kB / 0.5645 GB, free: 30.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.3509, allocations: 191.2 kB / 0.5647 GB, free: 30.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.3509, allocations: 0 / 0.5647 GB, free: 30.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3509, allocations: 0 / 0.5647 GB, free: 30.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3509, allocations: 0 / 0.5647 GB, free: 30.67 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004823/0.3514, allocations: 359.5 kB / 0.5651 GB, free: 30.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3514, allocations: 13.66 kB / 0.5651 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.382e-05/0.3515, allocations: 30.75 kB / 0.5651 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.3515, allocations: 11.3 kB / 0.5651 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.3517, allocations: 158.1 kB / 0.5653 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.3517, allocations: 7.844 kB / 0.5653 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.3518, allocations: 6.938 kB / 0.5653 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.3519, allocations: 105.9 kB / 0.5654 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3519, allocations: 3.953 kB / 0.5654 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.352, allocations: 3.375 kB / 0.5654 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.352, allocations: 1.406 kB / 0.5654 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.3521, allocations: 36.84 kB / 0.5654 GB, free: 30.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.3524, allocations: 266.9 kB / 0.5657 GB, free: 29.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.3526, allocations: 67.72 kB / 0.5657 GB, free: 29.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.977e-05/0.3526, allocations: 28.91 kB / 0.5658 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.3527, allocations: 3.938 kB / 0.5658 GB, free: 29.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/0.3528, allocations: 77.98 kB / 0.5658 GB, free: 29.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.3528, allocations: 0 / 0.5658 GB, free: 29.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005414/0.3533, allocations: 218.9 kB / 0.5661 GB, free: 29.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.3534, allocations: 80.11 kB / 0.5661 GB, free: 29.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.3535, allocations: 178.8 kB / 0.5663 GB, free: 29.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.3535, allocations: 30.33 kB / 0.5663 GB, free: 29.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.06e-05/0.3536, allocations: 102.6 kB / 0.5664 GB, free: 29.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.3536, allocations: 30.12 kB / 0.5665 GB, free: 29.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.3536, allocations: 23.53 kB / 0.5665 GB, free: 29.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.249e-05/0.3537, allocations: 325.5 kB / 0.5668 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.201e-05/0.3537, allocations: 28.91 kB / 0.5668 GB, free: 28.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.43e-05/0.3538, allocations: 83.73 kB / 0.5669 GB, free: 28.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.3539, allocations: 68.06 kB / 0.567 GB, free: 28.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3539, allocations: 0 / 0.567 GB, free: 28.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000192/0.3541, allocations: 125.9 kB / 0.5671 GB, free: 28.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.3541, allocations: 7.281 kB / 0.5671 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3541, allocations: 5.219 kB / 0.5671 GB, free: 28.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3542, allocations: 0.6562 kB / 0.5671 GB, free: 28.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.3543, allocations: 21.72 kB / 0.5671 GB, free: 28.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.3543, allocations: 1.281 kB / 0.5671 GB, free: 28.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.051e-05/0.3543, allocations: 11.75 kB / 0.5671 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.3543, allocations: 5.703 kB / 0.5671 GB, free: 28.64 MB / 446.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 (11): * Single equations (assignments): 11 * 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 6.953e-05/0.3544, allocations: 123.6 kB / 0.5672 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.3544, allocations: 14.23 kB / 0.5673 GB, free: 28.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.3547, allocations: 138.3 kB / 0.5674 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3547, allocations: 3 kB / 0.5674 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3547, allocations: 2.344 kB / 0.5674 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3547, allocations: 4.547 kB / 0.5674 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004129/0.3551, allocations: 403.2 kB / 0.5678 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3551, allocations: 3.75 kB / 0.5678 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.708e-05/0.3552, allocations: 16.16 kB / 0.5678 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3552, allocations: 3.938 kB / 0.5678 GB, free: 28.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.3552, allocations: 7.375 kB / 0.5678 GB, free: 28.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3552, allocations: 7.312 kB / 0.5678 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3552, allocations: 0 / 0.5678 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.3554, allocations: 224.7 kB / 0.568 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/0.3554, allocations: 14.31 kB / 0.5681 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.3554, allocations: 11.45 kB / 0.5681 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.707e-05/0.3555, allocations: 3.125 kB / 0.5681 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/0.3555, allocations: 13.94 kB / 0.5681 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.3555, allocations: 5.75 kB / 0.5681 GB, free: 27.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.196e-05/0.3556, allocations: 137.9 kB / 0.5682 GB, free: 27.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3556, allocations: 0 / 0.5682 GB, free: 27.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.3559, allocations: 50.39 kB / 0.5683 GB, free: 27.8 MB / 446.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 (11): * Single equations (assignments): 9 * 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.002206/0.3581, allocations: 1.268 MB / 0.5695 GB, free: 26.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.3583, allocations: 77.25 kB / 0.5696 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3583, allocations: 4.062 kB / 0.5696 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.439e-05/0.3584, allocations: 36.06 kB / 0.5696 GB, free: 26.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.3587, allocations: 40.95 kB / 0.5697 GB, free: 26.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.36, allocations: 1.687 MB / 0.5713 GB, free: 25.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.336e-05/0.3601, allocations: 89.73 kB / 0.5714 GB, free: 25.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.034e-05/0.3601, allocations: 28.09 kB / 0.5714 GB, free: 25.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.685e-05/0.3602, allocations: 42.02 kB / 0.5715 GB, free: 25.39 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3602, allocations: 0 / 0.5715 GB, free: 25.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03241/0.3926, allocations: 5.013 MB / 0.5763 GB, free: 23.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.26, allocations: 1.344 kB / 0.5764 GB, free: 23.91 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.453753166977549]