Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.001373/0.001373, allocations: 110.4 kB / 21.1 MB, free: 0.7891 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.001527/0.001527, allocations: 205.4 kB / 24.38 MB, free: 4.203 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.539/1.539, allocations: 230.2 MB / 257.7 MB, free: 8.293 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.3059/0.3059, allocations: 46.89 MB / 361 MB, free: 4.508 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.Test38,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 76.19 kB / 0.4962 GB, free: 8.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4084, allocations: 66.02 MB / 0.5607 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.004586/0.413, allocations: 1.708 MB / 0.5624 GB, free: 3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00276/0.4158, allocations: 1.021 MB / 0.5634 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.4159, allocations: 3.938 kB / 0.5634 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004294/0.4163, allocations: 59.8 kB / 0.5634 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004601/0.4168, allocations: 115.5 kB / 0.5635 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.4171, allocations: 71.72 kB / 0.5636 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.4173, allocations: 111.6 kB / 0.5637 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.703e-05/0.4174, allocations: 8.219 kB / 0.5637 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.4175, allocations: 47.78 kB / 0.5638 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.4177, allocations: 55.75 kB / 0.5638 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.4177, allocations: 4 kB / 0.5638 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.4178, allocations: 24 kB / 0.5638 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.238e-05/0.4179, allocations: 27.86 kB / 0.5639 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.165e-05/0.4179, allocations: 31.78 kB / 0.5639 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.4182, allocations: 105.4 kB / 0.564 GB, free: 1.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.4182, allocations: 0 / 0.564 GB, free: 1.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4182, allocations: 3.938 kB / 0.564 GB, free: 1.316 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.341e-06/0.4182, allocations: 0 / 0.564 GB, free: 1.316 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.0007163/0.4189, allocations: 414.7 kB / 0.5644 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.419, allocations: 8.031 kB / 0.5644 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.782e-05/0.419, allocations: 30.75 kB / 0.5644 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/0.4191, allocations: 16.84 kB / 0.5645 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004233/0.4195, allocations: 220.8 kB / 0.5647 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.4195, allocations: 4.375 kB / 0.5647 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.4196, allocations: 4.359 kB / 0.5647 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.4197, allocations: 53.8 kB / 0.5647 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.4197, allocations: 0 / 0.5647 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.4197, allocations: 0 / 0.5647 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.4197, allocations: 0 / 0.5647 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.008e-05/0.4198, allocations: 15.98 kB / 0.5647 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/0.42, allocations: 185.6 kB / 0.5649 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.4202, allocations: 54.55 kB / 0.565 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.444e-05/0.4203, allocations: 16.86 kB / 0.565 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.4203, allocations: 3.938 kB / 0.565 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.4205, allocations: 71.33 kB / 0.5651 GB, free: 68 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.4205, allocations: 0 / 0.5651 GB, free: 68 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003143/0.4208, allocations: 101.5 kB / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.4209, allocations: 55.41 kB / 0.5652 GB, free: 15.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.4211, allocations: 198.2 kB / 0.5654 GB, free: 15.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.4211, allocations: 25.7 kB / 0.5654 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.614e-05/0.4212, allocations: 96.14 kB / 0.5655 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.4212, allocations: 19.89 kB / 0.5655 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.4213, allocations: 17.72 kB / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4214, allocations: 326.8 kB / 0.5659 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.134e-05/0.4215, allocations: 15.98 kB / 0.5659 GB, free: 15.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.847e-05/0.4215, allocations: 29.7 kB / 0.5659 GB, free: 15.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.4216, allocations: 49.89 kB / 0.566 GB, free: 15.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.4216, allocations: 0 / 0.566 GB, free: 15.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001635/0.4218, allocations: 89.53 kB / 0.566 GB, free: 14.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4218, allocations: 8.031 kB / 0.566 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4218, allocations: 0 / 0.566 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.4218, allocations: 0 / 0.566 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.78e-05/0.4219, allocations: 19.92 kB / 0.5661 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4219, allocations: 0 / 0.5661 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.547e-05/0.422, allocations: 3.938 kB / 0.5661 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.422, allocations: 4 kB / 0.5661 GB, free: 14.96 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.0001177/0.4221, allocations: 123.1 kB / 0.5662 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.4221, allocations: 11.89 kB / 0.5662 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.4223, allocations: 90.77 kB / 0.5663 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.4224, allocations: 7.938 kB / 0.5663 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4224, allocations: 0 / 0.5663 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.4224, allocations: 0 / 0.5663 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.4225, allocations: 189.6 kB / 0.5665 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4225, allocations: 3.938 kB / 0.5665 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.39e-05/0.4226, allocations: 8 kB / 0.5665 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.4226, allocations: 0 / 0.5665 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.4226, allocations: 0 / 0.5665 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4226, allocations: 0 / 0.5665 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4226, allocations: 0 / 0.5665 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.4228, allocations: 113.2 kB / 0.5666 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.238e-05/0.4228, allocations: 92.98 kB / 0.5667 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.4228, allocations: 4 kB / 0.5667 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.323e-05/0.4229, allocations: 0 / 0.5667 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.4229, allocations: 3.984 kB / 0.5667 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.4229, allocations: 11.92 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.4231, allocations: 156.1 kB / 0.5669 GB, free: 14.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4231, allocations: 0 / 0.5669 GB, free: 14.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002218/0.4233, allocations: 23.92 kB / 0.5669 GB, free: 14.02 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.001822/0.4251, allocations: 0.9342 MB / 0.5678 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001635/0.4253, allocations: 43.92 kB / 0.5678 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.4253, allocations: 0 / 0.5678 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.114e-05/0.4253, allocations: 19.98 kB / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.4256, allocations: 31.48 kB / 0.5679 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.4273, allocations: 1.509 MB / 0.5694 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.4276, allocations: 0.7118 MB / 0.57 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.09e-05/0.4277, allocations: 16.47 kB / 0.5701 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.571e-05/0.4277, allocations: 31.42 kB / 0.5701 GB, free: 10.73 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4277, allocations: 0 / 0.5701 GB, free: 10.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/0.4521, allocations: 3.197 MB / 0.5732 GB, free: 7.539 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.784/8.236, allocations: 5.75 kB / 0.5732 GB, free: 7.535 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197316 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.639462512917817]