Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.0007886/0.0007886, 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.0007907/0.0007907, 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.8317/0.8317, 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.1288/0.1288, 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.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 3.938 kB / 406.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/3.044e-05, allocations: 5.938 kB / 406.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002684/0.002715, allocations: 1.684 MB / 408.6 MB, free: 480 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.003778, allocations: 0.7803 MB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.003883, allocations: 0 / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003691/0.004252, allocations: 79.7 kB / 409.5 MB, free: 15.6 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002681/0.00452, allocations: 79.59 kB / 409.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.004772, allocations: 91.7 kB / 409.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.004938, allocations: 111.7 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.688e-05/0.005035, allocations: 4.234 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.142e-05/0.005127, allocations: 67.75 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003846/0.005511, allocations: 59.86 kB / 409.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.005531, allocations: 4 kB / 409.9 MB, free: 15.19 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.58e-05/0.005617, allocations: 39.92 kB / 409.9 MB, free: 15.15 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.454e-05/0.005671, allocations: 23.92 kB / 409.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.005711, allocations: 23.86 kB / 410 MB, free: 15.11 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.005895, allocations: 111.6 kB / 410.1 MB, free: 15 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.005899, allocations: 4 kB / 410.1 MB, free: 14.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.0059, allocations: 3.938 kB / 410.1 MB, free: 14.99 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.005905, allocations: 4 kB / 410.1 MB, free: 14.98 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004403/0.006346, allocations: 345.5 kB / 410.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.006383, allocations: 12.03 kB / 410.4 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.894e-05/0.006412, allocations: 34.73 kB / 410.5 MB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.006445, allocations: 12.84 kB / 410.5 MB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.006705, allocations: 153.5 kB / 410.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.006721, allocations: 384 / 410.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.00674, allocations: 8.375 kB / 410.6 MB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.006875, allocations: 57.98 kB / 410.7 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.006886, allocations: 0 / 410.7 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.006897, allocations: 4 kB / 410.7 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.006901, allocations: 0 / 410.7 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.417e-05/0.006956, allocations: 27.91 kB / 410.7 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003284/0.007284, allocations: 255.9 kB / 411 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.007407, allocations: 62.67 kB / 411 MB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.492e-05/0.007442, allocations: 20.84 kB / 411 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.007458, allocations: 4 kB / 411.1 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001342/0.007592, allocations: 71.33 kB / 411.1 MB, free: 13.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.007594, allocations: 0 / 411.1 MB, free: 13.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004304/0.008024, allocations: 189.3 kB / 411.3 MB, free: 13.61 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.008055, allocations: 51.41 kB / 411.4 MB, free: 13.55 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.008193, allocations: 214.8 kB / 411.6 MB, free: 13.33 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.008207, allocations: 33.7 kB / 411.6 MB, free: 13.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.572e-05/0.008252, allocations: 100.1 kB / 411.7 MB, free: 13.19 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.008277, allocations: 23.8 kB / 411.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.00831, allocations: 29.7 kB / 411.8 MB, free: 13.13 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.116e-05/0.008391, allocations: 330.8 kB / 412.1 MB, free: 12.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.115e-05/0.008433, allocations: 23.98 kB / 412.1 MB, free: 12.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.946e-05/0.008472, allocations: 33.7 kB / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.664e-05/0.008549, allocations: 69.62 kB / 412.2 MB, free: 12.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.00855, allocations: 0 / 412.2 MB, free: 12.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001198/0.00867, allocations: 97.59 kB / 412.3 MB, free: 12.56 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.008683, allocations: 4 kB / 412.3 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.008689, allocations: 8.094 kB / 412.3 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.008701, allocations: 4.031 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.947e-05/0.008771, allocations: 16.17 kB / 412.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.008777, allocations: 3.984 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.172e-05/0.008808, allocations: 11.94 kB / 412.3 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.008815, allocations: 4 kB / 412.3 MB, free: 12.51 MB / 394.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 7.787e-05/0.008893, allocations: 129.8 kB / 412.5 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.008907, allocations: 15.89 kB / 412.5 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.009079, allocations: 119.1 kB / 412.6 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.009082, allocations: 4 kB / 412.6 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.009087, allocations: 4 kB / 412.6 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.009091, allocations: 3.984 kB / 412.6 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003163/0.009408, allocations: 374.3 kB / 413 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.009409, allocations: 0 / 413 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.448e-05/0.009433, allocations: 8 kB / 413 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.009436, allocations: 0 / 413 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.009445, allocations: 8.375 kB / 413 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.009446, allocations: 3.938 kB / 413 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.00945, allocations: 7.938 kB / 413 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.00959, allocations: 216.2 kB / 413.2 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.186e-05/0.009602, allocations: 11.95 kB / 413.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.009618, allocations: 4 kB / 413.2 MB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.835e-05/0.009656, allocations: 4 kB / 413.2 MB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.009687, allocations: 11.92 kB / 413.3 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.0097, allocations: 4 kB / 413.3 MB, free: 11.51 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.021e-05/0.009791, allocations: 171.2 kB / 413.4 MB, free: 11.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009791, allocations: 0 / 413.4 MB, free: 11.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001913/0.009982, allocations: 23.94 kB / 413.4 MB, free: 11.32 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: 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.001119/0.0111, allocations: 1.132 MB / 414.6 MB, free: 10.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001659/0.01127, allocations: 59.92 kB / 414.6 MB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01127, allocations: 0 / 414.6 MB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.478e-05/0.01131, allocations: 27.92 kB / 414.7 MB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.01157, allocations: 36.34 kB / 414.7 MB, free: 10.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.01288, allocations: 1.713 MB / 416.4 MB, free: 8.262 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.457e-05/0.01294, allocations: 92.81 kB / 416.5 MB, free: 8.148 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.683e-05/0.01299, allocations: 20.47 kB / 416.5 MB, free: 8.129 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.694e-05/0.01306, allocations: 40.48 kB / 416.6 MB, free: 8.09 MB / 394.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01306, allocations: 0 / 416.6 MB, free: 8.09 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01631/0.02936, allocations: 4.306 MB / 420.9 MB, free: 3.652 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.552/6.581, allocations: 11.91 kB / 420.9 MB, free: 3.641 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.493339492939413]