Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.0009052/0.0009052, allocations: 72.55 kB / 19.92 MB, free: 4.621 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.0007952/0.0007952, allocations: 173.9 kB / 23.21 MB, free: 1.332 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.8856/0.8856, allocations: 158.6 MB / 185 MB, free: 3.02 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.1377/0.1377, allocations: 32.37 MB / 269.6 MB, free: 14.95 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.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 406.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.566e-05, allocations: 5.938 kB / 406.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002402/0.002428, allocations: 1.676 MB / 408.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009473/0.003375, allocations: 0.7801 MB / 409.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.186e-05/0.003447, allocations: 4 kB / 409.4 MB, free: 10.95 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.003739, allocations: 51.69 kB / 409.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.003932, allocations: 51.7 kB / 409.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.004129, allocations: 87.69 kB / 409.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.00427, allocations: 99.62 kB / 409.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.841e-05/0.004358, allocations: 16.16 kB / 409.7 MB, free: 10.65 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.242e-05/0.004431, allocations: 47.91 kB / 409.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.333e-05/0.004494, allocations: 23.91 kB / 409.8 MB, free: 10.58 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.004511, allocations: 4 kB / 409.8 MB, free: 10.58 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.347e-05/0.004584, allocations: 43.92 kB / 409.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.889e-05/0.004633, allocations: 23.86 kB / 409.8 MB, free: 10.51 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.044e-05/0.004674, allocations: 23.91 kB / 409.9 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.004837, allocations: 115.6 kB / 410 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.004841, allocations: 4 kB / 410 MB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.004842, allocations: 0 / 410 MB, free: 10.37 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.004846, allocations: 3.938 kB / 410 MB, free: 10.37 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.0004339/0.00528, allocations: 345.6 kB / 410.3 MB, free: 10 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.005316, allocations: 12.03 kB / 410.3 MB, free: 9.988 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.737e-05/0.005344, allocations: 30.75 kB / 410.4 MB, free: 9.949 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.005374, allocations: 8.891 kB / 410.4 MB, free: 9.941 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.005597, allocations: 143.5 kB / 410.5 MB, free: 9.777 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.005608, allocations: 4.375 kB / 410.5 MB, free: 9.773 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.005626, allocations: 8.312 kB / 410.5 MB, free: 9.766 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.005746, allocations: 61.92 kB / 410.6 MB, free: 9.699 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.005756, allocations: 3.953 kB / 410.6 MB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.005764, allocations: 3.984 kB / 410.6 MB, free: 9.691 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.005769, allocations: 4 kB / 410.6 MB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.289e-05/0.005822, allocations: 19.98 kB / 410.6 MB, free: 9.668 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002803/0.006102, allocations: 256 kB / 410.9 MB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.006211, allocations: 62.61 kB / 410.9 MB, free: 9.305 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.095e-05/0.006242, allocations: 16.86 kB / 410.9 MB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.006255, allocations: 4 kB / 410.9 MB, free: 9.281 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001129/0.006368, allocations: 71.38 kB / 411 MB, free: 9.199 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.00637, allocations: 0 / 411 MB, free: 9.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003828/0.006752, allocations: 181.3 kB / 411.2 MB, free: 9.016 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.006783, allocations: 59.41 kB / 411.2 MB, free: 8.945 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.007046, allocations: 203.2 kB / 411.4 MB, free: 8.738 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.00706, allocations: 29.7 kB / 411.5 MB, free: 8.703 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.043e-05/0.00712, allocations: 100.1 kB / 411.6 MB, free: 8.602 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.007151, allocations: 23.8 kB / 411.6 MB, free: 8.578 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.007186, allocations: 25.7 kB / 411.6 MB, free: 8.547 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.763e-05/0.007264, allocations: 330.8 kB / 411.9 MB, free: 8.215 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.33e-05/0.007317, allocations: 16 kB / 412 MB, free: 8.199 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.457e-05/0.007362, allocations: 49.62 kB / 412 MB, free: 8.145 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.961e-05/0.007431, allocations: 57.7 kB / 412.1 MB, free: 8.082 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.007432, allocations: 0 / 412.1 MB, free: 8.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001224/0.007555, allocations: 109.5 kB / 412.2 MB, free: 7.969 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.007567, allocations: 8 kB / 412.2 MB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.007571, allocations: 0 / 412.2 MB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.007581, allocations: 0 / 412.2 MB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.055e-05/0.007642, allocations: 15.98 kB / 412.2 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.007648, allocations: 4.188 kB / 412.2 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.652e-05/0.007674, allocations: 4.031 kB / 412.2 MB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.007681, allocations: 12.09 kB / 412.2 MB, free: 7.926 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 9.393e-05/0.007775, allocations: 129.7 kB / 412.3 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.00779, allocations: 11.95 kB / 412.4 MB, free: 7.777 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001613/0.007951, allocations: 119.1 kB / 412.5 MB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.007953, allocations: 0 / 412.5 MB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.007957, allocations: 3.938 kB / 412.5 MB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.007961, allocations: 4 kB / 412.5 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.008252, allocations: 374.3 kB / 412.8 MB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.008253, allocations: 4.031 kB / 412.8 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.368e-05/0.008276, allocations: 19.92 kB / 412.9 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.008278, allocations: 0 / 412.9 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.008285, allocations: 0 / 412.9 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.008287, allocations: 4 kB / 412.9 MB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.008289, allocations: 3.938 kB / 412.9 MB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.008429, allocations: 212.3 kB / 413.1 MB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.322e-05/0.008442, allocations: 16.27 kB / 413.1 MB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.008458, allocations: 4 kB / 413.1 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.917e-05/0.008497, allocations: 8 kB / 413.1 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/0.008525, allocations: 11.92 kB / 413.1 MB, free: 6.934 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.008539, allocations: 8 kB / 413.1 MB, free: 6.926 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.362e-05/0.008623, allocations: 155.9 kB / 413.3 MB, free: 6.773 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008623, allocations: 0 / 413.3 MB, free: 6.773 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000182/0.008805, allocations: 19.94 kB / 413.3 MB, free: 6.754 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.0009933/0.009798, allocations: 1.129 MB / 414.4 MB, free: 5.652 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.009925, allocations: 59.91 kB / 414.5 MB, free: 5.594 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.009928, allocations: 4 kB / 414.5 MB, free: 5.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.044e-05/0.009968, allocations: 27.92 kB / 414.5 MB, free: 5.562 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.01019, allocations: 31.86 kB / 414.5 MB, free: 5.531 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.01141, allocations: 1.686 MB / 416.2 MB, free: 3.746 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.976e-05/0.01148, allocations: 104.1 kB / 416.3 MB, free: 3.625 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.705e-05/0.01151, allocations: 8.5 kB / 416.3 MB, free: 3.617 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.127e-05/0.01156, allocations: 36.48 kB / 416.4 MB, free: 3.578 MB / 346.7 MB Notification: Performance of SimCode: time 2.91e-07/0.01156, allocations: 0 / 416.4 MB, free: 3.578 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01473/0.02629, allocations: 4.27 MB / 420.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.483/6.509, allocations: 0 / 420.6 MB, free: 15.2 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.480413145385683]