Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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.000885/0.000885, allocations: 80.53 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.0009155/0.0009155, 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.8442/0.8442, allocations: 158.6 MB / 185 MB, free: 3.039 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.1294/0.1294, allocations: 32.37 MB / 269.6 MB, free: 14.97 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.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 406.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.953e-05, allocations: 9.938 kB / 406.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002064/0.002084, allocations: 1.68 MB / 408.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008179/0.002902, allocations: 0.7723 MB / 409.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.156e-05/0.002963, allocations: 4 kB / 409.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002599/0.003223, allocations: 47.75 kB / 409.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001858/0.003409, allocations: 51.7 kB / 409.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.003589, allocations: 87.64 kB / 409.6 MB, free: 10.78 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.003723, allocations: 103.6 kB / 409.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.418e-05/0.003807, allocations: 4.234 kB / 409.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.259e-05/0.003879, allocations: 51.83 kB / 409.7 MB, free: 10.62 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.2e-05/0.003941, allocations: 27.91 kB / 409.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.003958, allocations: 4 kB / 409.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.994e-05/0.004028, allocations: 39.91 kB / 409.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.764e-05/0.004076, allocations: 23.92 kB / 409.8 MB, free: 10.53 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.004109, allocations: 19.94 kB / 409.8 MB, free: 10.51 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.004262, allocations: 111.6 kB / 409.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.004265, allocations: 0 / 409.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.004266, allocations: 0 / 409.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.00427, allocations: 3.938 kB / 409.9 MB, free: 10.39 MB / 346.7 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.0003748/0.004645, allocations: 333.7 kB / 410.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.004681, allocations: 8.031 kB / 410.3 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.674e-05/0.004708, allocations: 34.69 kB / 410.3 MB, free: 9.988 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.793e-05/0.004736, allocations: 12.89 kB / 410.3 MB, free: 9.977 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.004913, allocations: 153.6 kB / 410.5 MB, free: 9.801 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.004924, allocations: 384 / 410.5 MB, free: 9.801 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.00494, allocations: 4.375 kB / 410.5 MB, free: 9.797 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.005052, allocations: 57.98 kB / 410.5 MB, free: 9.734 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.005061, allocations: 0 / 410.5 MB, free: 9.734 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.005071, allocations: 7.984 kB / 410.5 MB, free: 9.727 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.005075, allocations: 0 / 410.5 MB, free: 9.727 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.178e-05/0.005127, allocations: 23.98 kB / 410.6 MB, free: 9.703 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002587/0.005386, allocations: 251.9 kB / 410.8 MB, free: 9.414 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.005495, allocations: 54.69 kB / 410.9 MB, free: 9.352 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.065e-05/0.005525, allocations: 24.84 kB / 410.9 MB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.005538, allocations: 0 / 410.9 MB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001112/0.005649, allocations: 79.27 kB / 411 MB, free: 9.234 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.00565, allocations: 0 / 411 MB, free: 9.234 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003762/0.006026, allocations: 181.4 kB / 411.1 MB, free: 9.051 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.006055, allocations: 59.33 kB / 411.2 MB, free: 8.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.006168, allocations: 174.3 kB / 411.4 MB, free: 8.801 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.006178, allocations: 25.7 kB / 411.4 MB, free: 8.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.006218, allocations: 100.1 kB / 411.5 MB, free: 8.668 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.006239, allocations: 27.8 kB / 411.5 MB, free: 8.641 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.006271, allocations: 29.7 kB / 411.6 MB, free: 8.605 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.856e-05/0.00634, allocations: 322.8 kB / 411.9 MB, free: 8.281 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.475e-05/0.006374, allocations: 20 kB / 411.9 MB, free: 8.262 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.914e-05/0.006413, allocations: 37.7 kB / 411.9 MB, free: 8.219 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.839e-05/0.006482, allocations: 61.64 kB / 412 MB, free: 8.152 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.006483, allocations: 0 / 412 MB, free: 8.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001129/0.006596, allocations: 105.6 kB / 412.1 MB, free: 8.043 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.006608, allocations: 10.69 kB / 412.1 MB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.006612, allocations: 0 / 412.1 MB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.006623, allocations: 0 / 412.1 MB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.255e-05/0.006685, allocations: 23.92 kB / 412.1 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.006689, allocations: 192 / 412.1 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.6e-05/0.006715, allocations: 0 / 412.1 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.006722, allocations: 12.09 kB / 412.1 MB, free: 8 MB / 346.7 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 6.344e-05/0.006786, allocations: 125.8 kB / 412.3 MB, free: 7.867 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.075e-05/0.006797, allocations: 7.953 kB / 412.3 MB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001479/0.006945, allocations: 122.4 kB / 412.4 MB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.006947, allocations: 8 kB / 412.4 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.00695, allocations: 0 / 412.4 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.006953, allocations: 0 / 412.4 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.007228, allocations: 370.3 kB / 412.8 MB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.007229, allocations: 0 / 412.8 MB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.209e-05/0.007251, allocations: 16 kB / 412.8 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.007253, allocations: 0 / 412.8 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.00726, allocations: 0 / 412.8 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.007263, allocations: 4 kB / 412.8 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.007265, allocations: 3.938 kB / 412.8 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.007389, allocations: 212.3 kB / 413 MB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.958e-06/0.007399, allocations: 12.27 kB / 413 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.007414, allocations: 4 kB / 413 MB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.766e-05/0.007452, allocations: 8 kB / 413 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.007481, allocations: 19.84 kB / 413 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.007494, allocations: 4 kB / 413 MB, free: 7.012 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.934e-05/0.007573, allocations: 147.8 kB / 413.2 MB, free: 6.867 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007573, allocations: 0 / 413.2 MB, free: 6.867 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000171/0.007744, allocations: 23.94 kB / 413.2 MB, free: 6.844 MB / 346.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: 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 (9): * Single equations (assignments): 7 * 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.001058/0.008803, allocations: 1.127 MB / 414.3 MB, free: 5.746 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001175/0.00892, allocations: 55.91 kB / 414.4 MB, free: 5.691 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.008922, allocations: 0 / 414.4 MB, free: 5.691 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.394e-05/0.008966, allocations: 40.03 kB / 414.4 MB, free: 5.652 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.009189, allocations: 23.92 kB / 414.4 MB, free: 5.629 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.01026, allocations: 1.63 MB / 416.1 MB, free: 3.906 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.462e-05/0.01031, allocations: 85.44 kB / 416.2 MB, free: 3.805 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.045e-05/0.01035, allocations: 24.41 kB / 416.2 MB, free: 3.781 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.0104, allocations: 36.42 kB / 416.2 MB, free: 3.746 MB / 346.7 MB Notification: Performance of SimCode: time 5.11e-07/0.0104, allocations: 0 / 416.2 MB, free: 3.746 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01345/0.02385, allocations: 4.137 MB / 420.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.535/6.559, allocations: 0 / 420.4 MB, free: 15.5 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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.398379140533507]