Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.001387/0.001387, allocations: 110 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.001566/0.001566, allocations: 212.9 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.476/1.476, allocations: 230.5 MB / 257.4 MB, free: 8 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.2433/0.2433, allocations: 46.93 MB / 360.8 MB, free: 4.184 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.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003142/0.003142, allocations: 71.88 kB / 0.4963 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3644, allocations: 66.09 MB / 0.5608 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003211/0.3676, allocations: 1.686 MB / 0.5624 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.3694, allocations: 1.033 MB / 0.5635 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.251e-05/0.3695, allocations: 0 / 0.5635 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003082/0.3698, allocations: 59.75 kB / 0.5635 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.3701, allocations: 87.59 kB / 0.5636 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.3703, allocations: 83.66 kB / 0.5637 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.3705, allocations: 99.64 kB / 0.5638 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.463e-05/0.3705, allocations: 8.234 kB / 0.5638 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.3706, allocations: 43.78 kB / 0.5638 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.3708, allocations: 39.78 kB / 0.5639 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.3708, allocations: 0 / 0.5639 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.871e-05/0.3709, allocations: 35.98 kB / 0.5639 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.045e-05/0.3709, allocations: 23.92 kB / 0.5639 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.886e-05/0.371, allocations: 47.59 kB / 0.564 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.3712, allocations: 125.3 kB / 0.5641 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3713, allocations: 0 / 0.5641 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3713, allocations: 0 / 0.5641 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.3713, allocations: 0 / 0.5641 GB, free: 0.9062 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006419/0.3719, allocations: 369.3 kB / 0.5644 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.3719, allocations: 8.031 kB / 0.5644 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.263e-05/0.372, allocations: 38.75 kB / 0.5645 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.372, allocations: 12.89 kB / 0.5645 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.3723, allocations: 163.2 kB / 0.5646 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.3723, allocations: 4.359 kB / 0.5646 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.3724, allocations: 384 / 0.5646 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.3725, allocations: 61.73 kB / 0.5647 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3725, allocations: 0 / 0.5647 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.3725, allocations: 0 / 0.5647 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3725, allocations: 0 / 0.5647 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.626e-05/0.3726, allocations: 12 kB / 0.5647 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002192/0.3728, allocations: 172.7 kB / 0.5649 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.373, allocations: 50.61 kB / 0.5649 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.412e-05/0.373, allocations: 16.8 kB / 0.5649 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.3731, allocations: 4 kB / 0.5649 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.3732, allocations: 71.33 kB / 0.565 GB, free: 15.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.3732, allocations: 0 / 0.565 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003029/0.3735, allocations: 101.6 kB / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.3736, allocations: 55.41 kB / 0.5652 GB, free: 15.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.3739, allocations: 270.7 kB / 0.5654 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.3739, allocations: 29.7 kB / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.4e-05/0.374, allocations: 112.1 kB / 0.5656 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.374, allocations: 15.84 kB / 0.5656 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.374, allocations: 25.7 kB / 0.5656 GB, free: 15.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3742, allocations: 326.8 kB / 0.5659 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.212e-05/0.3742, allocations: 12 kB / 0.5659 GB, free: 14.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.017e-05/0.3743, allocations: 29.7 kB / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.875e-05/0.3744, allocations: 41.7 kB / 0.566 GB, free: 14.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3744, allocations: 4 kB / 0.566 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001676/0.3746, allocations: 89.47 kB / 0.5661 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.3746, allocations: 6.344 kB / 0.5661 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3746, allocations: 3.938 kB / 0.5661 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3746, allocations: 4 kB / 0.5661 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.302e-05/0.3747, allocations: 15.98 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.3747, allocations: 0 / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5e-05/0.3747, allocations: 7.953 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.3748, allocations: 0 / 0.5661 GB, free: 14.61 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 (7): * Single equations (assignments): 7 * 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.0001243/0.3749, allocations: 143.1 kB / 0.5663 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.3749, allocations: 19.84 kB / 0.5663 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.3751, allocations: 90.75 kB / 0.5664 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.3751, allocations: 4 kB / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3752, allocations: 384 / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3752, allocations: 0 / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.3753, allocations: 168.7 kB / 0.5665 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3753, allocations: 3.938 kB / 0.5665 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.993e-05/0.3754, allocations: 4 kB / 0.5665 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3754, allocations: 4 kB / 0.5665 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.3754, allocations: 7.938 kB / 0.5665 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3754, allocations: 0 / 0.5665 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3754, allocations: 3.984 kB / 0.5665 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.3756, allocations: 109.1 kB / 0.5667 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.765e-05/0.3756, allocations: 19.83 kB / 0.5667 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.3756, allocations: 0 / 0.5667 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.746e-05/0.3756, allocations: 7.922 kB / 0.5667 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.3757, allocations: 8 kB / 0.5667 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.3757, allocations: 3.984 kB / 0.5667 GB, free: 13.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001857/0.3759, allocations: 204.6 kB / 0.5669 GB, free: 13.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3759, allocations: 0 / 0.5669 GB, free: 13.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002138/0.3761, allocations: 15.94 kB / 0.5669 GB, free: 13.72 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001915/0.378, allocations: 0.9638 MB / 0.5678 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.3782, allocations: 39.97 kB / 0.5679 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3782, allocations: 4 kB / 0.5679 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.687e-05/0.3782, allocations: 15.94 kB / 0.5679 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.3785, allocations: 27.34 kB / 0.5679 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.3806, allocations: 1.682 MB / 0.5696 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.3809, allocations: 0.7118 MB / 0.5703 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.82e-05/0.381, allocations: 16.47 kB / 0.5703 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.285e-05/0.3811, allocations: 43.42 kB / 0.5703 GB, free: 10.23 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3811, allocations: 0 / 0.5703 GB, free: 10.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03003/0.4111, allocations: 3.653 MB / 0.5739 GB, free: 6.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.48, allocations: 6.812 kB / 0.5739 GB, free: 6.609 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.678811580000911]