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.002097/0.002097, allocations: 107.4 kB / 20.48 MB, free: 1.262 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.00216/0.00216, allocations: 208.5 kB / 23.77 MB, free: 4.434 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.465/1.465, allocations: 230.5 MB / 257.5 MB, free: 7.715 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.247/0.247, allocations: 46.95 MB / 360.9 MB, free: 3.895 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.002324/0.002324, allocations: 75.88 kB / 0.4963 GB, free: 7.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3433, allocations: 66.09 MB / 0.5608 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003041/0.3464, allocations: 1.67 MB / 0.5625 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.348, allocations: 0.9554 MB / 0.5634 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.131e-05/0.3481, allocations: 3.938 kB / 0.5634 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.3483, allocations: 43.81 kB / 0.5634 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003063/0.3487, allocations: 103.5 kB / 0.5635 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.3488, allocations: 75.73 kB / 0.5636 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.349, allocations: 99.64 kB / 0.5637 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.349, allocations: 12.22 kB / 0.5637 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.842e-05/0.3491, allocations: 43.78 kB / 0.5638 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.55e-05/0.3492, allocations: 23.86 kB / 0.5638 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.3492, allocations: 4 kB / 0.5638 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.325e-05/0.3493, allocations: 27.98 kB / 0.5638 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.822e-05/0.3494, allocations: 43.78 kB / 0.5639 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.24e-05/0.3494, allocations: 31.73 kB / 0.5639 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.3496, allocations: 125.3 kB / 0.564 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3496, allocations: 3.938 kB / 0.564 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3496, allocations: 0 / 0.564 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.3496, allocations: 0 / 0.564 GB, free: 0.7344 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.0005518/0.3502, allocations: 365.4 kB / 0.5644 GB, free: 356 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.3502, allocations: 12.03 kB / 0.5644 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.613e-05/0.3503, allocations: 30.75 kB / 0.5644 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.3503, allocations: 12.88 kB / 0.5644 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.3506, allocations: 171.2 kB / 0.5646 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.3506, allocations: 384 / 0.5646 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.946e-06/0.3506, allocations: 384 / 0.5646 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.3508, allocations: 53.8 kB / 0.5646 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3508, allocations: 0 / 0.5646 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.3508, allocations: 4 kB / 0.5646 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3508, allocations: 0 / 0.5646 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.326e-05/0.3509, allocations: 19.98 kB / 0.5647 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000219/0.3511, allocations: 156.8 kB / 0.5648 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.3513, allocations: 54.56 kB / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.859e-05/0.3513, allocations: 24.84 kB / 0.5649 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.3513, allocations: 0 / 0.5649 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/0.3515, allocations: 71.33 kB / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 5.431e-06/0.3515, allocations: 3.984 kB / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003201/0.3518, allocations: 109.5 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.3519, allocations: 51.41 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/0.3522, allocations: 274.8 kB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.3522, allocations: 29.64 kB / 0.5654 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.837e-05/0.3523, allocations: 116.1 kB / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.3523, allocations: 23.83 kB / 0.5655 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.3523, allocations: 17.72 kB / 0.5655 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3525, allocations: 326.8 kB / 0.5659 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.591e-05/0.3526, allocations: 19.98 kB / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.589e-05/0.3526, allocations: 33.69 kB / 0.5659 GB, free: 14.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.3527, allocations: 45.7 kB / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3527, allocations: 3.938 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001683/0.3529, allocations: 85.53 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3529, allocations: 12.03 kB / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3529, allocations: 0 / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3529, allocations: 0 / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.902e-05/0.353, allocations: 15.92 kB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.353, allocations: 0 / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.68e-05/0.3531, allocations: 7.953 kB / 0.5661 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.3531, allocations: 4 kB / 0.5661 GB, free: 14.41 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.0001381/0.3532, allocations: 131.1 kB / 0.5662 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.3532, allocations: 23.78 kB / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/0.3535, allocations: 106.8 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3535, allocations: 384 / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3535, allocations: 0 / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3535, allocations: 0 / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.3536, allocations: 168.7 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3536, allocations: 3.938 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.634e-05/0.3537, allocations: 7.938 kB / 0.5665 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3537, allocations: 0 / 0.5665 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.3537, allocations: 7.984 kB / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3537, allocations: 0 / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3537, allocations: 0 / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.3539, allocations: 121 kB / 0.5666 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.784e-05/0.3539, allocations: 15.84 kB / 0.5666 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.354, allocations: 0 / 0.5666 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.27e-05/0.354, allocations: 8 kB / 0.5666 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.354, allocations: 3.984 kB / 0.5666 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.354, allocations: 4 kB / 0.5666 GB, free: 13.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001976/0.3542, allocations: 208.5 kB / 0.5668 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3542, allocations: 0 / 0.5668 GB, free: 13.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002166/0.3545, allocations: 19.94 kB / 0.5669 GB, free: 13.52 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.002068/0.3565, allocations: 0.9929 MB / 0.5678 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001704/0.3567, allocations: 43.91 kB / 0.5679 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3567, allocations: 0 / 0.5679 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.988e-05/0.3568, allocations: 16 kB / 0.5679 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.3571, allocations: 31.34 kB / 0.5679 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.359, allocations: 1.695 MB / 0.5696 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.3591, allocations: 109.8 kB / 0.5697 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.336e-05/0.3591, allocations: 16.47 kB / 0.5697 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.91e-05/0.3592, allocations: 44.48 kB / 0.5697 GB, free: 10.6 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3592, allocations: 0 / 0.5697 GB, free: 10.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02986/0.3891, allocations: 4.251 MB / 0.5739 GB, free: 6.367 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.48, allocations: 9.578 kB / 0.5739 GB, free: 6.363 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.728871329978574]