Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.001297/0.001297, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001532/0.001532, allocations: 205.4 kB / 23.72 MB, free: 4.391 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.444/1.444, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.2224/0.2224, allocations: 46.95 MB / 360.8 MB, free: 3.926 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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002269/0.002269, allocations: 79.88 kB / 0.4962 GB, free: 7.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3197, allocations: 66.09 MB / 0.5608 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003007/0.3227, allocations: 1.73 MB / 0.5625 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.3243, allocations: 0.9904 MB / 0.5634 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.418e-05/0.3244, allocations: 3.938 kB / 0.5634 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.3247, allocations: 99.67 kB / 0.5635 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003218/0.325, allocations: 127.5 kB / 0.5636 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.3252, allocations: 91.66 kB / 0.5637 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.3255, allocations: 135.7 kB / 0.5639 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.3256, allocations: 19.41 kB / 0.5639 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.413e-05/0.3257, allocations: 55.77 kB / 0.5639 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.3258, allocations: 83.66 kB / 0.564 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.3258, allocations: 8 kB / 0.564 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.3259, allocations: 59.97 kB / 0.5641 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.283e-05/0.326, allocations: 35.92 kB / 0.5641 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.335e-05/0.326, allocations: 43.66 kB / 0.5642 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.3263, allocations: 159.3 kB / 0.5643 GB, free: 388 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.3263, allocations: 8 kB / 0.5643 GB, free: 380 kB / 398.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.3263, allocations: 3.938 kB / 0.5643 GB, free: 376 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.3263, allocations: 0 / 0.5643 GB, free: 376 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.00059/0.3269, allocations: 389 kB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.3269, allocations: 12.03 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.862e-05/0.327, allocations: 34.75 kB / 0.5647 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.327, allocations: 16.84 kB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.3273, allocations: 167.2 kB / 0.5649 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.3273, allocations: 4.375 kB / 0.5649 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.3273, allocations: 12.33 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.3275, allocations: 85.89 kB / 0.565 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3275, allocations: 0 / 0.565 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.3275, allocations: 0 / 0.565 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.3275, allocations: 4 kB / 0.565 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.3276, allocations: 47.89 kB / 0.5651 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004463/0.3281, allocations: 299.8 kB / 0.5653 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.3284, allocations: 78.48 kB / 0.5654 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.759e-05/0.3284, allocations: 24.84 kB / 0.5654 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.3284, allocations: 0 / 0.5654 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.3286, allocations: 83.38 kB / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.3286, allocations: 0 / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.000865/0.3295, allocations: 317 kB / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.3295, allocations: 59.41 kB / 0.5659 GB, free: 14.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.3298, allocations: 263.7 kB / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.3298, allocations: 29.7 kB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.783e-05/0.3299, allocations: 116.1 kB / 0.5663 GB, free: 14.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.021e-05/0.3299, allocations: 51.58 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.33, allocations: 33.7 kB / 0.5664 GB, free: 14.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3302, allocations: 330.8 kB / 0.5667 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.781e-05/0.3303, allocations: 43.91 kB / 0.5667 GB, free: 13.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.3304, allocations: 59.67 kB / 0.5668 GB, free: 13.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.3305, allocations: 105.7 kB / 0.5669 GB, free: 13.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3305, allocations: 0 / 0.5669 GB, free: 13.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002905/0.3308, allocations: 169.1 kB / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3308, allocations: 8 kB / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3308, allocations: 0 / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.3309, allocations: 4.031 kB / 0.567 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.753e-05/0.331, allocations: 31.98 kB / 0.5671 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.331, allocations: 7.922 kB / 0.5671 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.331, allocations: 4 kB / 0.5671 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.331, allocations: 11.98 kB / 0.5671 GB, free: 13.32 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 (16): * Single equations (assignments): 16 * 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.000131/0.3312, allocations: 137.8 kB / 0.5672 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.3312, allocations: 16.02 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003857/0.3316, allocations: 202.2 kB / 0.5674 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.3316, allocations: 4 kB / 0.5674 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.3316, allocations: 7.938 kB / 0.5674 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3316, allocations: 0.8438 kB / 0.5674 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006502/0.3322, allocations: 487 kB / 0.5679 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3322, allocations: 7.984 kB / 0.5679 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.9e-05/0.3323, allocations: 20 kB / 0.5679 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/0.3323, allocations: 4 kB / 0.5679 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.3323, allocations: 7.938 kB / 0.5679 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.3323, allocations: 7.984 kB / 0.568 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3323, allocations: 0 / 0.568 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.3327, allocations: 285 kB / 0.5682 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.463e-05/0.3327, allocations: 15.84 kB / 0.5682 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.3327, allocations: 8 kB / 0.5682 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.108e-05/0.3328, allocations: 7.984 kB / 0.5683 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.3329, allocations: 11.98 kB / 0.5683 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.3329, allocations: 4 kB / 0.5683 GB, free: 12.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000204/0.3331, allocations: 205.4 kB / 0.5685 GB, free: 11.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3331, allocations: 0 / 0.5685 GB, free: 11.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.3334, allocations: 35.94 kB / 0.5685 GB, free: 11.78 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.002547/0.3359, allocations: 1.24 MB / 0.5697 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002541/0.3362, allocations: 111.1 kB / 0.5698 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3362, allocations: 0 / 0.5698 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.3363, allocations: 55.91 kB / 0.5699 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.3366, allocations: 39.14 kB / 0.5699 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.3391, allocations: 2.031 MB / 0.5719 GB, free: 8.383 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.3392, allocations: 119.4 kB / 0.572 GB, free: 8.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.913e-05/0.3393, allocations: 25.34 kB / 0.572 GB, free: 8.227 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.3394, allocations: 63.39 kB / 0.5721 GB, free: 8.164 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3394, allocations: 4 kB / 0.5721 GB, free: 8.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03024/0.3696, allocations: 5.084 MB / 0.5771 GB, free: 3.113 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.02, allocations: 13.56 kB / 0.5771 GB, free: 3.105 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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: 13.920042293146253]