Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.001173/0.001173, allocations: 109.1 kB / 21.22 MB, free: 0.7305 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.001355/0.001355, allocations: 207.6 kB / 24.53 MB, free: 4.066 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.376/1.376, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.2152/0.2152, allocations: 46.94 MB / 361.6 MB, free: 4.254 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.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 79.86 kB / 0.497 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3124, allocations: 66.09 MB / 0.5616 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003186/0.3156, allocations: 1.761 MB / 0.5633 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.3173, allocations: 1.049 MB / 0.5643 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.268e-05/0.3174, allocations: 3.938 kB / 0.5643 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000294/0.3177, allocations: 91.69 kB / 0.5644 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000302/0.318, allocations: 111.6 kB / 0.5645 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.3182, allocations: 91.66 kB / 0.5646 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.3184, allocations: 127.6 kB / 0.5647 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.082e-05/0.3185, allocations: 9.953 kB / 0.5647 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.3186, allocations: 63.77 kB / 0.5648 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.3187, allocations: 71.73 kB / 0.5649 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.3187, allocations: 4 kB / 0.5649 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.3189, allocations: 59.97 kB / 0.5649 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.891e-05/0.3189, allocations: 31.86 kB / 0.565 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.147e-05/0.319, allocations: 39.67 kB / 0.565 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.3192, allocations: 147.4 kB / 0.5651 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3192, allocations: 4 kB / 0.5651 GB, free: 0.582 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3192, allocations: 0 / 0.5651 GB, free: 0.582 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.3192, allocations: 0 / 0.5651 GB, free: 0.582 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005336/0.3198, allocations: 373.3 kB / 0.5655 GB, free: 192 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.3198, allocations: 11.97 kB / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.512e-05/0.3198, allocations: 4.188 kB / 0.5655 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.297e-05/0.3198, allocations: 34.75 kB / 0.5655 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.3199, allocations: 12.84 kB / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.3202, allocations: 171 kB / 0.5657 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.3202, allocations: 4.375 kB / 0.5657 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.3202, allocations: 8.359 kB / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.3203, allocations: 61.61 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3203, allocations: 0 / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.3204, allocations: 0 / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3204, allocations: 0 / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.24e-05/0.3204, allocations: 23.98 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.3208, allocations: 283.8 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.3211, allocations: 54.55 kB / 0.5661 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.724e-05/0.3211, allocations: 20.97 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.3211, allocations: 0 / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.3213, allocations: 75.39 kB / 0.5662 GB, free: 15.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.3213, allocations: 7.938 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007439/0.322, allocations: 249.4 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.3221, allocations: 51.41 kB / 0.5665 GB, free: 15.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.3223, allocations: 238.9 kB / 0.5668 GB, free: 14.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.3224, allocations: 33.64 kB / 0.5668 GB, free: 14.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.408e-05/0.3224, allocations: 112.1 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.999e-05/0.3225, allocations: 39.72 kB / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.3225, allocations: 29.72 kB / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3227, allocations: 326.8 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.181e-05/0.3227, allocations: 27.98 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.961e-05/0.3228, allocations: 41.7 kB / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.323, allocations: 81.64 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.323, allocations: 0 / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002265/0.3232, allocations: 129.5 kB / 0.5675 GB, free: 13.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.3232, allocations: 8 kB / 0.5675 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3232, allocations: 3.938 kB / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.3232, allocations: 0 / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.358e-05/0.3233, allocations: 23.98 kB / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.3233, allocations: 7.938 kB / 0.5676 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.304e-05/0.3234, allocations: 0 / 0.5676 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.3234, allocations: 4 kB / 0.5676 GB, free: 13.87 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 (13): * Single equations (assignments): 13 * 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.0001192/0.3235, allocations: 139.1 kB / 0.5677 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.3235, allocations: 15.91 kB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002985/0.3238, allocations: 147.2 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3238, allocations: 4 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3238, allocations: 3.938 kB / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3238, allocations: 0 / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000537/0.3244, allocations: 423.2 kB / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.3244, allocations: 3.938 kB / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.37e-05/0.3244, allocations: 12 kB / 0.5683 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3244, allocations: 0 / 0.5683 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.3244, allocations: 12 kB / 0.5683 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3244, allocations: 7.922 kB / 0.5683 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3244, allocations: 3.938 kB / 0.5683 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.3247, allocations: 233.3 kB / 0.5685 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.498e-05/0.3248, allocations: 19.78 kB / 0.5686 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.3248, allocations: 8 kB / 0.5686 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/0.3249, allocations: 3.984 kB / 0.5686 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.3249, allocations: 7.984 kB / 0.5686 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.3249, allocations: 4 kB / 0.5686 GB, free: 12.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.3251, allocations: 179.2 kB / 0.5688 GB, free: 12.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3251, allocations: 0 / 0.5688 GB, free: 12.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.3253, allocations: 31.94 kB / 0.5688 GB, free: 12.54 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 (11): * Single equations (assignments): 9 * 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.002335/0.3277, allocations: 1.172 MB / 0.5699 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002004/0.3279, allocations: 79.84 kB / 0.57 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3279, allocations: 0 / 0.57 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.477e-05/0.328, allocations: 39.92 kB / 0.57 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.3283, allocations: 39.66 kB / 0.5701 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.3305, allocations: 1.845 MB / 0.5719 GB, free: 9.426 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.3308, allocations: 0.716 MB / 0.5726 GB, free: 8.684 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.085e-05/0.3309, allocations: 24.62 kB / 0.5726 GB, free: 8.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.234e-05/0.331, allocations: 39.42 kB / 0.5726 GB, free: 8.621 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.331, allocations: 0 / 0.5726 GB, free: 8.621 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.3549, allocations: 4.157 MB / 0.5767 GB, free: 4.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.99, allocations: 10.78 kB / 0.5767 GB, free: 4.512 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.91028319997713]