Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.001608/0.001608, allocations: 120.4 kB / 20.44 MB, free: 1.461 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.002275/0.002275, allocations: 212.1 kB / 23.74 MB, free: 4.695 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.525/1.525, allocations: 230.5 MB / 257.4 MB, free: 8.199 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.2364/0.2364, allocations: 46.93 MB / 360.8 MB, free: 4.227 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.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 79.88 kB / 0.4963 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4272/0.4295, allocations: 66.09 MB / 0.5608 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.004518/0.4341, allocations: 1.732 MB / 0.5625 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002294/0.4364, allocations: 1.057 MB / 0.5635 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.4365, allocations: 3.938 kB / 0.5635 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004574/0.4369, allocations: 39.77 kB / 0.5636 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004307/0.4374, allocations: 95.55 kB / 0.5637 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.4377, allocations: 75.73 kB / 0.5637 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.4379, allocations: 111.7 kB / 0.5638 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.438, allocations: 5.828 kB / 0.5638 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.4382, allocations: 51.72 kB / 0.5639 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.4383, allocations: 31.84 kB / 0.5639 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.4383, allocations: 4 kB / 0.5639 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.4384, allocations: 39.98 kB / 0.564 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.032e-05/0.4385, allocations: 27.84 kB / 0.564 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.038e-05/0.4386, allocations: 31.75 kB / 0.564 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003039/0.4389, allocations: 119.5 kB / 0.5641 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.4389, allocations: 0 / 0.5641 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.4389, allocations: 4 kB / 0.5641 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.996e-06/0.4389, allocations: 0 / 0.5641 GB, free: 0.8633 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001021/0.4399, allocations: 345.6 kB / 0.5645 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.126e-05/0.44, allocations: 8.031 kB / 0.5645 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.929e-05/0.4401, allocations: 34.73 kB / 0.5645 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.316e-05/0.4401, allocations: 16.84 kB / 0.5645 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005334/0.4407, allocations: 150.3 kB / 0.5647 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.4407, allocations: 4.375 kB / 0.5647 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.4407, allocations: 384 / 0.5647 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.4409, allocations: 61.8 kB / 0.5647 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.441, allocations: 4 kB / 0.5647 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.441, allocations: 0 / 0.5647 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.441, allocations: 0 / 0.5647 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.323e-05/0.4411, allocations: 19.98 kB / 0.5648 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000514/0.4416, allocations: 255.9 kB / 0.565 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.4418, allocations: 58.67 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.627e-05/0.4418, allocations: 16.86 kB / 0.5651 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.4418, allocations: 0 / 0.5651 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001951/0.442, allocations: 75.31 kB / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.442, allocations: 0 / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000609/0.4427, allocations: 177.3 kB / 0.5653 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.4427, allocations: 55.34 kB / 0.5654 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.4429, allocations: 183.3 kB / 0.5655 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.4429, allocations: 25.7 kB / 0.5656 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.479e-05/0.443, allocations: 108.1 kB / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.4431, allocations: 23.8 kB / 0.5657 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.4431, allocations: 25.7 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.4433, allocations: 326.8 kB / 0.566 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.116e-05/0.4434, allocations: 24 kB / 0.5661 GB, free: 14.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.016e-05/0.4434, allocations: 34.08 kB / 0.5661 GB, free: 14.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.4435, allocations: 61.62 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4435, allocations: 4 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002051/0.4437, allocations: 105.6 kB / 0.5662 GB, free: 14.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.4438, allocations: 4 kB / 0.5663 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.4438, allocations: 8.031 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.4438, allocations: 0 / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.4439, allocations: 23.86 kB / 0.5663 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.4439, allocations: 0 / 0.5663 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.866e-05/0.444, allocations: 7.984 kB / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.444, allocations: 8 kB / 0.5663 GB, free: 14.45 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 (10): * Single equations (assignments): 10 * 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.000125/0.4441, allocations: 121.8 kB / 0.5664 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.4441, allocations: 7.953 kB / 0.5664 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002774/0.4444, allocations: 123 kB / 0.5665 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4444, allocations: 0 / 0.5665 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4444, allocations: 0 / 0.5665 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.4444, allocations: 4 kB / 0.5665 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005285/0.4449, allocations: 362.6 kB / 0.5669 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4449, allocations: 3.984 kB / 0.5669 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.186e-05/0.445, allocations: 8 kB / 0.5669 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.445, allocations: 4 kB / 0.5669 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.445, allocations: 0 / 0.5669 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.445, allocations: 7.969 kB / 0.5669 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.445, allocations: 80 / 0.5669 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.4453, allocations: 208.2 kB / 0.5671 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.4453, allocations: 15.89 kB / 0.5671 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.4453, allocations: 4 kB / 0.5671 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.351e-05/0.4454, allocations: 4.125 kB / 0.5671 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.4454, allocations: 15.98 kB / 0.5671 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.4454, allocations: 7.938 kB / 0.5672 GB, free: 13.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001256/0.4456, allocations: 136.9 kB / 0.5673 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4456, allocations: 0 / 0.5673 GB, free: 13.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003062/0.4459, allocations: 27.92 kB / 0.5673 GB, free: 13.31 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.002192/0.4481, allocations: 1.072 MB / 0.5684 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002002/0.4483, allocations: 55.91 kB / 0.5684 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4483, allocations: 4.062 kB / 0.5684 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.208e-05/0.4484, allocations: 31.92 kB / 0.5684 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.4487, allocations: 31.92 kB / 0.5685 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.4508, allocations: 1.646 MB / 0.5701 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.4512, allocations: 0.7041 MB / 0.5708 GB, free: 9.785 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.862e-05/0.4512, allocations: 16.95 kB / 0.5708 GB, free: 9.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.05e-05/0.4513, allocations: 35.42 kB / 0.5708 GB, free: 9.734 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4513, allocations: 4 kB / 0.5708 GB, free: 9.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03416/0.4855, allocations: 3.559 MB / 0.5743 GB, free: 6.211 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.28, allocations: 10.17 kB / 0.5743 GB, free: 6.203 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.516712141994503]