Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.0008455/0.0008455, 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.0007914/0.0007914, 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.8183/0.8183, 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.1299/0.1299, 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.Test43,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 3.938 kB / 406.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.122e-05, allocations: 2.281 kB / 406.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002271/0.002292, allocations: 1.687 MB / 408.6 MB, free: 480 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009799/0.003272, allocations: 0.7842 MB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.096e-05/0.003343, allocations: 0 / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.003596, allocations: 47.7 kB / 409.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001906/0.003787, allocations: 55.69 kB / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.004016, allocations: 91.62 kB / 409.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.004172, allocations: 99.64 kB / 409.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.09e-05/0.004253, allocations: 8.234 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.105e-05/0.004334, allocations: 59.81 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.696e-05/0.004401, allocations: 19.92 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.004418, allocations: 4 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.897e-05/0.004507, allocations: 43.92 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.163e-05/0.004559, allocations: 23.91 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.004594, allocations: 15.94 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.004764, allocations: 119.5 kB / 410 MB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.004767, allocations: 0 / 410 MB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.004769, allocations: 3.938 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.004773, allocations: 0 / 410 MB, free: 15.09 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.0004317/0.005205, allocations: 341.6 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.005242, allocations: 8.031 kB / 410.3 MB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.851e-05/0.005271, allocations: 42.73 kB / 410.3 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.0053, allocations: 8.891 kB / 410.4 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.005506, allocations: 150.2 kB / 410.5 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.00552, allocations: 8.375 kB / 410.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.005535, allocations: 384 / 410.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.005651, allocations: 65.92 kB / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.005659, allocations: 0 / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.005667, allocations: 0 / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.005671, allocations: 4 kB / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.965e-05/0.005721, allocations: 23.97 kB / 410.6 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003213/0.006042, allocations: 252 kB / 410.9 MB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.006158, allocations: 66.55 kB / 410.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.344e-05/0.006191, allocations: 24.84 kB / 410.9 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.006203, allocations: 0 / 410.9 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001075/0.006311, allocations: 67.39 kB / 411 MB, free: 13.92 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 8.61e-07/0.006312, allocations: 0 / 411 MB, free: 13.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003819/0.006693, allocations: 193.3 kB / 411.2 MB, free: 13.72 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.006722, allocations: 51.41 kB / 411.2 MB, free: 13.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.006852, allocations: 203.3 kB / 411.4 MB, free: 13.45 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.395e-05/0.006936, allocations: 33.7 kB / 411.5 MB, free: 13.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.178e-05/0.006978, allocations: 96.14 kB / 411.6 MB, free: 13.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.007006, allocations: 27.78 kB / 411.6 MB, free: 13.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.007043, allocations: 21.72 kB / 411.6 MB, free: 13.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.65e-05/0.007119, allocations: 330.8 kB / 411.9 MB, free: 12.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.575e-05/0.007155, allocations: 19.98 kB / 412 MB, free: 12.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.327e-05/0.007198, allocations: 37.64 kB / 412 MB, free: 12.87 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.409e-05/0.007272, allocations: 65.7 kB / 412.1 MB, free: 12.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.007274, allocations: 0 / 412.1 MB, free: 12.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001227/0.007397, allocations: 109.5 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.00741, allocations: 4 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.007415, allocations: 160 / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.007427, allocations: 4 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.508e-05/0.007492, allocations: 12.19 kB / 412.2 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.007497, allocations: 3.984 kB / 412.2 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.695e-05/0.007534, allocations: 15.95 kB / 412.2 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.007539, allocations: 0 / 412.2 MB, free: 12.64 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 8.155e-05/0.007621, allocations: 133.7 kB / 412.3 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.007636, allocations: 11.94 kB / 412.3 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/0.007809, allocations: 119.1 kB / 412.5 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.007812, allocations: 0 / 412.5 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.007817, allocations: 0 / 412.5 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.007821, allocations: 0 / 412.5 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.008159, allocations: 378.3 kB / 412.8 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.008161, allocations: 4.031 kB / 412.8 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.801e-05/0.008189, allocations: 11.94 kB / 412.9 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.008193, allocations: 4 kB / 412.9 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.0082, allocations: 384 / 412.9 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.008202, allocations: 3.938 kB / 412.9 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.008206, allocations: 11.92 kB / 412.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.008353, allocations: 208.3 kB / 413.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.00837, allocations: 11.91 kB / 413.1 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.008387, allocations: 8 kB / 413.1 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.054e-05/0.008428, allocations: 3.984 kB / 413.1 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.008459, allocations: 11.94 kB / 413.1 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.008476, allocations: 7.984 kB / 413.1 MB, free: 11.65 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002331/0.008709, allocations: 152.9 kB / 413.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008709, allocations: 0 / 413.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000189/0.008898, allocations: 27.94 kB / 413.3 MB, free: 11.47 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.001009/0.009908, allocations: 1.128 MB / 414.4 MB, free: 10.35 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.01004, allocations: 59.92 kB / 414.5 MB, free: 10.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01004, allocations: 0 / 414.5 MB, free: 10.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.628e-05/0.01009, allocations: 35.91 kB / 414.5 MB, free: 10.26 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.01032, allocations: 36.16 kB / 414.6 MB, free: 10.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.01157, allocations: 1.678 MB / 416.2 MB, free: 8.441 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.358e-05/0.01163, allocations: 92.31 kB / 416.3 MB, free: 8.328 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.578e-05/0.01168, allocations: 20.47 kB / 416.3 MB, free: 8.309 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.01173, allocations: 36.48 kB / 416.4 MB, free: 8.273 MB / 394.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01173, allocations: 0 / 416.4 MB, free: 8.273 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.02794, allocations: 4.255 MB / 420.6 MB, free: 3.887 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.487/6.515, allocations: 7.844 kB / 420.6 MB, free: 3.879 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.430213765241206]