Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.001339/0.001339, 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.001562/0.001562, allocations: 212.3 kB / 23.73 MB, free: 4.16 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.445/1.445, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2242/0.2242, allocations: 46.97 MB / 360.9 MB, free: 4.027 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.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 71.88 kB / 0.4962 GB, free: 7.645 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3105, allocations: 66.04 MB / 0.5607 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003274/0.3138, allocations: 1.885 MB / 0.5625 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.3155, allocations: 1.018 MB / 0.5635 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.932e-05/0.3156, allocations: 0 / 0.5635 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.3159, allocations: 51.69 kB / 0.5635 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.3162, allocations: 95.48 kB / 0.5636 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.3164, allocations: 99.64 kB / 0.5637 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.3166, allocations: 147.5 kB / 0.5639 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.547e-05/0.3167, allocations: 19.58 kB / 0.5639 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.675e-05/0.3168, allocations: 67.7 kB / 0.564 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.57e-05/0.3169, allocations: 47.7 kB / 0.564 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.3169, allocations: 8 kB / 0.564 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.459e-05/0.317, allocations: 47.94 kB / 0.5641 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.826e-05/0.317, allocations: 27.89 kB / 0.5641 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.55e-05/0.3171, allocations: 35.75 kB / 0.5641 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.3173, allocations: 155.3 kB / 0.5643 GB, free: 484 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.3173, allocations: 0 / 0.5643 GB, free: 484 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3173, allocations: 0 / 0.5643 GB, free: 484 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3174, allocations: 0 / 0.5643 GB, free: 484 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006014/0.318, allocations: 427 kB / 0.5647 GB, free: 20 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.318, allocations: 11.97 kB / 0.5647 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.322e-05/0.318, allocations: 38.75 kB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.3181, allocations: 16.84 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.3184, allocations: 167.1 kB / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.3184, allocations: 8.359 kB / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.3184, allocations: 15.88 kB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.3186, allocations: 129.9 kB / 0.565 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3187, allocations: 4 kB / 0.565 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.3187, allocations: 7.984 kB / 0.5651 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.3187, allocations: 4 kB / 0.5651 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.3188, allocations: 51.91 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006036/0.3194, allocations: 472.1 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/0.3198, allocations: 86.59 kB / 0.5656 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.94e-05/0.3199, allocations: 36.84 kB / 0.5657 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.3199, allocations: 0 / 0.5657 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/0.3201, allocations: 121 kB / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.3201, allocations: 0 / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004151/0.3205, allocations: 153.4 kB / 0.5659 GB, free: 14.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.3206, allocations: 55.41 kB / 0.566 GB, free: 14.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.3208, allocations: 207.1 kB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.3208, allocations: 29.7 kB / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.164e-05/0.3209, allocations: 116.1 kB / 0.5663 GB, free: 14.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.3209, allocations: 31.73 kB / 0.5664 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/0.321, allocations: 29.7 kB / 0.5664 GB, free: 14.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3211, allocations: 326.8 kB / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.607e-05/0.3212, allocations: 31.97 kB / 0.5667 GB, free: 13.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.3213, allocations: 64.03 kB / 0.5668 GB, free: 13.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.3215, allocations: 100.2 kB / 0.5669 GB, free: 13.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3215, allocations: 4 kB / 0.5669 GB, free: 13.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002883/0.3218, allocations: 141.8 kB / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3218, allocations: 4 kB / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3218, allocations: 4.094 kB / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3219, allocations: 7.875 kB / 0.567 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.322, allocations: 23.98 kB / 0.5671 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.322, allocations: 8.062 kB / 0.5671 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.928e-05/0.322, allocations: 19.88 kB / 0.5671 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.3221, allocations: 8 kB / 0.5671 GB, free: 13.31 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001223/0.3222, allocations: 125.8 kB / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.3222, allocations: 15.91 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003325/0.3225, allocations: 131 kB / 0.5674 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.3226, allocations: 7.938 kB / 0.5674 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3226, allocations: 0 / 0.5674 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3226, allocations: 0 / 0.5674 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.3227, allocations: 176.7 kB / 0.5675 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.3227, allocations: 0 / 0.5675 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.934e-05/0.3228, allocations: 11.98 kB / 0.5675 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.3228, allocations: 4 kB / 0.5675 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.3228, allocations: 0 / 0.5675 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.3228, allocations: 3.938 kB / 0.5675 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3228, allocations: 0 / 0.5675 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004047/0.3233, allocations: 192.9 kB / 0.5677 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.051e-05/0.3233, allocations: 19.88 kB / 0.5677 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.3233, allocations: 8.062 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.577e-05/0.3234, allocations: 11.92 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.3234, allocations: 11.97 kB / 0.5678 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.3234, allocations: 4 kB / 0.5678 GB, free: 12.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001481/0.3236, allocations: 151.2 kB / 0.5679 GB, free: 12.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3236, allocations: 0 / 0.5679 GB, free: 12.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002318/0.3238, allocations: 24 kB / 0.568 GB, free: 12.35 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.00216/0.326, allocations: 1.077 MB / 0.569 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002456/0.3262, allocations: 79.83 kB / 0.5691 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3262, allocations: 0 / 0.5691 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.3263, allocations: 39.91 kB / 0.5691 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.3266, allocations: 39.66 kB / 0.5692 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.3287, allocations: 1.772 MB / 0.5709 GB, free: 9.395 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.965e-05/0.3288, allocations: 101.8 kB / 0.571 GB, free: 9.273 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.003e-05/0.3289, allocations: 25.42 kB / 0.571 GB, free: 9.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.467e-05/0.329, allocations: 43.42 kB / 0.571 GB, free: 9.207 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.329, allocations: 0 / 0.571 GB, free: 9.207 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03137/0.3604, allocations: 4.543 MB / 0.5755 GB, free: 4.727 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.35, allocations: 18.17 kB / 0.5755 GB, free: 4.715 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.282772935926914]