Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.000826/0.000826, allocations: 76.53 kB / 19.92 MB, free: 4.637 MB / 18.57 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.0008879/0.0008879, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9089/0.9089, allocations: 158.6 MB / 185 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1318/0.1318, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 406.9 MB, free: 2.188 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.184e-05, allocations: 6.078 kB / 406.9 MB, free: 2.184 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002173/0.002194, allocations: 1.761 MB / 408.7 MB, free: 416 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.003203, allocations: 0.8543 MB / 409.5 MB, free: 15.54 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.066e-05/0.003284, allocations: 0 / 409.5 MB, free: 15.54 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004304/0.003714, allocations: 311.2 kB / 409.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.004009, allocations: 223.1 kB / 410 MB, free: 15.02 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.004267, allocations: 139.6 kB / 410.2 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.004508, allocations: 247.3 kB / 410.4 MB, free: 14.64 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/0.004553, allocations: 5.812 kB / 410.4 MB, free: 14.63 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.00469, allocations: 151.6 kB / 410.6 MB, free: 14.48 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.004858, allocations: 203.6 kB / 410.8 MB, free: 14.29 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.004878, allocations: 4 kB / 410.8 MB, free: 14.28 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.373e-05/0.004962, allocations: 47.92 kB / 410.8 MB, free: 14.23 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.005064, allocations: 143.6 kB / 411 MB, free: 14.09 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.243e-05/0.005126, allocations: 71.66 kB / 411 MB, free: 14.02 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.005392, allocations: 350.7 kB / 411.4 MB, free: 13.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.005394, allocations: 0 / 411.4 MB, free: 13.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.005394, allocations: 0 / 411.4 MB, free: 13.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.005399, allocations: 0 / 411.4 MB, free: 13.68 MB / 394.7 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.0006524/0.006051, allocations: 0.6631 MB / 412 MB, free: 12.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.006085, allocations: 12.03 kB / 412.1 MB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.996e-05/0.006115, allocations: 42.67 kB / 412.1 MB, free: 12.92 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.006168, allocations: 48.61 kB / 412.1 MB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.006532, allocations: 393.7 kB / 412.5 MB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.006545, allocations: 4.375 kB / 412.5 MB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.006555, allocations: 384 / 412.5 MB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.006705, allocations: 91.67 kB / 412.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.006713, allocations: 0 / 412.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.006723, allocations: 4 kB / 412.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.006729, allocations: 4 kB / 412.6 MB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.928e-05/0.006798, allocations: 35.91 kB / 412.7 MB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002631/0.007061, allocations: 333.4 kB / 413 MB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.007228, allocations: 105.2 kB / 413.1 MB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.227e-05/0.00728, allocations: 37.7 kB / 413.1 MB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.007296, allocations: 7.938 kB / 413.1 MB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.007449, allocations: 113 kB / 413.2 MB, free: 11.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 8.62e-07/0.00745, allocations: 0 / 413.2 MB, free: 11.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003059/0.007756, allocations: 213.2 kB / 413.5 MB, free: 11.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.007794, allocations: 81.11 kB / 413.5 MB, free: 11.33 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006725/0.008466, allocations: 1.046 MB / 414.6 MB, free: 10.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.008481, allocations: 29.7 kB / 414.6 MB, free: 10.24 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.008588, allocations: 232.1 kB / 414.8 MB, free: 10.01 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.00862, allocations: 23.84 kB / 414.9 MB, free: 9.984 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.008653, allocations: 29.72 kB / 414.9 MB, free: 9.949 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.365e-05/0.008747, allocations: 362.8 kB / 415.2 MB, free: 9.586 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.893e-05/0.008796, allocations: 35.91 kB / 415.3 MB, free: 9.551 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.307e-05/0.008849, allocations: 59.42 kB / 415.3 MB, free: 9.48 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.008953, allocations: 95.34 kB / 415.4 MB, free: 9.375 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.008955, allocations: 0 / 415.4 MB, free: 9.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001677/0.009123, allocations: 181.2 kB / 415.6 MB, free: 9.191 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.009135, allocations: 8 kB / 415.6 MB, free: 9.184 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.00914, allocations: 0 / 415.6 MB, free: 9.184 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.009151, allocations: 0 / 415.6 MB, free: 9.184 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.886e-05/0.00922, allocations: 27.92 kB / 415.6 MB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.009225, allocations: 0.6875 kB / 415.6 MB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.472e-05/0.00928, allocations: 15.94 kB / 415.7 MB, free: 9.141 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.009287, allocations: 4 kB / 415.7 MB, free: 9.137 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001423/0.009429, allocations: 225.6 kB / 415.9 MB, free: 8.906 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.009469, allocations: 63.55 kB / 415.9 MB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.009691, allocations: 209.7 kB / 416.1 MB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.009693, allocations: 4 kB / 416.2 MB, free: 8.629 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.009697, allocations: 0 / 416.2 MB, free: 8.629 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.009702, allocations: 3.984 kB / 416.2 MB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.009925, allocations: 292.6 kB / 416.4 MB, free: 8.297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.009927, allocations: 0 / 416.4 MB, free: 8.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.674e-05/0.009954, allocations: 11.98 kB / 416.5 MB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.009958, allocations: 3.938 kB / 416.5 MB, free: 8.281 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.009967, allocations: 8 kB / 416.5 MB, free: 8.273 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.009968, allocations: 0 / 416.5 MB, free: 8.273 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.00997, allocations: 3.938 kB / 416.5 MB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.01015, allocations: 213.6 kB / 416.7 MB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.01021, allocations: 67.53 kB / 416.7 MB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.01024, allocations: 4 kB / 416.7 MB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.022e-05/0.01028, allocations: 15.98 kB / 416.8 MB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.01031, allocations: 7.984 kB / 416.8 MB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.01032, allocations: 7.938 kB / 416.8 MB, free: 7.938 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004902/0.01081, allocations: 0.78 MB / 417.6 MB, free: 7.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.01081, allocations: 0 / 417.6 MB, free: 7.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000179/0.01099, allocations: 40 kB / 417.6 MB, free: 7.121 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008901/0.01188, allocations: 1.096 MB / 418.7 MB, free: 6.027 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.01203, allocations: 87.89 kB / 418.8 MB, free: 5.941 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.01204, allocations: 0 / 418.8 MB, free: 5.941 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.509e-05/0.01209, allocations: 43.92 kB / 418.8 MB, free: 5.898 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.01234, allocations: 70.12 kB / 418.9 MB, free: 5.828 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003789/0.01613, allocations: 4.586 MB / 423.5 MB, free: 1.133 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.01629, allocations: 241.7 kB / 423.7 MB, free: 0.875 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.499e-05/0.01637, allocations: 50.95 kB / 423.8 MB, free: 0.8281 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.0165, allocations: 152.4 kB / 423.9 MB, free: 0.6797 MB / 394.7 MB Notification: Performance of SimCode: time 4.01e-07/0.0165, allocations: 0 / 423.9 MB, free: 0.6797 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.03847, allocations: 9.978 MB / 433.9 MB, free: 6.562 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.652/6.691, allocations: 7.875 kB / 433.9 MB, free: 6.555 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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: 8.749091210775077]