Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 207.5 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.41/1.41, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2257/0.2257, allocations: 46.94 MB / 360.9 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 67.91 kB / 0.4962 GB, free: 7.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3229, allocations: 66.04 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003397/0.3263, allocations: 1.79 MB / 0.5624 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002741/0.329, allocations: 1.731 MB / 0.5641 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.899e-05/0.3291, allocations: 4 kB / 0.5641 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002867/0.3294, allocations: 55.62 kB / 0.5641 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004304/0.3298, allocations: 139.4 kB / 0.5643 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.3301, allocations: 103.7 kB / 0.5644 GB, free: 408 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.3303, allocations: 215.2 kB / 0.5646 GB, free: 192 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.673e-05/0.3304, allocations: 17.73 kB / 0.5646 GB, free: 172 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.3305, allocations: 79.64 kB / 0.5647 GB, free: 92 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.3307, allocations: 83.61 kB / 0.5648 GB, free: 8 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.3307, allocations: 8 kB / 0.5648 GB, free: 0 / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002104/0.3309, allocations: 111.9 kB / 0.5649 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.066e-05/0.331, allocations: 39.78 kB / 0.5649 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.353e-05/0.3311, allocations: 55.66 kB / 0.565 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003639/0.3315, allocations: 221 kB / 0.5652 GB, free: 15.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3315, allocations: 0 / 0.5652 GB, free: 15.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3315, allocations: 0 / 0.5652 GB, free: 15.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.3315, allocations: 0 / 0.5652 GB, free: 15.58 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.0007064/0.3322, allocations: 444.8 kB / 0.5656 GB, free: 15.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.3322, allocations: 8.031 kB / 0.5656 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.3323, allocations: 42.73 kB / 0.5656 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.19e-05/0.3323, allocations: 16.84 kB / 0.5657 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.3327, allocations: 182.2 kB / 0.5658 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.3327, allocations: 4.375 kB / 0.5658 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.3327, allocations: 11.94 kB / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.333, allocations: 152.4 kB / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.333, allocations: 0 / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.333, allocations: 4 kB / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.333, allocations: 0 / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.3331, allocations: 35.97 kB / 0.566 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002444/0.3334, allocations: 177.7 kB / 0.5662 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.3337, allocations: 113.1 kB / 0.5663 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.766e-05/0.3338, allocations: 37.69 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.3338, allocations: 4 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002322/0.334, allocations: 109 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.334, allocations: 0 / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004864/0.3345, allocations: 181.8 kB / 0.5666 GB, free: 13.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9e-05/0.3346, allocations: 128.5 kB / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.3349, allocations: 252.1 kB / 0.567 GB, free: 13.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.3349, allocations: 29.7 kB / 0.567 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.741e-05/0.335, allocations: 112.1 kB / 0.5671 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5e-05/0.3351, allocations: 39.72 kB / 0.5672 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.964e-05/0.3351, allocations: 29.72 kB / 0.5672 GB, free: 13.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3353, allocations: 334.8 kB / 0.5675 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.805e-05/0.3354, allocations: 28.11 kB / 0.5675 GB, free: 12.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.3355, allocations: 143.8 kB / 0.5677 GB, free: 12.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.3357, allocations: 91.36 kB / 0.5678 GB, free: 12.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.3357, allocations: 3.938 kB / 0.5678 GB, free: 12.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000283/0.336, allocations: 145.5 kB / 0.5679 GB, free: 12.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.336, allocations: 4 kB / 0.5679 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.336, allocations: 0 / 0.5679 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.336, allocations: 4 kB / 0.5679 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.3361, allocations: 23.98 kB / 0.5679 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.3361, allocations: 7.938 kB / 0.5679 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9e-05/0.3362, allocations: 15.92 kB / 0.568 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.3362, allocations: 4 kB / 0.568 GB, free: 12.42 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.0001296/0.3364, allocations: 130.3 kB / 0.5681 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.3364, allocations: 19.89 kB / 0.5681 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003633/0.3368, allocations: 170.8 kB / 0.5683 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3368, allocations: 64 / 0.5683 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3368, allocations: 11.98 kB / 0.5683 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3368, allocations: 0 / 0.5683 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.337, allocations: 184.5 kB / 0.5685 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.337, allocations: 0 / 0.5685 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.695e-05/0.337, allocations: 16 kB / 0.5685 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.337, allocations: 0 / 0.5685 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.337, allocations: 3.984 kB / 0.5685 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.337, allocations: 4 kB / 0.5685 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.337, allocations: 7.938 kB / 0.5685 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.3374, allocations: 181.7 kB / 0.5687 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.803e-05/0.3374, allocations: 23.84 kB / 0.5687 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.3375, allocations: 4 kB / 0.5687 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.478e-05/0.3376, allocations: 11.98 kB / 0.5687 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.3376, allocations: 7.984 kB / 0.5687 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.3376, allocations: 4 kB / 0.5687 GB, free: 11.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001961/0.3378, allocations: 185.8 kB / 0.5689 GB, free: 11.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3378, allocations: 0 / 0.5689 GB, free: 11.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002908/0.3381, allocations: 51.86 kB / 0.5689 GB, free: 11.34 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.002364/0.3405, allocations: 1.157 MB / 0.5701 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002906/0.3408, allocations: 83.89 kB / 0.5701 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3408, allocations: 4 kB / 0.5701 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.3409, allocations: 40.3 kB / 0.5702 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.3413, allocations: 62.19 kB / 0.5702 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.3439, allocations: 1.916 MB / 0.5721 GB, free: 8.172 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.344, allocations: 119.4 kB / 0.5722 GB, free: 8.039 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001211/0.3441, allocations: 33.45 kB / 0.5723 GB, free: 8.008 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.3442, allocations: 59.39 kB / 0.5723 GB, free: 7.949 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3442, allocations: 0 / 0.5723 GB, free: 7.949 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03453/0.3788, allocations: 6.256 MB / 0.5784 GB, free: 1.754 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.26, allocations: 6.656 kB / 0.5784 GB, free: 1.75 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.139146289002383]