Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.0008245/0.0008245, allocations: 80.44 kB / 19.93 MB, free: 4.633 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.0007926/0.0007926, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.817/0.817, allocations: 158.6 MB / 185 MB, free: 3.043 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.137/0.137, 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.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 406.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.632e-05, allocations: 2.281 kB / 406.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002462/0.002489, allocations: 1.761 MB / 408.7 MB, free: 404 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.003601, allocations: 0.8582 MB / 409.5 MB, free: 15.53 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.677e-05/0.003688, allocations: 7.938 kB / 409.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004372/0.004125, allocations: 291.2 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003102/0.004435, allocations: 219.2 kB / 410 MB, free: 15.02 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.004717, allocations: 139.5 kB / 410.2 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002791/0.004996, allocations: 251.2 kB / 410.4 MB, free: 14.64 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.576e-05/0.005051, allocations: 5.812 kB / 410.4 MB, free: 14.63 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.005219, allocations: 147.6 kB / 410.6 MB, free: 14.48 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.005399, allocations: 200.1 kB / 410.8 MB, free: 14.29 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.005421, allocations: 8 kB / 410.8 MB, free: 14.28 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.549e-05/0.005517, allocations: 47.91 kB / 410.8 MB, free: 14.23 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.005626, allocations: 132.5 kB / 410.9 MB, free: 14.11 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.51e-05/0.005691, allocations: 71.59 kB / 411 MB, free: 14.04 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.005985, allocations: 346.8 kB / 411.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.005989, allocations: 0 / 411.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.00599, allocations: 0 / 411.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.005996, allocations: 0 / 411.3 MB, free: 13.7 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.0006414/0.006637, allocations: 0.6553 MB / 412 MB, free: 13.01 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.006678, allocations: 12.03 kB / 412 MB, free: 13 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.278e-05/0.006711, allocations: 38.69 kB / 412.1 MB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.231e-05/0.006763, allocations: 52.61 kB / 412.1 MB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004004/0.007164, allocations: 377.8 kB / 412.5 MB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.007179, allocations: 384 / 412.5 MB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.007192, allocations: 4.375 kB / 412.5 MB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.007346, allocations: 87.67 kB / 412.6 MB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.007355, allocations: 4 kB / 412.6 MB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.007365, allocations: 3.984 kB / 412.6 MB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.007369, allocations: 0 / 412.6 MB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.963e-05/0.007439, allocations: 39.91 kB / 412.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002647/0.007704, allocations: 325.5 kB / 412.9 MB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.007885, allocations: 101.2 kB / 413 MB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.482e-05/0.00794, allocations: 41.64 kB / 413.1 MB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.007956, allocations: 3.938 kB / 413.1 MB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003118/0.008268, allocations: 117 kB / 413.2 MB, free: 11.69 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 9.31e-07/0.008269, allocations: 4 kB / 413.2 MB, free: 11.69 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003075/0.008576, allocations: 205.2 kB / 413.4 MB, free: 11.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.008615, allocations: 81.11 kB / 413.5 MB, free: 11.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006629/0.009278, allocations: 1.018 MB / 414.5 MB, free: 10.35 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.009294, allocations: 33.7 kB / 414.5 MB, free: 10.31 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.009405, allocations: 232.1 kB / 414.7 MB, free: 10.08 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.009442, allocations: 31.73 kB / 414.8 MB, free: 10.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.009478, allocations: 25.72 kB / 414.8 MB, free: 10.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.009584, allocations: 366.8 kB / 415.2 MB, free: 9.652 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.699e-05/0.009641, allocations: 31.98 kB / 415.2 MB, free: 9.621 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.773e-05/0.009698, allocations: 59.41 kB / 415.3 MB, free: 9.551 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.009805, allocations: 95.34 kB / 415.3 MB, free: 9.445 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.009807, allocations: 0 / 415.3 MB, free: 9.445 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001825/0.00999, allocations: 177.2 kB / 415.5 MB, free: 9.266 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.01, allocations: 4 kB / 415.5 MB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.01001, allocations: 8.062 kB / 415.5 MB, free: 9.254 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.01003, allocations: 0 / 415.5 MB, free: 9.254 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.477e-05/0.01011, allocations: 23.92 kB / 415.6 MB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.01012, allocations: 4 kB / 415.6 MB, free: 9.227 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.458e-05/0.01018, allocations: 12.52 kB / 415.6 MB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.01018, allocations: 8 kB / 415.6 MB, free: 9.207 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.0001419/0.01033, allocations: 221.6 kB / 415.8 MB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.01036, allocations: 55.61 kB / 415.8 MB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.0106, allocations: 209.6 kB / 416.1 MB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.0106, allocations: 4 kB / 416.1 MB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.01061, allocations: 0 / 416.1 MB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.01061, allocations: 4 kB / 416.1 MB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.01079, allocations: 284.6 kB / 416.3 MB, free: 8.387 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01079, allocations: 0 / 416.3 MB, free: 8.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.885e-05/0.01082, allocations: 12 kB / 416.4 MB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.01083, allocations: 3.938 kB / 416.4 MB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.01084, allocations: 7.984 kB / 416.4 MB, free: 8.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.01084, allocations: 3.938 kB / 416.4 MB, free: 8.359 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01084, allocations: 0 / 416.4 MB, free: 8.359 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.01103, allocations: 221.5 kB / 416.6 MB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.038e-05/0.01109, allocations: 63.55 kB / 416.6 MB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.01112, allocations: 11.98 kB / 416.7 MB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.835e-05/0.01116, allocations: 0 / 416.7 MB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.01119, allocations: 7.984 kB / 416.7 MB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.01121, allocations: 12 kB / 416.7 MB, free: 8.027 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004757/0.01169, allocations: 0.7565 MB / 417.4 MB, free: 7.273 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.01169, allocations: 0 / 417.4 MB, free: 7.273 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001819/0.01187, allocations: 40 kB / 417.5 MB, free: 7.234 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.0009728/0.01284, allocations: 1.1 MB / 418.6 MB, free: 6.137 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001645/0.01301, allocations: 87.89 kB / 418.7 MB, free: 6.051 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01301, allocations: 3.938 kB / 418.7 MB, free: 6.047 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.129e-05/0.01307, allocations: 39.92 kB / 418.7 MB, free: 6.008 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.01336, allocations: 66.12 kB / 418.8 MB, free: 5.941 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00367/0.01703, allocations: 4.478 MB / 423.2 MB, free: 1.355 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/0.01718, allocations: 237.8 kB / 423.5 MB, free: 1.098 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.695e-05/0.01728, allocations: 58.95 kB / 423.5 MB, free: 1.043 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.01741, allocations: 144.4 kB / 423.7 MB, free: 0.9023 MB / 394.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01741, allocations: 0 / 423.7 MB, free: 0.9023 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02025/0.03766, allocations: 9.807 MB / 433.5 MB, free: 6.961 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.668/6.705, allocations: 12 kB / 433.5 MB, free: 6.949 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.663890458643436]