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.002174/0.002174, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.002908/0.002908, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.534/1.534, allocations: 230.5 MB / 257.4 MB, free: 7.969 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.2606/0.2606, allocations: 46.93 MB / 360.8 MB, free: 4.164 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.00232/0.00232, allocations: 79.88 kB / 0.4963 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3318, allocations: 66.07 MB / 0.5608 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003667/0.3354, allocations: 1.842 MB / 0.5626 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003011/0.3385, allocations: 1.797 MB / 0.5643 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.3386, allocations: 3.938 kB / 0.5643 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003392/0.3389, allocations: 55.69 kB / 0.5644 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004305/0.3393, allocations: 139.3 kB / 0.5645 GB, free: 392 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.3396, allocations: 107.7 kB / 0.5646 GB, free: 284 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000289/0.3399, allocations: 211.3 kB / 0.5648 GB, free: 72 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.409e-05/0.3399, allocations: 5.812 kB / 0.5648 GB, free: 64 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.3401, allocations: 95.56 kB / 0.5649 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.3404, allocations: 91.55 kB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.3404, allocations: 8 kB / 0.565 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002046/0.3406, allocations: 111.9 kB / 0.5651 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.708e-05/0.3407, allocations: 39.83 kB / 0.5652 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.633e-05/0.3407, allocations: 63.61 kB / 0.5652 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000347/0.3411, allocations: 228.9 kB / 0.5654 GB, free: 15.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3411, allocations: 0 / 0.5654 GB, free: 15.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.3411, allocations: 4 kB / 0.5655 GB, free: 15.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.3411, allocations: 0 / 0.5655 GB, free: 15.43 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.0006887/0.3418, allocations: 428.9 kB / 0.5659 GB, free: 14.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.3418, allocations: 11.97 kB / 0.5659 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.488e-05/0.3419, allocations: 34.75 kB / 0.5659 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.239e-05/0.3419, allocations: 16.84 kB / 0.5659 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.3423, allocations: 198.2 kB / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.3423, allocations: 384 / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.3423, allocations: 8.375 kB / 0.5661 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.3426, allocations: 113.1 kB / 0.5662 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3427, allocations: 0 / 0.5662 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.3427, allocations: 0 / 0.5662 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3427, allocations: 4 kB / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.3428, allocations: 31.97 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.3432, allocations: 193.5 kB / 0.5664 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/0.3435, allocations: 101.2 kB / 0.5665 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.3437, allocations: 33.7 kB / 0.5666 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.3437, allocations: 4 kB / 0.5666 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002713/0.344, allocations: 112.9 kB / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.344, allocations: 4 kB / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005027/0.3445, allocations: 173.4 kB / 0.5669 GB, free: 13.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.481e-05/0.3446, allocations: 128.5 kB / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.3449, allocations: 238.3 kB / 0.5672 GB, free: 13.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.3449, allocations: 29.7 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.53e-05/0.345, allocations: 116.1 kB / 0.5673 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.967e-05/0.345, allocations: 31.73 kB / 0.5674 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.682e-05/0.3451, allocations: 33.72 kB / 0.5674 GB, free: 13.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.3453, allocations: 330.8 kB / 0.5677 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.3454, allocations: 27.98 kB / 0.5678 GB, free: 12.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.3455, allocations: 76.95 kB / 0.5678 GB, free: 12.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.3457, allocations: 99.38 kB / 0.5679 GB, free: 12.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3457, allocations: 0 / 0.5679 GB, free: 12.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000289/0.346, allocations: 133.5 kB / 0.568 GB, free: 12.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.346, allocations: 6.031 kB / 0.5681 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.346, allocations: 4 kB / 0.5681 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.346, allocations: 3.938 kB / 0.5681 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.3461, allocations: 19.98 kB / 0.5681 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3462, allocations: 12 kB / 0.5681 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.581e-05/0.3462, allocations: 15.94 kB / 0.5681 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.3463, allocations: 4 kB / 0.5681 GB, free: 12.44 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.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.0001369/0.3464, allocations: 131.1 kB / 0.5682 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.3464, allocations: 19.84 kB / 0.5683 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003544/0.3468, allocations: 154.6 kB / 0.5684 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.3468, allocations: 0 / 0.5684 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3468, allocations: 8 kB / 0.5684 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3468, allocations: 0 / 0.5684 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.347, allocations: 196.8 kB / 0.5686 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.347, allocations: 11.94 kB / 0.5686 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.657e-05/0.3471, allocations: 11.98 kB / 0.5686 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.3471, allocations: 0 / 0.5686 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.3471, allocations: 4 kB / 0.5686 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.3471, allocations: 3.938 kB / 0.5686 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.3471, allocations: 0 / 0.5686 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.3474, allocations: 173.7 kB / 0.5688 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.3474, allocations: 23.83 kB / 0.5688 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.3475, allocations: 4 kB / 0.5688 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.76e-05/0.3476, allocations: 7.984 kB / 0.5688 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.3476, allocations: 4 kB / 0.5688 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.3476, allocations: 11.98 kB / 0.5688 GB, free: 11.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002052/0.3478, allocations: 176.5 kB / 0.569 GB, free: 11.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3478, allocations: 4 kB / 0.569 GB, free: 11.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003063/0.3481, allocations: 55.86 kB / 0.5691 GB, free: 11.38 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * 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.00229/0.3504, allocations: 1.097 MB / 0.5701 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002617/0.3507, allocations: 75.91 kB / 0.5702 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3507, allocations: 0 / 0.5702 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.3508, allocations: 39.91 kB / 0.5702 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.3512, allocations: 55.11 kB / 0.5703 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.3536, allocations: 1.896 MB / 0.5722 GB, free: 8.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.3539, allocations: 0.7242 MB / 0.5729 GB, free: 7.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.942e-05/0.354, allocations: 29.62 kB / 0.5729 GB, free: 7.469 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.3541, allocations: 59.39 kB / 0.5729 GB, free: 7.41 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3541, allocations: 0 / 0.5729 GB, free: 7.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03322/0.3873, allocations: 5.498 MB / 0.5783 GB, free: 1.926 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.5, allocations: 16.84 kB / 0.5783 GB, free: 1.918 MB / 414.1 MB " [Timeout remaining time 648] (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: 14.814166929005296]