Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.001404/0.001404, allocations: 112.4 kB / 20.48 MB, free: 1.27 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.001457/0.001457, allocations: 211.7 kB / 23.77 MB, free: 4.445 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.463/1.463, allocations: 230.5 MB / 257.4 MB, free: 7.727 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.2372/0.2372, allocations: 46.94 MB / 360.8 MB, free: 4.035 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.Test62,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002411/0.002411, allocations: 79.86 kB / 0.4963 GB, free: 7.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3647, allocations: 66.08 MB / 0.5608 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003304/0.368, allocations: 1.677 MB / 0.5624 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.3697, allocations: 0.9515 MB / 0.5634 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.148e-05/0.3697, allocations: 4 kB / 0.5634 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003036/0.37, allocations: 51.75 kB / 0.5634 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003222/0.3704, allocations: 95.59 kB / 0.5635 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.3706, allocations: 79.67 kB / 0.5636 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.3707, allocations: 103.6 kB / 0.5637 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.269e-05/0.3708, allocations: 8.234 kB / 0.5637 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.075e-05/0.3709, allocations: 43.78 kB / 0.5637 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.323e-05/0.371, allocations: 31.84 kB / 0.5638 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.371, allocations: 4 kB / 0.5638 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.937e-05/0.3711, allocations: 27.98 kB / 0.5638 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.774e-05/0.3711, allocations: 27.92 kB / 0.5638 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.709e-05/0.3712, allocations: 31.73 kB / 0.5639 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.3714, allocations: 129.2 kB / 0.564 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3714, allocations: 0 / 0.564 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3714, allocations: 0 / 0.564 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.3714, allocations: 11.94 kB / 0.564 GB, free: 0.7539 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.0005748/0.372, allocations: 369.3 kB / 0.5643 GB, free: 372 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.372, allocations: 8.031 kB / 0.5644 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.506e-05/0.372, allocations: 30.75 kB / 0.5644 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.3721, allocations: 12.89 kB / 0.5644 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.3724, allocations: 163.2 kB / 0.5645 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.3724, allocations: 4.375 kB / 0.5646 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.3724, allocations: 384 / 0.5646 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.3725, allocations: 57.73 kB / 0.5646 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.3725, allocations: 0 / 0.5646 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3725, allocations: 8 kB / 0.5646 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3725, allocations: 0 / 0.5646 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.021e-05/0.3726, allocations: 19.98 kB / 0.5646 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002063/0.3728, allocations: 156.8 kB / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.373, allocations: 50.62 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.616e-05/0.373, allocations: 20.84 kB / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.3731, allocations: 4 kB / 0.5649 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/0.3732, allocations: 67.27 kB / 0.5649 GB, free: 15.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.3732, allocations: 4 kB / 0.5649 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002884/0.3735, allocations: 109.6 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.3735, allocations: 51.41 kB / 0.5651 GB, free: 15.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.3738, allocations: 274.8 kB / 0.5653 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.3739, allocations: 25.7 kB / 0.5654 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.799e-05/0.3739, allocations: 116.1 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.374, allocations: 11.84 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.374, allocations: 25.7 kB / 0.5655 GB, free: 15.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3742, allocations: 326.8 kB / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.128e-05/0.3742, allocations: 19.92 kB / 0.5658 GB, free: 14.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.215e-05/0.3743, allocations: 37.7 kB / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.3744, allocations: 37.72 kB / 0.5659 GB, free: 14.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3744, allocations: 4 kB / 0.5659 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001692/0.3745, allocations: 93.45 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.3746, allocations: 7.938 kB / 0.566 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3746, allocations: 0 / 0.566 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.3746, allocations: 0 / 0.566 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-05/0.3746, allocations: 15.98 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.3746, allocations: 4.031 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.695e-05/0.3747, allocations: 7.953 kB / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.3747, allocations: 0 / 0.566 GB, free: 14.44 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.0001184/0.3748, allocations: 141.8 kB / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.3748, allocations: 19.84 kB / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.3751, allocations: 99.06 kB / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3751, allocations: 4 kB / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.3751, allocations: 4 kB / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3751, allocations: 4 kB / 0.5663 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.3752, allocations: 160.7 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3752, allocations: 11.94 kB / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.728e-05/0.3753, allocations: 4 kB / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3753, allocations: 0 / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.3753, allocations: 0 / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3753, allocations: 0 / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3753, allocations: 0 / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.3755, allocations: 125 kB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.559e-05/0.3755, allocations: 15.84 kB / 0.5666 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.3755, allocations: 4 kB / 0.5666 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.976e-05/0.3756, allocations: 4 kB / 0.5666 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.3756, allocations: 11.98 kB / 0.5666 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.3756, allocations: 0 / 0.5666 GB, free: 13.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001922/0.3758, allocations: 200.6 kB / 0.5668 GB, free: 13.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3758, allocations: 0 / 0.5668 GB, free: 13.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002223/0.376, allocations: 27.92 kB / 0.5668 GB, free: 13.54 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 (6): * Single equations (assignments): 4 * 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.002081/0.3781, allocations: 0.9891 MB / 0.5678 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001639/0.3783, allocations: 35.98 kB / 0.5678 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3783, allocations: 0 / 0.5678 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.348e-05/0.3784, allocations: 31.98 kB / 0.5679 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.3786, allocations: 30.47 kB / 0.5679 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.3806, allocations: 1.69 MB / 0.5696 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.979e-05/0.3807, allocations: 105.7 kB / 0.5697 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.75e-05/0.3807, allocations: 20.41 kB / 0.5697 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.097e-05/0.3808, allocations: 43.42 kB / 0.5697 GB, free: 10.62 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3808, allocations: 0 / 0.5697 GB, free: 10.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/0.4107, allocations: 4.248 MB / 0.5739 GB, free: 6.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.55, allocations: 10.16 kB / 0.5739 GB, free: 6.391 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498703 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.666716673993506]