Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 111.1 kB / 20.44 MB, free: 1.352 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 213.3 kB / 23.73 MB, free: 4.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.244/0.244, allocations: 46.96 MB / 360.9 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 71.89 kB / 0.4962 GB, free: 7.637 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3261, allocations: 66.03 MB / 0.5607 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003484/0.3296, allocations: 1.74 MB / 0.5624 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.3314, allocations: 0.9715 MB / 0.5633 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.814e-05/0.3315, allocations: 4 kB / 0.5633 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003582/0.3319, allocations: 99.61 kB / 0.5634 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003499/0.3322, allocations: 119.5 kB / 0.5635 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.3324, allocations: 75.73 kB / 0.5636 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.3326, allocations: 123.7 kB / 0.5637 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.3327, allocations: 21.75 kB / 0.5637 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.3328, allocations: 55.77 kB / 0.5638 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.333, allocations: 63.8 kB / 0.5638 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.333, allocations: 4 kB / 0.5638 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.3331, allocations: 67.97 kB / 0.5639 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.806e-05/0.3332, allocations: 39.78 kB / 0.5639 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.68e-05/0.3332, allocations: 23.81 kB / 0.564 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.3334, allocations: 143.4 kB / 0.5641 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3335, allocations: 0 / 0.5641 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3335, allocations: 0 / 0.5641 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.3335, allocations: 0 / 0.5641 GB, free: 0.6445 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005675/0.334, allocations: 373.3 kB / 0.5645 GB, free: 256 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3341, allocations: 12.03 kB / 0.5645 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.72e-05/0.3341, allocations: 42.67 kB / 0.5645 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.3342, allocations: 20.84 kB / 0.5645 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.3345, allocations: 163 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.3345, allocations: 384 / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.3345, allocations: 7.938 kB / 0.5647 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.3347, allocations: 57.67 kB / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.3347, allocations: 3.984 kB / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.3347, allocations: 4 kB / 0.5648 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.3347, allocations: 4 kB / 0.5648 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.49e-05/0.3348, allocations: 23.92 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.3352, allocations: 271.9 kB / 0.565 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.3355, allocations: 62.55 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.657e-05/0.3355, allocations: 28.91 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.3356, allocations: 0 / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001856/0.3357, allocations: 71.33 kB / 0.5652 GB, free: 15.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.3358, allocations: 0 / 0.5652 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008186/0.3366, allocations: 253.7 kB / 0.5654 GB, free: 15.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.3366, allocations: 59.34 kB / 0.5655 GB, free: 15.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.3369, allocations: 243 kB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.3369, allocations: 25.7 kB / 0.5658 GB, free: 14.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.996e-05/0.337, allocations: 116.1 kB / 0.5659 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.089e-05/0.337, allocations: 31.73 kB / 0.5659 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/0.3371, allocations: 29.7 kB / 0.5659 GB, free: 14.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3372, allocations: 326.8 kB / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.413e-05/0.3373, allocations: 27.98 kB / 0.5663 GB, free: 14.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.286e-05/0.3374, allocations: 45.7 kB / 0.5663 GB, free: 14.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.3376, allocations: 81.64 kB / 0.5664 GB, free: 14.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3376, allocations: 4 kB / 0.5664 GB, free: 14.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002507/0.3378, allocations: 137.5 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3378, allocations: 4 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3378, allocations: 0 / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.3378, allocations: 7.984 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.301e-05/0.3379, allocations: 23.92 kB / 0.5666 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3379, allocations: 240 / 0.5666 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.268e-05/0.338, allocations: 12 kB / 0.5666 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.338, allocations: 4 kB / 0.5666 GB, free: 13.91 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 (13): * Single equations (assignments): 13 * 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.0001266/0.3381, allocations: 137.8 kB / 0.5667 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.3382, allocations: 15.91 kB / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003324/0.3385, allocations: 158.9 kB / 0.5669 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.3385, allocations: 7.938 kB / 0.5669 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3385, allocations: 0 / 0.5669 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.3385, allocations: 3.984 kB / 0.5669 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006195/0.3391, allocations: 423.1 kB / 0.5673 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3391, allocations: 0 / 0.5673 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.639e-05/0.3392, allocations: 15.98 kB / 0.5673 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.3392, allocations: 4.062 kB / 0.5673 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.3392, allocations: 8 kB / 0.5673 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3392, allocations: 0 / 0.5673 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-06/0.3392, allocations: 8.031 kB / 0.5673 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.3395, allocations: 245 kB / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.478e-05/0.3396, allocations: 11.91 kB / 0.5676 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.3396, allocations: 4 kB / 0.5676 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.559e-05/0.3397, allocations: 11.92 kB / 0.5676 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.3397, allocations: 7.984 kB / 0.5676 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.3397, allocations: 4 kB / 0.5676 GB, free: 12.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000174/0.3399, allocations: 183.2 kB / 0.5678 GB, free: 12.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3399, allocations: 0 / 0.5678 GB, free: 12.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.3402, allocations: 31.94 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002581/0.3428, allocations: 1.224 MB / 0.569 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000236/0.343, allocations: 79.84 kB / 0.5691 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.343, allocations: 4 kB / 0.5691 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.618e-05/0.3431, allocations: 39.98 kB / 0.5691 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.3435, allocations: 42.08 kB / 0.5691 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.3457, allocations: 1.858 MB / 0.571 GB, free: 9.434 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.3458, allocations: 101.8 kB / 0.5711 GB, free: 9.312 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.858e-05/0.3459, allocations: 24.75 kB / 0.5711 GB, free: 9.289 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.802e-05/0.346, allocations: 47.42 kB / 0.5711 GB, free: 9.242 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.346, allocations: 0 / 0.5711 GB, free: 9.242 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03281/0.3788, allocations: 4.63 MB / 0.5756 GB, free: 4.684 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.47, allocations: 8.062 kB / 0.5757 GB, free: 4.676 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.43680011574179]