Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.001419/0.001419, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001391/0.001391, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 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 1.494/1.494, allocations: 230.4 MB / 254 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] 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.2352/0.2352, allocations: 46.92 MB / 357 MB, free: 10.2 MB / 286.1 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.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 83.88 kB / 0.491 GB, free: 7.656 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1371, allocations: 66.04 MB / 0.5555 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.00366/0.1408, allocations: 1.841 MB / 0.5573 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002824/0.1436, allocations: 1.712 MB / 0.559 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.1437, allocations: 3.938 kB / 0.559 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003742/0.1441, allocations: 51.62 kB / 0.559 GB, free: 1.855 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004531/0.1445, allocations: 143.4 kB / 0.5592 GB, free: 1.715 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.1448, allocations: 107.7 kB / 0.5593 GB, free: 1.609 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003213/0.1451, allocations: 207.3 kB / 0.5595 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.776e-05/0.1452, allocations: 5.688 kB / 0.5595 GB, free: 1.398 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.1453, allocations: 91.56 kB / 0.5596 GB, free: 1.309 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002666/0.1456, allocations: 87.55 kB / 0.5597 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.1456, allocations: 12 kB / 0.5597 GB, free: 1.211 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002424/0.1459, allocations: 107.9 kB / 0.5598 GB, free: 1.105 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.271e-05/0.146, allocations: 43.83 kB / 0.5598 GB, free: 1.062 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.247e-05/0.146, allocations: 55.61 kB / 0.5599 GB, free: 1.008 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003722/0.1464, allocations: 235 kB / 0.5601 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1464, allocations: 4 kB / 0.5601 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1464, allocations: 0 / 0.5601 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1464, allocations: 0 / 0.5601 GB, free: 0.7734 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007276/0.1472, allocations: 0.4941 MB / 0.5606 GB, free: 236 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.1472, allocations: 12.03 kB / 0.5606 GB, free: 224 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.247e-05/0.1472, allocations: 34.75 kB / 0.5606 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.708e-05/0.1473, allocations: 16.84 kB / 0.5606 GB, free: 164 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.1477, allocations: 252 kB / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1478, allocations: 12.31 kB / 0.5609 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.1478, allocations: 8.359 kB / 0.5609 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.148, allocations: 93.22 kB / 0.561 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.148, allocations: 4 kB / 0.561 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.148, allocations: 0 / 0.561 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.148, allocations: 0 / 0.561 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.1481, allocations: 39.91 kB / 0.561 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002651/0.1484, allocations: 214.5 kB / 0.5612 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/0.1488, allocations: 101.2 kB / 0.5613 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.1489, allocations: 41.7 kB / 0.5614 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.1489, allocations: 3.984 kB / 0.5614 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000232/0.1491, allocations: 112.9 kB / 0.5615 GB, free: 15.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.1491, allocations: 0 / 0.5615 GB, free: 15.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005507/0.1497, allocations: 177.6 kB / 0.5616 GB, free: 14.96 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.1498, allocations: 128.5 kB / 0.5618 GB, free: 14.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.1501, allocations: 248.8 kB / 0.562 GB, free: 14.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.1501, allocations: 29.7 kB / 0.562 GB, free: 14.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.922e-05/0.1502, allocations: 116.1 kB / 0.5621 GB, free: 14.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/0.1502, allocations: 27.8 kB / 0.5622 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.625e-05/0.1503, allocations: 29.72 kB / 0.5622 GB, free: 14.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1505, allocations: 334.8 kB / 0.5625 GB, free: 14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.746e-05/0.1505, allocations: 27.98 kB / 0.5625 GB, free: 13.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.1507, allocations: 66.27 kB / 0.5626 GB, free: 13.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.1509, allocations: 95.38 kB / 0.5627 GB, free: 13.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1509, allocations: 0 / 0.5627 GB, free: 13.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002865/0.1512, allocations: 133.5 kB / 0.5628 GB, free: 13.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1512, allocations: 7.938 kB / 0.5628 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1512, allocations: 0 / 0.5628 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1512, allocations: 4 kB / 0.5628 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.1513, allocations: 23.92 kB / 0.5629 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1513, allocations: 4 kB / 0.5629 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.636e-05/0.1514, allocations: 23.94 kB / 0.5629 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.1514, allocations: 7.984 kB / 0.5629 GB, free: 13.58 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001446/0.1516, allocations: 126.3 kB / 0.563 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.1516, allocations: 23.83 kB / 0.563 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.421e-05/0.1517, allocations: 21 kB / 0.5631 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.1517, allocations: 0 / 0.5631 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1517, allocations: 0 / 0.5631 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.1517, allocations: 7.984 kB / 0.5631 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.1519, allocations: 229.5 kB / 0.5633 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.1519, allocations: 7.938 kB / 0.5633 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.177e-05/0.1519, allocations: 8 kB / 0.5633 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1519, allocations: 0 / 0.5633 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.152, allocations: 7.984 kB / 0.5633 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.152, allocations: 4 kB / 0.5633 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.152, allocations: 0 / 0.5633 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/0.1523, allocations: 165.7 kB / 0.5635 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.108e-05/0.1524, allocations: 108.9 kB / 0.5636 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.1524, allocations: 4 kB / 0.5636 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.01e-05/0.1525, allocations: 4 kB / 0.5636 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.1525, allocations: 7.984 kB / 0.5636 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.1525, allocations: 8 kB / 0.5636 GB, free: 12.76 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001875/0.1527, allocations: 177.6 kB / 0.5638 GB, free: 12.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1527, allocations: 0 / 0.5638 GB, free: 12.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000294/0.153, allocations: 51.92 kB / 0.5638 GB, free: 12.54 MB / 430.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002275/0.1553, allocations: 1.103 MB / 0.5649 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002613/0.1555, allocations: 87.77 kB / 0.565 GB, free: 11.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1555, allocations: 0 / 0.565 GB, free: 11.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.1557, allocations: 36.48 kB / 0.565 GB, free: 11.45 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.156, allocations: 58.06 kB / 0.5651 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.1583, allocations: 1.893 MB / 0.5669 GB, free: 9.398 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.1587, allocations: 0.7164 MB / 0.5676 GB, free: 8.656 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.964e-05/0.1588, allocations: 37.5 kB / 0.5677 GB, free: 8.621 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.1589, allocations: 59.41 kB / 0.5677 GB, free: 8.562 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1589, allocations: 0 / 0.5677 GB, free: 8.562 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02849/0.1874, allocations: 5.315 MB / 0.5729 GB, free: 3.273 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.97/8.157, allocations: 9.734 kB / 0.5729 GB, free: 3.27 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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: 11.432484808959998]