Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.0008378/0.0008378, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008994/0.0008994, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 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 0.8801/0.8801, allocations: 177 MB / 204.1 MB, free: 5.73 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.2261/0.2261, allocations: 34.24 MB / 294.8 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] 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.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 442.2 MB, free: 1.461 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.718e-05/1.939e-05, allocations: 6.219 kB / 442.2 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.1531/0.1531, allocations: 1.706 MB / 444 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.1545, allocations: 1.676 MB / 445.6 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.317e-05/0.1545, allocations: 0 / 445.6 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002288/0.1547, allocations: 38.67 kB / 445.7 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.155, allocations: 100.9 kB / 445.8 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001122/0.1551, allocations: 82.34 kB / 445.8 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.1552, allocations: 109.1 kB / 446 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.001e-05/0.1553, allocations: 5.5 kB / 446 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.645e-05/0.1554, allocations: 60.16 kB / 446 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.139e-05/0.1555, allocations: 40.22 kB / 446.1 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.1555, allocations: 5.812 kB / 446.1 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1556, allocations: 107.1 kB / 446.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.402e-05/0.1556, allocations: 24.39 kB / 446.2 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.234e-05/0.1557, allocations: 21.62 kB / 446.2 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.1558, allocations: 180.7 kB / 446.4 MB, free: 42.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.1558, allocations: 0 / 446.4 MB, free: 42.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1558, allocations: 3.938 kB / 446.4 MB, free: 42.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.1558, allocations: 0 / 446.4 MB, free: 42.5 MB / 410.7 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.0003499/0.1562, allocations: 351.6 kB / 446.7 MB, free: 42.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.1562, allocations: 8.719 kB / 446.7 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.027e-05/0.1562, allocations: 37.64 kB / 446.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.1563, allocations: 11.72 kB / 446.8 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.1565, allocations: 149.7 kB / 446.9 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.1565, allocations: 3.281 kB / 446.9 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.1565, allocations: 8.312 kB / 447 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.1566, allocations: 100.6 kB / 447 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1566, allocations: 0 / 447 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1566, allocations: 0 / 447 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1566, allocations: 2.938 kB / 447.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.296e-05/0.1567, allocations: 15.86 kB / 447.1 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002159/0.1569, allocations: 261.4 kB / 447.3 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.67e-05/0.157, allocations: 69.7 kB / 447.4 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.776e-05/0.157, allocations: 20.8 kB / 447.4 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.157, allocations: 0 / 447.4 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.337e-05/0.1571, allocations: 73.23 kB / 447.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.02e-07/0.1571, allocations: 0 / 447.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003483/0.1574, allocations: 179.2 kB / 447.7 MB, free: 41.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.1575, allocations: 77.11 kB / 447.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.952e-05/0.1576, allocations: 169.4 kB / 447.9 MB, free: 41.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.1576, allocations: 25.7 kB / 447.9 MB, free: 41.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.571e-05/0.1576, allocations: 105.4 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.1576, allocations: 14.8 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.1576, allocations: 26.88 kB / 448.1 MB, free: 41.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.335e-05/0.1577, allocations: 325.7 kB / 448.4 MB, free: 40.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.02e-05/0.1577, allocations: 30.69 kB / 448.4 MB, free: 40.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.719e-05/0.1577, allocations: 69.47 kB / 448.5 MB, free: 40.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.012e-05/0.1578, allocations: 58.95 kB / 448.5 MB, free: 40.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1578, allocations: 0.8438 kB / 448.5 MB, free: 40.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.629e-05/0.1579, allocations: 107.6 kB / 448.6 MB, free: 40.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.1579, allocations: 5.594 kB / 448.7 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.1579, allocations: 0 / 448.7 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1579, allocations: 3.375 kB / 448.7 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.714e-05/0.158, allocations: 14.98 kB / 448.7 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.158, allocations: 3.688 kB / 448.7 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.068e-05/0.158, allocations: 9.531 kB / 448.7 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.158, allocations: 12.62 kB / 448.7 MB, free: 40.55 MB / 410.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 (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 4.702e-05/0.1581, allocations: 123.5 kB / 448.8 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.1581, allocations: 9.172 kB / 448.8 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.1582, allocations: 122.9 kB / 448.9 MB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1582, allocations: 0 / 448.9 MB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1582, allocations: 0 / 448.9 MB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1582, allocations: 4.062 kB / 448.9 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.1584, allocations: 374.6 kB / 449.3 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1584, allocations: 0 / 449.3 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-05/0.1585, allocations: 8.375 kB / 449.3 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1585, allocations: 6.219 kB / 449.3 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.1585, allocations: 2.719 kB / 449.3 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1585, allocations: 6.781 kB / 449.3 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1585, allocations: 3.938 kB / 449.3 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.1586, allocations: 212.5 kB / 449.5 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-06/0.1586, allocations: 6.922 kB / 449.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.1586, allocations: 6.969 kB / 449.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.116e-05/0.1586, allocations: 13.22 kB / 449.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/0.1587, allocations: 10.39 kB / 449.6 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.1587, allocations: 3 kB / 449.6 MB, free: 39.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.958e-05/0.1587, allocations: 132.9 kB / 449.7 MB, free: 39.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1587, allocations: 2.969 kB / 449.7 MB, free: 39.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001768/0.1589, allocations: 52.11 kB / 449.8 MB, free: 39.74 MB / 410.7 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 (9): * Single equations (assignments): 7 * 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.0009046/0.1598, allocations: 1.234 MB / 451 MB, free: 38.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001131/0.1599, allocations: 53.31 kB / 451.1 MB, free: 38.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.1599, allocations: 3.938 kB / 451.1 MB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.7e-05/0.16, allocations: 28.7 kB / 451.1 MB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.1602, allocations: 29.2 kB / 451.1 MB, free: 38.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008371/0.161, allocations: 1.621 MB / 452.7 MB, free: 37.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.673e-05/0.161, allocations: 83.06 kB / 452.8 MB, free: 37.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.343e-05/0.1611, allocations: 21.16 kB / 452.8 MB, free: 37.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.1611, allocations: 38.55 kB / 452.9 MB, free: 37.41 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1611, allocations: 4 kB / 452.9 MB, free: 37.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01407/0.1752, allocations: 4.903 MB / 457.8 MB, free: 35.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.016/7.191, allocations: 8.969 kB / 457.8 MB, free: 35.84 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.240326477214694]