Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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.001537/0.001537, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001818/0.001818, allocations: 212.7 kB / 23.73 MB, free: 4.164 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.554/1.554, allocations: 230.5 MB / 257.4 MB, free: 7.77 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.2441/0.2441, allocations: 46.95 MB / 360.8 MB, free: 3.918 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.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 83.88 kB / 0.4962 GB, free: 7.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3593, allocations: 66.08 MB / 0.5608 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003734/0.3631, allocations: 1.714 MB / 0.5624 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002737/0.3658, allocations: 1.664 MB / 0.5641 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.648e-05/0.3659, allocations: 0 / 0.5641 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.3662, allocations: 31.78 kB / 0.5641 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000405/0.3666, allocations: 103.5 kB / 0.5642 GB, free: 460 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.3668, allocations: 83.67 kB / 0.5643 GB, free: 376 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.367, allocations: 107.7 kB / 0.5644 GB, free: 268 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.3671, allocations: 17.8 kB / 0.5644 GB, free: 252 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.752e-05/0.3672, allocations: 43.8 kB / 0.5644 GB, free: 208 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.3673, allocations: 47.7 kB / 0.5645 GB, free: 160 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.3673, allocations: 4 kB / 0.5645 GB, free: 156 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.3675, allocations: 99.94 kB / 0.5646 GB, free: 56 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.55e-05/0.3676, allocations: 19.92 kB / 0.5646 GB, free: 36 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.187e-05/0.3677, allocations: 27.86 kB / 0.5646 GB, free: 8 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000337/0.368, allocations: 171.4 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.368, allocations: 0 / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.368, allocations: 4 kB / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.368, allocations: 0 / 0.5648 GB, free: 15.83 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.0006022/0.3686, allocations: 349.5 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3687, allocations: 12.03 kB / 0.5651 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.3688, allocations: 30.75 kB / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.3688, allocations: 12.84 kB / 0.5652 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.3691, allocations: 154.9 kB / 0.5653 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.3691, allocations: 4.312 kB / 0.5653 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.3692, allocations: 11.92 kB / 0.5653 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.3694, allocations: 101.1 kB / 0.5654 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3694, allocations: 0 / 0.5654 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3694, allocations: 0 / 0.5654 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3694, allocations: 0 / 0.5654 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.621e-05/0.3695, allocations: 19.98 kB / 0.5654 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.3699, allocations: 256 kB / 0.5657 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.3701, allocations: 62.61 kB / 0.5657 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.28e-05/0.3701, allocations: 16.86 kB / 0.5658 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.3701, allocations: 0 / 0.5658 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.3703, allocations: 79.38 kB / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.3703, allocations: 0 / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005803/0.3709, allocations: 189.3 kB / 0.566 GB, free: 14.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.371, allocations: 77.11 kB / 0.5661 GB, free: 14.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.3711, allocations: 170.4 kB / 0.5663 GB, free: 14.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.3712, allocations: 25.7 kB / 0.5663 GB, free: 14.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.707e-05/0.3712, allocations: 104.1 kB / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.3713, allocations: 27.69 kB / 0.5664 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.3713, allocations: 29.7 kB / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.3715, allocations: 322.8 kB / 0.5667 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.163e-05/0.3715, allocations: 24 kB / 0.5668 GB, free: 13.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.927e-05/0.3716, allocations: 72.2 kB / 0.5668 GB, free: 13.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.3717, allocations: 57.7 kB / 0.5669 GB, free: 13.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3717, allocations: 0 / 0.5669 GB, free: 13.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001948/0.3719, allocations: 101.6 kB / 0.567 GB, free: 13.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.372, allocations: 8 kB / 0.567 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.372, allocations: 0 / 0.567 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.372, allocations: 0 / 0.567 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.308e-05/0.3721, allocations: 23.98 kB / 0.567 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.3721, allocations: 4 kB / 0.567 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.347e-05/0.3721, allocations: 7.938 kB / 0.567 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.3721, allocations: 4 kB / 0.567 GB, free: 13.29 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.0001084/0.3723, allocations: 124.1 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.3723, allocations: 7.953 kB / 0.5672 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003789/0.3727, allocations: 122.3 kB / 0.5673 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3727, allocations: 0 / 0.5673 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3727, allocations: 0 / 0.5673 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3727, allocations: 3.938 kB / 0.5673 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004921/0.3732, allocations: 374.4 kB / 0.5676 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3732, allocations: 0 / 0.5676 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.145e-05/0.3732, allocations: 11.98 kB / 0.5676 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.3732, allocations: 3.938 kB / 0.5677 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.3732, allocations: 4 kB / 0.5677 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3732, allocations: 0 / 0.5677 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3732, allocations: 0 / 0.5677 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.3735, allocations: 220.4 kB / 0.5679 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.264e-05/0.3735, allocations: 12.31 kB / 0.5679 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.3735, allocations: 11.97 kB / 0.5679 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.01e-05/0.3736, allocations: 8 kB / 0.5679 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.3737, allocations: 11.92 kB / 0.5679 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.3737, allocations: 0 / 0.5679 GB, free: 12.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001217/0.3738, allocations: 131.9 kB / 0.568 GB, free: 12.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3738, allocations: 0 / 0.568 GB, free: 12.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000318/0.3741, allocations: 55.81 kB / 0.5681 GB, free: 12.12 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 (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.002565/0.3767, allocations: 1.225 MB / 0.5693 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.3769, allocations: 59.92 kB / 0.5693 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3769, allocations: 0 / 0.5693 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.606e-05/0.377, allocations: 27.98 kB / 0.5694 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.3773, allocations: 30.62 kB / 0.5694 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.3792, allocations: 1.609 MB / 0.571 GB, free: 9.258 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.363e-05/0.3793, allocations: 81.33 kB / 0.571 GB, free: 9.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.482e-05/0.3793, allocations: 20.97 kB / 0.5711 GB, free: 9.141 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.877e-05/0.3794, allocations: 39.34 kB / 0.5711 GB, free: 9.102 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3794, allocations: 0 / 0.5711 GB, free: 9.102 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03553/0.4149, allocations: 4.749 MB / 0.5757 GB, free: 4.367 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.6, allocations: 3.938 kB / 0.5757 GB, free: 4.363 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_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_Test89.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.csv failed! Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.806434290017933]