Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.001817/0.001817, allocations: 109 kB / 21.1 MB, free: 0.7656 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.002241/0.002241, allocations: 209.7 kB / 24.38 MB, free: 4.184 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.564/1.564, allocations: 230.2 MB / 257.7 MB, free: 8.289 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.2608/0.2608, allocations: 46.9 MB / 361 MB, free: 4.488 MB / 286.1 MB " [Timeout remaining time 179] 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.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 84.09 kB / 0.4962 GB, free: 8.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3868, allocations: 66.01 MB / 0.5607 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003312/0.3901, allocations: 1.714 MB / 0.5624 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.3918, allocations: 1.014 MB / 0.5634 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.101e-05/0.3919, allocations: 3.938 kB / 0.5634 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.3922, allocations: 63.8 kB / 0.5634 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.3925, allocations: 115.5 kB / 0.5635 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.3927, allocations: 75.72 kB / 0.5636 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.3929, allocations: 111.6 kB / 0.5637 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.174e-05/0.393, allocations: 4.219 kB / 0.5637 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.3931, allocations: 51.78 kB / 0.5638 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.3932, allocations: 51.75 kB / 0.5638 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.3932, allocations: 4 kB / 0.5638 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.273e-05/0.3933, allocations: 35.94 kB / 0.5639 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.415e-05/0.3934, allocations: 19.92 kB / 0.5639 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.647e-05/0.3934, allocations: 31.8 kB / 0.5639 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.3936, allocations: 101.4 kB / 0.564 GB, free: 1.297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3936, allocations: 4 kB / 0.564 GB, free: 1.293 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3936, allocations: 3.938 kB / 0.564 GB, free: 1.289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.956e-06/0.3936, allocations: 0 / 0.564 GB, free: 1.289 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.0005683/0.3942, allocations: 410.7 kB / 0.5644 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3942, allocations: 8.031 kB / 0.5644 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.331e-05/0.3943, allocations: 42.69 kB / 0.5645 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.3943, allocations: 12.84 kB / 0.5645 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.3947, allocations: 216.9 kB / 0.5647 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.3947, allocations: 384 / 0.5647 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.3947, allocations: 384 / 0.5647 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.3948, allocations: 53.8 kB / 0.5647 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.3948, allocations: 0 / 0.5647 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-06/0.3948, allocations: 0 / 0.5647 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3948, allocations: 0 / 0.5647 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.885e-05/0.3949, allocations: 19.92 kB / 0.5647 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002141/0.3951, allocations: 189.6 kB / 0.5649 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.3953, allocations: 50.61 kB / 0.565 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.424e-05/0.3954, allocations: 12.86 kB / 0.565 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.3954, allocations: 4 kB / 0.565 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.3956, allocations: 71.33 kB / 0.5651 GB, free: 48 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.3956, allocations: 0 / 0.5651 GB, free: 48 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003356/0.3959, allocations: 101.5 kB / 0.5652 GB, free: 15.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.3959, allocations: 55.41 kB / 0.5652 GB, free: 15.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.3961, allocations: 198.2 kB / 0.5654 GB, free: 15.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.3962, allocations: 25.7 kB / 0.5654 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.912e-05/0.3962, allocations: 104.1 kB / 0.5655 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.3963, allocations: 11.91 kB / 0.5655 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.3963, allocations: 21.72 kB / 0.5656 GB, free: 15.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3964, allocations: 322.8 kB / 0.5659 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.475e-05/0.3965, allocations: 15.98 kB / 0.5659 GB, free: 15.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-05/0.3966, allocations: 29.72 kB / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.903e-05/0.3967, allocations: 45.58 kB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3967, allocations: 4 kB / 0.566 GB, free: 15.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001655/0.3968, allocations: 93.47 kB / 0.566 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3968, allocations: 7.984 kB / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3969, allocations: 0 / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3969, allocations: 0 / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.97e-05/0.3969, allocations: 12 kB / 0.5661 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3969, allocations: 0 / 0.5661 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.5e-05/0.397, allocations: 3.938 kB / 0.5661 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.397, allocations: 4 kB / 0.5661 GB, free: 14.94 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.0001158/0.3971, allocations: 125.9 kB / 0.5662 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.3971, allocations: 15.89 kB / 0.5662 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.3974, allocations: 94.69 kB / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3974, allocations: 4 kB / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3974, allocations: 3.984 kB / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3974, allocations: 0 / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.3976, allocations: 189.6 kB / 0.5665 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3976, allocations: 4.312 kB / 0.5665 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.113e-05/0.3976, allocations: 4 kB / 0.5665 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3976, allocations: 4 kB / 0.5665 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.065e-05/0.3976, allocations: 7.984 kB / 0.5665 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3976, allocations: 0 / 0.5665 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3976, allocations: 0 / 0.5665 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.3978, allocations: 109 kB / 0.5666 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.398, allocations: 88.98 kB / 0.5667 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.398, allocations: 4 kB / 0.5667 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.371e-05/0.398, allocations: 0 / 0.5667 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.3981, allocations: 11.98 kB / 0.5667 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.3981, allocations: 3.938 kB / 0.5667 GB, free: 14.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.3982, allocations: 148.2 kB / 0.5669 GB, free: 14.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3982, allocations: 0 / 0.5669 GB, free: 14.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002217/0.3984, allocations: 23.94 kB / 0.5669 GB, free: 14 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.001986/0.4004, allocations: 0.9414 MB / 0.5678 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.4006, allocations: 35.92 kB / 0.5678 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4006, allocations: 0 / 0.5678 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.57e-05/0.4007, allocations: 19.98 kB / 0.5678 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.401, allocations: 31.48 kB / 0.5679 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.4028, allocations: 1.518 MB / 0.5694 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.4032, allocations: 0.7039 MB / 0.57 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.821e-05/0.4033, allocations: 12.48 kB / 0.5701 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.622e-05/0.4033, allocations: 31.42 kB / 0.5701 GB, free: 10.71 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4033, allocations: 0 / 0.5701 GB, free: 10.71 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02648/0.4298, allocations: 3.197 MB / 0.5732 GB, free: 7.523 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.874/8.304, allocations: 12.73 kB / 0.5732 GB, free: 7.512 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197433 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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: 11.689293934032321]