Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.001364/0.001364, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001958/0.001958, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.457/1.457, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.23/0.23, allocations: 46.94 MB / 361.7 MB, free: 4.227 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.Test76,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 67.89 kB / 0.497 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3153, allocations: 66.03 MB / 0.5615 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003199/0.3185, allocations: 1.776 MB / 0.5632 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.3202, allocations: 1.053 MB / 0.5642 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.608e-05/0.3203, allocations: 3.938 kB / 0.5643 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002676/0.3205, allocations: 51.75 kB / 0.5643 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002869/0.3208, allocations: 91.61 kB / 0.5644 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.3211, allocations: 91.66 kB / 0.5645 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.3213, allocations: 127.7 kB / 0.5646 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.975e-05/0.3213, allocations: 17.94 kB / 0.5646 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.3215, allocations: 59.72 kB / 0.5647 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.3216, allocations: 51.77 kB / 0.5647 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.3216, allocations: 4 kB / 0.5647 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.3217, allocations: 63.97 kB / 0.5648 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.228e-05/0.3218, allocations: 31.91 kB / 0.5648 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.423e-05/0.3218, allocations: 35.73 kB / 0.5649 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.3221, allocations: 151.3 kB / 0.565 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3221, allocations: 4 kB / 0.565 GB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3221, allocations: 3.938 kB / 0.565 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.3221, allocations: 0 / 0.565 GB, free: 0.7891 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005616/0.3226, allocations: 365.4 kB / 0.5654 GB, free: 412 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.3227, allocations: 12.03 kB / 0.5654 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.328e-05/0.3227, allocations: 192 / 0.5654 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.898e-05/0.3227, allocations: 42.73 kB / 0.5654 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.3228, allocations: 16.84 kB / 0.5654 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.323, allocations: 174.2 kB / 0.5656 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.3231, allocations: 8.125 kB / 0.5656 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.3231, allocations: 4 kB / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.3232, allocations: 77.66 kB / 0.5657 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3233, allocations: 0 / 0.5657 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3233, allocations: 3.938 kB / 0.5657 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3233, allocations: 0 / 0.5657 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.3234, allocations: 43.97 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.3238, allocations: 295.8 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.3241, allocations: 74.55 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.108e-05/0.3242, allocations: 32.88 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.3242, allocations: 0 / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.3244, allocations: 83.31 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.3244, allocations: 4 kB / 0.5662 GB, free: 15.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008821/0.3253, allocations: 301.2 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.3253, allocations: 55.39 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.3255, allocations: 198.7 kB / 0.5667 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.3255, allocations: 29.7 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.072e-05/0.3256, allocations: 108.3 kB / 0.5668 GB, free: 14.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.175e-05/0.3257, allocations: 51.58 kB / 0.5669 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/0.3257, allocations: 29.72 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3259, allocations: 326.8 kB / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.674e-05/0.326, allocations: 35.98 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.921e-05/0.3261, allocations: 56.8 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.3262, allocations: 97.64 kB / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3262, allocations: 0 / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002707/0.3265, allocations: 153.6 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.3265, allocations: 4 kB / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3265, allocations: 11.92 kB / 0.5676 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3266, allocations: 3.938 kB / 0.5676 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.178e-05/0.3266, allocations: 20 kB / 0.5676 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3266, allocations: 0.8438 kB / 0.5676 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.714e-05/0.3267, allocations: 11.98 kB / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.3267, allocations: 4 kB / 0.5676 GB, free: 13.9 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 (15): * Single equations (assignments): 15 * 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.0001174/0.3268, allocations: 137.8 kB / 0.5678 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.3269, allocations: 11.91 kB / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003613/0.3272, allocations: 178.8 kB / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3272, allocations: 7.875 kB / 0.5679 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3272, allocations: 3.984 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.3272, allocations: 3.984 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006205/0.3279, allocations: 467 kB / 0.5684 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.3279, allocations: 8.062 kB / 0.5684 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.583e-05/0.3279, allocations: 12 kB / 0.5684 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.3279, allocations: 4 kB / 0.5684 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.3279, allocations: 7.984 kB / 0.5684 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3279, allocations: 4 kB / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3279, allocations: 0 / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.3283, allocations: 265 kB / 0.5687 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.3283, allocations: 7.953 kB / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.3283, allocations: 4 kB / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.782e-05/0.3284, allocations: 4 kB / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.3284, allocations: 15.97 kB / 0.5687 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.3285, allocations: 7.938 kB / 0.5687 GB, free: 12.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001503/0.3286, allocations: 148.3 kB / 0.5689 GB, free: 12.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3286, allocations: 0 / 0.5689 GB, free: 12.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002915/0.3289, allocations: 35.89 kB / 0.5689 GB, free: 12.5 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 (13): * Single equations (assignments): 11 * 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.002532/0.3314, allocations: 1.191 MB / 0.5701 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.3317, allocations: 99.84 kB / 0.5702 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3317, allocations: 0 / 0.5702 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.3318, allocations: 47.91 kB / 0.5702 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.3322, allocations: 27.98 kB / 0.5702 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.3344, allocations: 1.856 MB / 0.572 GB, free: 9.359 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.3348, allocations: 0.7162 MB / 0.5727 GB, free: 8.617 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.439e-05/0.3349, allocations: 29.41 kB / 0.5728 GB, free: 8.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.208e-05/0.335, allocations: 47.41 kB / 0.5728 GB, free: 8.543 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.335, allocations: 0 / 0.5728 GB, free: 8.543 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02411/0.3591, allocations: 4.295 MB / 0.577 GB, free: 4.336 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.74, allocations: 10.75 kB / 0.577 GB, free: 4.328 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.889443123014644]