Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.001814/0.001814, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002252/0.002252, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.411/1.411, allocations: 230.5 MB / 257.4 MB, free: 7.809 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.2324/0.2324, allocations: 46.95 MB / 360.8 MB, free: 3.93 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.Test45,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002341/0.002341, allocations: 83.88 kB / 0.4962 GB, free: 7.488 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3274, allocations: 66.09 MB / 0.5608 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003213/0.3307, allocations: 1.709 MB / 0.5624 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.3324, allocations: 0.9671 MB / 0.5634 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.554e-05/0.3325, allocations: 0 / 0.5634 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.3328, allocations: 51.77 kB / 0.5634 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003493/0.3331, allocations: 95.59 kB / 0.5635 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.3334, allocations: 83.66 kB / 0.5636 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.3336, allocations: 107.6 kB / 0.5637 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.3337, allocations: 9.812 kB / 0.5637 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.47e-05/0.3338, allocations: 43.78 kB / 0.5637 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.564e-05/0.3338, allocations: 27.86 kB / 0.5638 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.3339, allocations: 7.938 kB / 0.5638 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.334, allocations: 39.98 kB / 0.5638 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.452e-05/0.334, allocations: 31.89 kB / 0.5638 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.116e-05/0.3341, allocations: 27.81 kB / 0.5639 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.3343, allocations: 127.4 kB / 0.564 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3343, allocations: 0 / 0.564 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.3343, allocations: 0 / 0.564 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3343, allocations: 0 / 0.564 GB, free: 0.6914 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.000602/0.3349, allocations: 353.5 kB / 0.5643 GB, free: 324 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.335, allocations: 8.031 kB / 0.5643 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.328e-05/0.335, allocations: 42.73 kB / 0.5644 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.335, allocations: 8.891 kB / 0.5644 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.3353, allocations: 162.3 kB / 0.5645 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.3353, allocations: 384 / 0.5645 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.3353, allocations: 4.375 kB / 0.5645 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.3355, allocations: 65.72 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3355, allocations: 0 / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3355, allocations: 4 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3355, allocations: 0 / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.772e-05/0.3356, allocations: 19.98 kB / 0.5646 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.336, allocations: 263.9 kB / 0.5649 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.3362, allocations: 54.62 kB / 0.5649 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.631e-05/0.3363, allocations: 28.84 kB / 0.565 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.3363, allocations: 0 / 0.565 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.3364, allocations: 67.39 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.3364, allocations: 0 / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005624/0.337, allocations: 189.2 kB / 0.5652 GB, free: 15.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.3371, allocations: 55.41 kB / 0.5653 GB, free: 15.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.3373, allocations: 214.2 kB / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.3373, allocations: 29.7 kB / 0.5655 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.104e-05/0.3374, allocations: 112.1 kB / 0.5656 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.3374, allocations: 23.84 kB / 0.5656 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.3375, allocations: 25.72 kB / 0.5656 GB, free: 14.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.3377, allocations: 326.8 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.513e-05/0.3377, allocations: 24.36 kB / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.713e-05/0.3378, allocations: 41.58 kB / 0.566 GB, free: 14.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.3379, allocations: 57.7 kB / 0.5661 GB, free: 14.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3379, allocations: 4 kB / 0.5661 GB, free: 14.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001993/0.3381, allocations: 117.5 kB / 0.5662 GB, free: 14.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.044e-05/0.3382, allocations: 8.031 kB / 0.5662 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3382, allocations: 0 / 0.5662 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3382, allocations: 4 kB / 0.5662 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.3383, allocations: 12 kB / 0.5662 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3383, allocations: 0 / 0.5662 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.169e-05/0.3384, allocations: 15.92 kB / 0.5662 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.3384, allocations: 4 kB / 0.5662 GB, free: 14.18 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.0001131/0.3385, allocations: 125.7 kB / 0.5664 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.3385, allocations: 15.91 kB / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002821/0.3388, allocations: 131 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3388, allocations: 0 / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3388, allocations: 0 / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3388, allocations: 4 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005219/0.3393, allocations: 370.4 kB / 0.5669 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3393, allocations: 0 / 0.5669 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.714e-05/0.3394, allocations: 8 kB / 0.5669 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3394, allocations: 0 / 0.5669 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.3394, allocations: 11.98 kB / 0.5669 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.3394, allocations: 3.938 kB / 0.5669 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3394, allocations: 4.031 kB / 0.5669 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.3397, allocations: 212.2 kB / 0.5671 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.93e-05/0.3397, allocations: 7.953 kB / 0.5671 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.3398, allocations: 4 kB / 0.5671 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.232e-05/0.3398, allocations: 12.3 kB / 0.5671 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.3399, allocations: 4 kB / 0.5671 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.3399, allocations: 7.984 kB / 0.5671 GB, free: 13.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001464/0.34, allocations: 159.2 kB / 0.5673 GB, free: 13.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.34, allocations: 3.938 kB / 0.5673 GB, free: 13.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.3403, allocations: 20 kB / 0.5673 GB, free: 13.01 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 (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.002291/0.3426, allocations: 1.133 MB / 0.5684 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001867/0.3428, allocations: 67.83 kB / 0.5685 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.3428, allocations: 8.062 kB / 0.5685 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.672e-05/0.3428, allocations: 27.92 kB / 0.5685 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.3432, allocations: 38.84 kB / 0.5685 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.3452, allocations: 1.69 MB / 0.5702 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.3453, allocations: 92.61 kB / 0.5703 GB, free: 9.996 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6e-05/0.3453, allocations: 24.64 kB / 0.5703 GB, free: 9.973 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.536e-05/0.3454, allocations: 39.42 kB / 0.5703 GB, free: 9.934 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3454, allocations: 0 / 0.5703 GB, free: 9.934 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03005/0.3755, allocations: 4.183 MB / 0.5744 GB, free: 5.773 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.21, allocations: 3.938 kB / 0.5744 GB, free: 5.77 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.097189037129283]