Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.001301/0.001301, allocations: 117.6 kB / 20.32 MB, free: 1.57 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.00193/0.00193, allocations: 208.5 kB / 23.6 MB, free: 4.957 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.555/1.555, allocations: 230.4 MB / 257.1 MB, free: 8.047 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.2292/0.2292, allocations: 46.94 MB / 360.5 MB, free: 4.211 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.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 75.88 kB / 0.4959 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3269, allocations: 66.08 MB / 0.5604 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003299/0.3302, allocations: 1.78 MB / 0.5621 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.3321, allocations: 1.049 MB / 0.5632 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.897e-05/0.3321, allocations: 3.938 kB / 0.5632 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005667/0.3327, allocations: 307.3 kB / 0.5635 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004981/0.3332, allocations: 263.2 kB / 0.5637 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.3334, allocations: 111.7 kB / 0.5638 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003565/0.3338, allocations: 267.2 kB / 0.5641 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.286e-05/0.3338, allocations: 5.812 kB / 0.5641 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.334, allocations: 143.5 kB / 0.5642 GB, free: 392 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.3343, allocations: 211.5 kB / 0.5644 GB, free: 180 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.3343, allocations: 8 kB / 0.5644 GB, free: 172 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.3344, allocations: 51.97 kB / 0.5645 GB, free: 120 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.3346, allocations: 139.6 kB / 0.5646 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.3347, allocations: 111 kB / 0.5647 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000436/0.3352, allocations: 380 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3352, allocations: 8 kB / 0.5651 GB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3352, allocations: 0 / 0.5651 GB, free: 15.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.3352, allocations: 0 / 0.5651 GB, free: 15.49 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.001022/0.3362, allocations: 0.6863 MB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3362, allocations: 12.03 kB / 0.5658 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.285e-05/0.3363, allocations: 34.73 kB / 0.5658 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.627e-05/0.3364, allocations: 48.61 kB / 0.5658 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006519/0.337, allocations: 410.4 kB / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.337, allocations: 4.375 kB / 0.5662 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.337, allocations: 384 / 0.5662 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.3373, allocations: 99.48 kB / 0.5663 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.3373, allocations: 0 / 0.5663 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3373, allocations: 0 / 0.5663 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3373, allocations: 0 / 0.5663 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.3374, allocations: 31.92 kB / 0.5664 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.3378, allocations: 333.5 kB / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.3381, allocations: 93.23 kB / 0.5668 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.97e-05/0.3382, allocations: 45.64 kB / 0.5668 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.3382, allocations: 0 / 0.5668 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002431/0.3384, allocations: 120.9 kB / 0.5669 GB, free: 13.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.3384, allocations: 0 / 0.5669 GB, free: 13.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004982/0.3389, allocations: 197.2 kB / 0.5671 GB, free: 13.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.339, allocations: 81.11 kB / 0.5672 GB, free: 13.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.3402, allocations: 1.058 MB / 0.5682 GB, free: 12.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.3402, allocations: 29.64 kB / 0.5683 GB, free: 12.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.3404, allocations: 248 kB / 0.5685 GB, free: 11.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.919e-05/0.3405, allocations: 23.81 kB / 0.5685 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.3405, allocations: 29.7 kB / 0.5685 GB, free: 11.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.3407, allocations: 370.8 kB / 0.5689 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.155e-05/0.3408, allocations: 31.98 kB / 0.5689 GB, free: 11.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.3409, allocations: 55.41 kB / 0.569 GB, free: 11.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.3411, allocations: 87.86 kB / 0.5691 GB, free: 11.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3411, allocations: 8 kB / 0.5691 GB, free: 11.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003406/0.3414, allocations: 181.2 kB / 0.5692 GB, free: 10.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.3415, allocations: 4 kB / 0.5692 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3415, allocations: 0 / 0.5692 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3415, allocations: 4 kB / 0.5693 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.3416, allocations: 23.92 kB / 0.5693 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.3416, allocations: 4 kB / 0.5693 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.922e-05/0.3417, allocations: 7.938 kB / 0.5693 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.3417, allocations: 4 kB / 0.5693 GB, free: 10.92 MB / 414.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002324/0.342, allocations: 228 kB / 0.5695 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-05/0.342, allocations: 59.56 kB / 0.5696 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004114/0.3424, allocations: 197.8 kB / 0.5698 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3424, allocations: 4 kB / 0.5698 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3424, allocations: 0 / 0.5698 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3424, allocations: 3.984 kB / 0.5698 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003251/0.3428, allocations: 288.6 kB / 0.57 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.3428, allocations: 7.922 kB / 0.57 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.544e-05/0.3428, allocations: 11.94 kB / 0.5701 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3428, allocations: 8 kB / 0.5701 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.3428, allocations: 0 / 0.5701 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3428, allocations: 0 / 0.5701 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.3428, allocations: 8.234 kB / 0.5701 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.3432, allocations: 225.5 kB / 0.5703 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.3434, allocations: 67.53 kB / 0.5703 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/0.3434, allocations: 4 kB / 0.5704 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.596e-05/0.3435, allocations: 8 kB / 0.5704 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.3435, allocations: 7.984 kB / 0.5704 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.3435, allocations: 7.984 kB / 0.5704 GB, free: 9.727 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008858/0.3444, allocations: 0.7916 MB / 0.5711 GB, free: 8.938 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3444, allocations: 3.938 kB / 0.5712 GB, free: 8.934 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.3447, allocations: 44 kB / 0.5712 GB, free: 8.891 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002025/0.3467, allocations: 1.051 MB / 0.5722 GB, free: 7.949 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002539/0.347, allocations: 83.91 kB / 0.5723 GB, free: 7.867 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.347, allocations: 0 / 0.5723 GB, free: 7.867 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.3471, allocations: 48.03 kB / 0.5723 GB, free: 7.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.3475, allocations: 65.02 kB / 0.5724 GB, free: 7.758 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005876/0.3534, allocations: 4.57 MB / 0.5769 GB, free: 3.082 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.3537, allocations: 246.1 kB / 0.5771 GB, free: 2.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.3538, allocations: 58.94 kB / 0.5772 GB, free: 2.762 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/0.354, allocations: 151.4 kB / 0.5773 GB, free: 2.617 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.354, allocations: 4 kB / 0.5773 GB, free: 2.613 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03542/0.3894, allocations: 9.332 MB / 0.5864 GB, free: 9.316 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.09, allocations: 14.28 kB / 0.5864 GB, free: 9.305 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56403 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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: 15.293339721974917]