Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.001672/0.001672, 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 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.001677/0.001677, allocations: 213.6 kB / 23.73 MB, free: 4.156 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.538/1.538, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2274/0.2274, allocations: 46.96 MB / 360.9 MB, free: 4.023 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.Test71,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 63.91 kB / 0.4962 GB, free: 7.652 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3142, allocations: 66.04 MB / 0.5607 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003437/0.3176, allocations: 1.784 MB / 0.5624 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.3196, allocations: 1.038 MB / 0.5634 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.487e-05/0.3196, allocations: 4 kB / 0.5634 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005778/0.3202, allocations: 311.3 kB / 0.5637 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005364/0.3208, allocations: 255.2 kB / 0.564 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.321, allocations: 111.6 kB / 0.5641 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003493/0.3214, allocations: 263.2 kB / 0.5643 GB, free: 432 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.429e-05/0.3214, allocations: 17.8 kB / 0.5643 GB, free: 412 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.3216, allocations: 127.6 kB / 0.5645 GB, free: 284 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002752/0.3219, allocations: 219.4 kB / 0.5647 GB, free: 64 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.3219, allocations: 8 kB / 0.5647 GB, free: 56 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.322, allocations: 43.98 kB / 0.5647 GB, free: 12 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.3222, allocations: 139.6 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.3223, allocations: 119 kB / 0.565 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004464/0.3228, allocations: 392 kB / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3228, allocations: 0 / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3228, allocations: 4 kB / 0.5653 GB, free: 15.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3228, allocations: 0 / 0.5653 GB, free: 15.37 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.001005/0.3238, allocations: 0.6786 MB / 0.566 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.3238, allocations: 12.03 kB / 0.566 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.247e-05/0.3239, allocations: 38.69 kB / 0.566 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.506e-05/0.3239, allocations: 48.61 kB / 0.5661 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006348/0.3246, allocations: 398.5 kB / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.3246, allocations: 384 / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.3246, allocations: 7.938 kB / 0.5665 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.3248, allocations: 87.36 kB / 0.5666 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.3248, allocations: 4 kB / 0.5666 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.3249, allocations: 4 kB / 0.5666 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.3249, allocations: 3.938 kB / 0.5666 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.325, allocations: 43.89 kB / 0.5666 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.3254, allocations: 337.4 kB / 0.5669 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.3257, allocations: 109.1 kB / 0.567 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.3258, allocations: 37.7 kB / 0.5671 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.3258, allocations: 11.98 kB / 0.5671 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002358/0.326, allocations: 109 kB / 0.5672 GB, free: 13.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.3261, allocations: 0 / 0.5672 GB, free: 13.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.000507/0.3266, allocations: 201.3 kB / 0.5674 GB, free: 13.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.3266, allocations: 81.05 kB / 0.5675 GB, free: 13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.3279, allocations: 1.065 MB / 0.5685 GB, free: 11.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.3279, allocations: 29.7 kB / 0.5685 GB, free: 11.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.3281, allocations: 240.1 kB / 0.5688 GB, free: 11.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.463e-05/0.3282, allocations: 27.8 kB / 0.5688 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.3282, allocations: 29.72 kB / 0.5688 GB, free: 11.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.3284, allocations: 366.8 kB / 0.5692 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.636e-05/0.3285, allocations: 35.97 kB / 0.5692 GB, free: 11.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.3286, allocations: 58.92 kB / 0.5693 GB, free: 11.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.3288, allocations: 95.84 kB / 0.5693 GB, free: 11.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.3288, allocations: 3.938 kB / 0.5694 GB, free: 11.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003367/0.3292, allocations: 185.2 kB / 0.5695 GB, free: 10.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3292, allocations: 10.03 kB / 0.5695 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3292, allocations: 0 / 0.5695 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3292, allocations: 0 / 0.5695 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.3293, allocations: 27.92 kB / 0.5696 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3293, allocations: 0 / 0.5696 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.641e-05/0.3294, allocations: 11.94 kB / 0.5696 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.3294, allocations: 4 kB / 0.5696 GB, free: 10.77 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.000236/0.3297, allocations: 225.7 kB / 0.5698 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.958e-05/0.3297, allocations: 59.69 kB / 0.5699 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004129/0.3302, allocations: 209.7 kB / 0.5701 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.3302, allocations: 4 kB / 0.5701 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3302, allocations: 0 / 0.5701 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3302, allocations: 0 / 0.5701 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003199/0.3305, allocations: 300.5 kB / 0.5703 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3305, allocations: 0 / 0.5703 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.601e-05/0.3305, allocations: 15.94 kB / 0.5704 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3305, allocations: 0 / 0.5704 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.3306, allocations: 3.984 kB / 0.5704 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3306, allocations: 8 kB / 0.5704 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3306, allocations: 0 / 0.5704 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000367/0.3309, allocations: 221.8 kB / 0.5706 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.3311, allocations: 67.59 kB / 0.5706 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.801e-05/0.3311, allocations: 11.92 kB / 0.5707 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.702e-05/0.3312, allocations: 8 kB / 0.5707 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.3312, allocations: 7.984 kB / 0.5707 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.3313, allocations: 4 kB / 0.5707 GB, free: 9.562 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009071/0.3322, allocations: 0.7955 MB / 0.5715 GB, free: 8.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3322, allocations: 0 / 0.5715 GB, free: 8.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002814/0.3324, allocations: 48 kB / 0.5715 GB, free: 8.723 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.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.002223/0.3347, allocations: 1.091 MB / 0.5726 GB, free: 7.781 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002696/0.3349, allocations: 91.83 kB / 0.5727 GB, free: 7.691 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3349, allocations: 4 kB / 0.5727 GB, free: 7.688 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.3351, allocations: 35.98 kB / 0.5727 GB, free: 7.652 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.3355, allocations: 71.88 kB / 0.5728 GB, free: 7.582 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005991/0.3415, allocations: 4.59 MB / 0.5772 GB, free: 2.879 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.3417, allocations: 241.7 kB / 0.5775 GB, free: 2.621 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001235/0.3419, allocations: 54.97 kB / 0.5775 GB, free: 2.566 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.3421, allocations: 155.4 kB / 0.5777 GB, free: 2.418 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3421, allocations: 3.938 kB / 0.5777 GB, free: 2.414 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03705/0.3791, allocations: 10.01 MB / 0.5874 GB, free: 8.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.85, allocations: 2.5 kB / 0.5875 GB, free: 8.5 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.98461568588391]