Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.001272/0.001272, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001378/0.001378, allocations: 211.2 kB / 20.75 MB, free: 2.27 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.611/1.611, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2318/0.2318, allocations: 44.9 MB / 355.1 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 63.89 kB / 499.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.143, allocations: 65.43 MB / 0.5518 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003256/0.1463, allocations: 1.729 MB / 0.5535 GB, free: 8.305 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.1481, allocations: 1.034 MB / 0.5545 GB, free: 7.266 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.058e-05/0.1481, allocations: 3.938 kB / 0.5545 GB, free: 7.262 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003053/0.1485, allocations: 39.77 kB / 0.5546 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003157/0.1488, allocations: 95.55 kB / 0.5547 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.149, allocations: 75.67 kB / 0.5547 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.1492, allocations: 111.7 kB / 0.5548 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1493, allocations: 12.28 kB / 0.5549 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.095e-05/0.1493, allocations: 43.78 kB / 0.5549 GB, free: 6.891 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.809e-05/0.1494, allocations: 35.78 kB / 0.5549 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.1494, allocations: 4 kB / 0.5549 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.1496, allocations: 43.98 kB / 0.555 GB, free: 6.809 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.487e-05/0.1496, allocations: 19.92 kB / 0.555 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.04e-05/0.1497, allocations: 39.72 kB / 0.555 GB, free: 6.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.1499, allocations: 103.5 kB / 0.5551 GB, free: 6.648 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1499, allocations: 0 / 0.5551 GB, free: 6.648 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1499, allocations: 4 kB / 0.5551 GB, free: 6.645 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1499, allocations: 0 / 0.5551 GB, free: 6.645 MB / 414.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.0005967/0.1505, allocations: 422.7 kB / 0.5555 GB, free: 6.184 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1505, allocations: 8.031 kB / 0.5556 GB, free: 6.176 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.918e-05/0.1506, allocations: 38.73 kB / 0.5556 GB, free: 6.129 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.1506, allocations: 8.891 kB / 0.5556 GB, free: 6.121 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.1509, allocations: 204.2 kB / 0.5558 GB, free: 5.883 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.1509, allocations: 8.359 kB / 0.5558 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.151, allocations: 11.94 kB / 0.5558 GB, free: 5.863 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.1511, allocations: 53.67 kB / 0.5559 GB, free: 5.805 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1511, allocations: 3.938 kB / 0.5559 GB, free: 5.801 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.1512, allocations: 3.984 kB / 0.5559 GB, free: 5.797 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.1512, allocations: 0 / 0.5559 GB, free: 5.797 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.981e-05/0.1512, allocations: 19.98 kB / 0.5559 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.1516, allocations: 288.8 kB / 0.5562 GB, free: 5.445 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.1518, allocations: 58.62 kB / 0.5562 GB, free: 5.379 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.57e-05/0.1519, allocations: 20.84 kB / 0.5562 GB, free: 5.355 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.1519, allocations: 0 / 0.5562 GB, free: 5.355 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.152, allocations: 67.39 kB / 0.5563 GB, free: 5.277 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.152, allocations: 0 / 0.5563 GB, free: 5.277 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005707/0.1526, allocations: 181.3 kB / 0.5565 GB, free: 5.094 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.1527, allocations: 51.41 kB / 0.5565 GB, free: 5.031 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.1528, allocations: 172.4 kB / 0.5567 GB, free: 4.852 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.1529, allocations: 29.7 kB / 0.5567 GB, free: 4.816 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.453e-05/0.1529, allocations: 96.12 kB / 0.5568 GB, free: 4.719 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.153, allocations: 23.84 kB / 0.5568 GB, free: 4.695 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.806e-05/0.153, allocations: 25.72 kB / 0.5569 GB, free: 4.664 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1532, allocations: 322.8 kB / 0.5572 GB, free: 4.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.784e-05/0.1532, allocations: 23.98 kB / 0.5572 GB, free: 4.316 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.254e-05/0.1533, allocations: 45.58 kB / 0.5572 GB, free: 4.266 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.1534, allocations: 49.72 kB / 0.5573 GB, free: 4.211 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1534, allocations: 0 / 0.5573 GB, free: 4.211 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002009/0.1536, allocations: 113.5 kB / 0.5574 GB, free: 4.094 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1536, allocations: 4 kB / 0.5574 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1536, allocations: 4.031 kB / 0.5574 GB, free: 4.086 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.1537, allocations: 4 kB / 0.5574 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.914e-05/0.1537, allocations: 15.98 kB / 0.5574 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1538, allocations: 0 / 0.5574 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.573e-05/0.1538, allocations: 7.938 kB / 0.5574 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1538, allocations: 0 / 0.5574 GB, free: 4.059 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.1539, allocations: 122.7 kB / 0.5575 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.1539, allocations: 12.27 kB / 0.5576 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.166e-05/0.154, allocations: 16.7 kB / 0.5576 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.154, allocations: 8 kB / 0.5576 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.154, allocations: 0 / 0.5576 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.154, allocations: 7.938 kB / 0.5576 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004676/0.1545, allocations: 391.2 kB / 0.558 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1545, allocations: 0 / 0.558 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.37e-05/0.1545, allocations: 11.98 kB / 0.558 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.1545, allocations: 7.875 kB / 0.558 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.1545, allocations: 4 kB / 0.558 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1545, allocations: 4.031 kB / 0.558 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1545, allocations: 0 / 0.558 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.1548, allocations: 200.3 kB / 0.5582 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.037e-05/0.1549, allocations: 89.02 kB / 0.5583 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.1549, allocations: 7.922 kB / 0.5583 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.59e-05/0.155, allocations: 7.938 kB / 0.5583 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.155, allocations: 12 kB / 0.5583 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.155, allocations: 7.984 kB / 0.5583 GB, free: 3.062 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.1551, allocations: 131.2 kB / 0.5584 GB, free: 2.934 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1551, allocations: 0 / 0.5584 GB, free: 2.934 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.1554, allocations: 16 kB / 0.5584 GB, free: 2.918 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.002189/0.1576, allocations: 1.095 MB / 0.5595 GB, free: 1.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.1578, allocations: 55.91 kB / 0.5596 GB, free: 1.926 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1578, allocations: 4.062 kB / 0.5596 GB, free: 1.922 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.411e-05/0.1578, allocations: 27.92 kB / 0.5596 GB, free: 1.895 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.1582, allocations: 45.75 kB / 0.5596 GB, free: 1.855 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.1601, allocations: 1.589 MB / 0.5612 GB, free: 176 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.1604, allocations: 0.708 MB / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.438e-05/0.1605, allocations: 21.17 kB / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.862e-05/0.1606, allocations: 31.42 kB / 0.5619 GB, free: 15.38 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1606, allocations: 0 / 0.5619 GB, free: 15.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02527/0.1858, allocations: 3.358 MB / 0.5652 GB, free: 12.08 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.043/8.228, allocations: 8.984 kB / 0.5652 GB, free: 12.07 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.620284175034612]