Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001352/0.001352, allocations: 112.7 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001737/0.001737, allocations: 214 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 230.5 MB / 257.4 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2267/0.2267, allocations: 46.93 MB / 360.8 MB, free: 4.176 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002648/0.002648, allocations: 84.16 kB / 0.4963 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3345, allocations: 66.08 MB / 0.5608 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003266/0.3378, allocations: 1.736 MB / 0.5625 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.3397, allocations: 1.049 MB / 0.5635 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.449e-05/0.3398, allocations: 3.938 kB / 0.5635 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003431/0.3401, allocations: 51.75 kB / 0.5636 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000352/0.3405, allocations: 103.5 kB / 0.5637 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.3407, allocations: 75.73 kB / 0.5637 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.3409, allocations: 107.7 kB / 0.5638 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.341, allocations: 5.828 kB / 0.5639 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.3412, allocations: 55.72 kB / 0.5639 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.582e-05/0.3413, allocations: 27.84 kB / 0.5639 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.3413, allocations: 4 kB / 0.5639 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.3414, allocations: 43.92 kB / 0.564 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.81e-05/0.3415, allocations: 27.92 kB / 0.564 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.153e-05/0.3415, allocations: 39.69 kB / 0.564 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.3418, allocations: 135.4 kB / 0.5642 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3418, allocations: 0 / 0.5642 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3418, allocations: 0 / 0.5642 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.3418, allocations: 0 / 0.5642 GB, free: 0.7656 MB / 398.1 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.0006232/0.3424, allocations: 361.4 kB / 0.5645 GB, free: 392 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3425, allocations: 8.031 kB / 0.5645 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.39e-05/0.3425, allocations: 38.69 kB / 0.5646 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.3426, allocations: 8.891 kB / 0.5646 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.3429, allocations: 167.1 kB / 0.5647 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.3429, allocations: 4.375 kB / 0.5647 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.3429, allocations: 4.312 kB / 0.5647 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.3431, allocations: 61.8 kB / 0.5648 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3431, allocations: 0 / 0.5648 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.3431, allocations: 0 / 0.5648 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.3431, allocations: 0 / 0.5648 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.751e-05/0.3432, allocations: 27.92 kB / 0.5648 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.3436, allocations: 271.8 kB / 0.5651 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.3438, allocations: 54.67 kB / 0.5651 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.567e-05/0.3439, allocations: 20.84 kB / 0.5652 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.3439, allocations: 0 / 0.5652 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.3441, allocations: 79.33 kB / 0.5652 GB, free: 15.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.3441, allocations: 0 / 0.5652 GB, free: 15.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005731/0.3446, allocations: 177.3 kB / 0.5654 GB, free: 15.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.3447, allocations: 55.41 kB / 0.5655 GB, free: 15.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.3449, allocations: 235 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.345, allocations: 25.7 kB / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.398e-05/0.345, allocations: 120.1 kB / 0.5658 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.3451, allocations: 23.8 kB / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-05/0.3451, allocations: 29.7 kB / 0.5659 GB, free: 14.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.3453, allocations: 330.8 kB / 0.5662 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.191e-05/0.3454, allocations: 15.98 kB / 0.5662 GB, free: 14.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.566e-05/0.3455, allocations: 37.7 kB / 0.5662 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.3456, allocations: 61.64 kB / 0.5663 GB, free: 14.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3456, allocations: 0 / 0.5663 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001964/0.3458, allocations: 105.6 kB / 0.5664 GB, free: 14.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3458, allocations: 4 kB / 0.5664 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.3459, allocations: 4 kB / 0.5664 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3459, allocations: 0 / 0.5664 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.59e-05/0.346, allocations: 19.92 kB / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.346, allocations: 0 / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.981e-05/0.346, allocations: 8 kB / 0.5664 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.346, allocations: 4 kB / 0.5664 GB, free: 14.24 MB / 414.1 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 0.0001525/0.3462, allocations: 139.1 kB / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.3462, allocations: 11.91 kB / 0.5666 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003043/0.3465, allocations: 119.1 kB / 0.5667 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.3465, allocations: 0 / 0.5667 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3465, allocations: 3.938 kB / 0.5667 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3465, allocations: 0 / 0.5667 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005124/0.347, allocations: 374.3 kB / 0.567 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.347, allocations: 3.984 kB / 0.5671 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.611e-05/0.3471, allocations: 12.03 kB / 0.5671 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3471, allocations: 0 / 0.5671 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.3471, allocations: 4.188 kB / 0.5671 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.3471, allocations: 3.938 kB / 0.5671 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3471, allocations: 3.938 kB / 0.5671 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.3474, allocations: 208.6 kB / 0.5673 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.3474, allocations: 15.89 kB / 0.5673 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.3475, allocations: 8 kB / 0.5673 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.487e-05/0.3475, allocations: 11.94 kB / 0.5673 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.3476, allocations: 7.984 kB / 0.5673 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.3476, allocations: 4 kB / 0.5673 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001587/0.3477, allocations: 175.2 kB / 0.5675 GB, free: 13.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3477, allocations: 0 / 0.5675 GB, free: 13.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.348, allocations: 27.94 kB / 0.5675 GB, free: 13.04 MB / 414.1 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 (8): * Single equations (assignments): 6 * 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.002182/0.3502, allocations: 1.081 MB / 0.5686 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.3504, allocations: 59.89 kB / 0.5686 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3504, allocations: 4 kB / 0.5686 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.327e-05/0.3505, allocations: 27.92 kB / 0.5687 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.3508, allocations: 37.72 kB / 0.5687 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.353, allocations: 1.751 MB / 0.5704 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.3534, allocations: 0.7119 MB / 0.5711 GB, free: 9.387 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.184e-05/0.3535, allocations: 12.97 kB / 0.5711 GB, free: 9.375 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.796e-05/0.3536, allocations: 39.42 kB / 0.5711 GB, free: 9.336 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3536, allocations: 4 kB / 0.5712 GB, free: 9.332 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02919/0.3827, allocations: 3.782 MB / 0.5748 GB, free: 5.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.48, allocations: 10.7 kB / 0.5749 GB, free: 5.582 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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: 14.575770542025566]