Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.001817/0.001817, 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.00222/0.00222, allocations: 204.7 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.47/1.47, allocations: 230.5 MB / 257.4 MB, free: 7.742 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.2257/0.2257, allocations: 46.94 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.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002458/0.002458, allocations: 75.88 kB / 0.4962 GB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3191, allocations: 66.08 MB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003391/0.3225, allocations: 1.786 MB / 0.5625 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002666/0.3251, allocations: 1.731 MB / 0.5642 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.512e-05/0.3252, allocations: 4 kB / 0.5642 GB, free: 500 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000322/0.3255, allocations: 55.69 kB / 0.5642 GB, free: 444 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004301/0.326, allocations: 143.3 kB / 0.5644 GB, free: 300 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.3262, allocations: 107.7 kB / 0.5645 GB, free: 192 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002922/0.3265, allocations: 211.3 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.935e-05/0.3265, allocations: 5.812 kB / 0.5647 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.3267, allocations: 87.62 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.3268, allocations: 71.62 kB / 0.5648 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.217e-05/0.3269, allocations: 12 kB / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.3271, allocations: 111.9 kB / 0.565 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.317e-05/0.3272, allocations: 39.84 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.495e-05/0.3273, allocations: 55.61 kB / 0.565 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.3276, allocations: 228.9 kB / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3276, allocations: 0 / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3276, allocations: 0 / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.3276, allocations: 0 / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006893/0.3283, allocations: 425 kB / 0.5657 GB, free: 14.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3283, allocations: 12.03 kB / 0.5657 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.737e-05/0.3284, allocations: 42.67 kB / 0.5657 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.488e-05/0.3285, allocations: 20.78 kB / 0.5657 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.3288, allocations: 190.2 kB / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.3288, allocations: 384 / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.3288, allocations: 8.375 kB / 0.5659 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.3291, allocations: 156.5 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.3291, allocations: 0 / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.3291, allocations: 3.984 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3292, allocations: 4 kB / 0.5661 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.3293, allocations: 27.98 kB / 0.5661 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002523/0.3295, allocations: 185.6 kB / 0.5663 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.3298, allocations: 113.2 kB / 0.5664 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.986e-05/0.3299, allocations: 37.7 kB / 0.5664 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.3299, allocations: 0 / 0.5664 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002352/0.3301, allocations: 120.9 kB / 0.5666 GB, free: 13.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.3301, allocations: 0 / 0.5666 GB, free: 13.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004776/0.3306, allocations: 181.4 kB / 0.5667 GB, free: 13.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.866e-05/0.3307, allocations: 132.5 kB / 0.5669 GB, free: 13.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.331, allocations: 242.3 kB / 0.5671 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.331, allocations: 29.7 kB / 0.5671 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.147e-05/0.3311, allocations: 116.1 kB / 0.5672 GB, free: 13.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.776e-05/0.3312, allocations: 31.73 kB / 0.5673 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.616e-05/0.3312, allocations: 25.72 kB / 0.5673 GB, free: 13.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.3314, allocations: 334.8 kB / 0.5676 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.101e-05/0.3315, allocations: 31.98 kB / 0.5676 GB, free: 12.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.3317, allocations: 128.5 kB / 0.5677 GB, free: 12.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.3319, allocations: 99.88 kB / 0.5678 GB, free: 12.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3319, allocations: 0 / 0.5678 GB, free: 12.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002987/0.3322, allocations: 141.4 kB / 0.568 GB, free: 12.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3322, allocations: 7.984 kB / 0.568 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3322, allocations: 4 kB / 0.568 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.3322, allocations: 0 / 0.568 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.3323, allocations: 24.06 kB / 0.568 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.3323, allocations: 7.984 kB / 0.568 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.621e-05/0.3324, allocations: 7.953 kB / 0.568 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.3324, allocations: 7.938 kB / 0.568 GB, free: 12.24 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001315/0.3325, allocations: 133.8 kB / 0.5682 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.954e-05/0.3326, allocations: 19.84 kB / 0.5682 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003672/0.333, allocations: 166.7 kB / 0.5683 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.333, allocations: 4 kB / 0.5683 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.333, allocations: 0 / 0.5683 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.333, allocations: 7.984 kB / 0.5684 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.3332, allocations: 188.6 kB / 0.5685 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3332, allocations: 3.938 kB / 0.5685 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.88e-05/0.3332, allocations: 15.98 kB / 0.5686 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3332, allocations: 0 / 0.5686 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.3332, allocations: 4 kB / 0.5686 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3332, allocations: 256 / 0.5686 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3332, allocations: 0 / 0.5686 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003483/0.3336, allocations: 189.8 kB / 0.5687 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/0.3336, allocations: 23.8 kB / 0.5688 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.3337, allocations: 0 / 0.5688 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.58e-05/0.3337, allocations: 19.92 kB / 0.5688 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.3338, allocations: 7.984 kB / 0.5688 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.3338, allocations: 7.938 kB / 0.5688 GB, free: 11.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002077/0.334, allocations: 192.5 kB / 0.569 GB, free: 11.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.334, allocations: 0 / 0.569 GB, free: 11.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.3343, allocations: 55.86 kB / 0.569 GB, free: 11.13 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002481/0.3368, allocations: 1.139 MB / 0.5701 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002888/0.3371, allocations: 87.95 kB / 0.5702 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3371, allocations: 4.062 kB / 0.5702 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.3372, allocations: 43.91 kB / 0.5703 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.3375, allocations: 48.58 kB / 0.5703 GB, free: 9.961 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002741/0.3403, allocations: 1.913 MB / 0.5722 GB, free: 7.941 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.3404, allocations: 119.4 kB / 0.5723 GB, free: 7.809 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.3405, allocations: 33.45 kB / 0.5723 GB, free: 7.777 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.3406, allocations: 55.41 kB / 0.5724 GB, free: 7.723 MB / 414.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3406, allocations: 0 / 0.5724 GB, free: 7.723 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03389/0.3745, allocations: 6.23 MB / 0.5785 GB, free: 1.523 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.63, allocations: 6.953 kB / 0.5785 GB, free: 1.52 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.598714919295162]