Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.001313/0.001313, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001361/0.001361, allocations: 213.1 kB / 24.54 MB, free: 4.016 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.485/1.485, allocations: 230.3 MB / 258 MB, free: 8.258 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.2274/0.2274, allocations: 46.9 MB / 361.3 MB, free: 4.445 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.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002384/0.002384, allocations: 83.86 kB / 0.4966 GB, free: 8.023 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3502, allocations: 66.02 MB / 0.5611 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003244/0.3534, allocations: 1.743 MB / 0.5628 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002579/0.356, allocations: 1.734 MB / 0.5645 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.209e-05/0.3561, allocations: 7.875 kB / 0.5645 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.3564, allocations: 43.77 kB / 0.5646 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003256/0.3567, allocations: 91.61 kB / 0.5647 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.3569, allocations: 83.66 kB / 0.5647 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.3571, allocations: 107.7 kB / 0.5648 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.997e-05/0.3572, allocations: 5.969 kB / 0.5648 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.3573, allocations: 59.7 kB / 0.5649 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.3575, allocations: 47.83 kB / 0.5649 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.3575, allocations: 4 kB / 0.5649 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001944/0.3577, allocations: 119.9 kB / 0.5651 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.942e-05/0.3577, allocations: 11.94 kB / 0.5651 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.827e-05/0.3578, allocations: 39.8 kB / 0.5651 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.3581, allocations: 171.3 kB / 0.5653 GB, free: 412 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.3581, allocations: 3.938 kB / 0.5653 GB, free: 408 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3581, allocations: 0 / 0.5653 GB, free: 408 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.3581, allocations: 0 / 0.5653 GB, free: 408 kB / 398.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.000638/0.3587, allocations: 422.7 kB / 0.5657 GB, free: 15.94 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.3588, allocations: 8.031 kB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.691e-05/0.3588, allocations: 38.73 kB / 0.5657 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.3589, allocations: 12.84 kB / 0.5657 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.3592, allocations: 220.3 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.3592, allocations: 384 / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.3592, allocations: 7.938 kB / 0.566 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.3594, allocations: 71.33 kB / 0.566 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3594, allocations: 3.938 kB / 0.566 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.3594, allocations: 0 / 0.566 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3595, allocations: 4 kB / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.309e-05/0.3595, allocations: 15.98 kB / 0.566 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.3599, allocations: 288.9 kB / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.3601, allocations: 62.61 kB / 0.5664 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.174e-05/0.3602, allocations: 16.86 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.3602, allocations: 0 / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.3603, allocations: 71.39 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.3603, allocations: 0 / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005655/0.3609, allocations: 181.2 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/0.361, allocations: 77.11 kB / 0.5667 GB, free: 14.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.3612, allocations: 166.4 kB / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.3612, allocations: 29.7 kB / 0.5669 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.82e-05/0.3612, allocations: 100.1 kB / 0.567 GB, free: 14.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.3613, allocations: 27.75 kB / 0.567 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/0.3613, allocations: 25.7 kB / 0.567 GB, free: 14.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3615, allocations: 322.8 kB / 0.5674 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.852e-05/0.3615, allocations: 23.94 kB / 0.5674 GB, free: 14.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.663e-05/0.3616, allocations: 38.56 kB / 0.5674 GB, free: 13.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.3617, allocations: 65.73 kB / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3617, allocations: 0 / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001876/0.3619, allocations: 97.56 kB / 0.5676 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3619, allocations: 8 kB / 0.5676 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3619, allocations: 384 / 0.5676 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3619, allocations: 0 / 0.5676 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.706e-05/0.362, allocations: 12 kB / 0.5676 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.362, allocations: 4 kB / 0.5676 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.63e-05/0.3621, allocations: 15.92 kB / 0.5676 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.3621, allocations: 8.188 kB / 0.5676 GB, free: 13.74 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.0001085/0.3622, allocations: 117.8 kB / 0.5677 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.3622, allocations: 11.95 kB / 0.5677 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.3625, allocations: 122.3 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3625, allocations: 0 / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3625, allocations: 0 / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3625, allocations: 3.938 kB / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004967/0.363, allocations: 403.2 kB / 0.5682 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.363, allocations: 4 kB / 0.5682 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.032e-05/0.3631, allocations: 15.92 kB / 0.5683 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3631, allocations: 3.938 kB / 0.5683 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.3631, allocations: 0 / 0.5683 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3631, allocations: 0 / 0.5683 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3631, allocations: 4 kB / 0.5683 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.3633, allocations: 200.4 kB / 0.5685 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.662e-05/0.3634, allocations: 85.05 kB / 0.5685 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.3634, allocations: 11.94 kB / 0.5686 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.3635, allocations: 192 / 0.5686 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.3635, allocations: 7.984 kB / 0.5686 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.3635, allocations: 7.938 kB / 0.5686 GB, free: 12.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.3637, allocations: 127.9 kB / 0.5687 GB, free: 12.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3637, allocations: 3.938 kB / 0.5687 GB, free: 12.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003063/0.364, allocations: 51.86 kB / 0.5687 GB, free: 12.47 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 (8): * Single equations (assignments): 6 * 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.00233/0.3663, allocations: 1.18 MB / 0.5699 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.3665, allocations: 55.91 kB / 0.5699 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3665, allocations: 0 / 0.5699 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.928e-05/0.3666, allocations: 27.94 kB / 0.57 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.3669, allocations: 31 kB / 0.57 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.3688, allocations: 1.597 MB / 0.5716 GB, free: 9.648 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.3692, allocations: 0.7002 MB / 0.5722 GB, free: 8.922 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.139e-05/0.3693, allocations: 16.95 kB / 0.5723 GB, free: 8.906 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.441e-05/0.3693, allocations: 43.42 kB / 0.5723 GB, free: 8.863 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3693, allocations: 0 / 0.5723 GB, free: 8.863 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02998/0.3993, allocations: 4.08 MB / 0.5763 GB, free: 4.762 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.856/8.255, allocations: 16.39 kB / 0.5763 GB, free: 4.754 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_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_Test57.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.351333824917674]