Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.001333/0.001333, allocations: 111.4 kB / 20.48 MB, free: 1.258 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.00148/0.00148, allocations: 211.5 kB / 23.77 MB, free: 4.434 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.413/1.413, allocations: 230.5 MB / 257.5 MB, free: 7.719 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.2253/0.2253, allocations: 46.95 MB / 360.9 MB, free: 3.879 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.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003129/0.003129, allocations: 80.16 kB / 0.4963 GB, free: 7.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3049, allocations: 66.09 MB / 0.5608 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003396/0.3083, allocations: 1.788 MB / 0.5626 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.3102, allocations: 1.045 MB / 0.5636 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.871e-05/0.3103, allocations: 3.938 kB / 0.5636 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005472/0.3109, allocations: 315.3 kB / 0.5639 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000501/0.3114, allocations: 255.2 kB / 0.5641 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.3116, allocations: 107.7 kB / 0.5642 GB, free: 472 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003343/0.3119, allocations: 263.3 kB / 0.5645 GB, free: 208 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.019e-05/0.312, allocations: 17.73 kB / 0.5645 GB, free: 188 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.3122, allocations: 127.5 kB / 0.5646 GB, free: 60 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002905/0.3124, allocations: 223.4 kB / 0.5649 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.3125, allocations: 4 kB / 0.5649 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.3126, allocations: 51.92 kB / 0.5649 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.3127, allocations: 139.6 kB / 0.565 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.3129, allocations: 111.1 kB / 0.5651 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004435/0.3133, allocations: 392 kB / 0.5655 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3133, allocations: 3.938 kB / 0.5655 GB, free: 15.15 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3133, allocations: 0 / 0.5655 GB, free: 15.15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.3133, allocations: 0 / 0.5655 GB, free: 15.15 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.0009955/0.3143, allocations: 0.6825 MB / 0.5662 GB, free: 14.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.3143, allocations: 8.031 kB / 0.5662 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.193e-05/0.3144, allocations: 38.75 kB / 0.5662 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.172e-05/0.3145, allocations: 48.61 kB / 0.5663 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006131/0.3151, allocations: 390.5 kB / 0.5667 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.3151, allocations: 4.375 kB / 0.5667 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.3151, allocations: 8.312 kB / 0.5667 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.3153, allocations: 87.48 kB / 0.5667 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3153, allocations: 7.938 kB / 0.5668 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.3153, allocations: 8 kB / 0.5668 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3154, allocations: 0 / 0.5668 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.3155, allocations: 31.97 kB / 0.5668 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.3159, allocations: 345.3 kB / 0.5671 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.3161, allocations: 101.2 kB / 0.5672 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.985e-05/0.3162, allocations: 37.7 kB / 0.5673 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.3163, allocations: 4 kB / 0.5673 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002407/0.3165, allocations: 120.9 kB / 0.5674 GB, free: 13.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.3165, allocations: 0 / 0.5674 GB, free: 13.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005035/0.317, allocations: 209.2 kB / 0.5676 GB, free: 12.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.3171, allocations: 81.11 kB / 0.5677 GB, free: 12.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.3182, allocations: 1.058 MB / 0.5687 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.3182, allocations: 33.7 kB / 0.5687 GB, free: 11.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.3184, allocations: 236.1 kB / 0.5689 GB, free: 11.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.3184, allocations: 27.81 kB / 0.569 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.3185, allocations: 33.7 kB / 0.569 GB, free: 11.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.3187, allocations: 370.7 kB / 0.5694 GB, free: 11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.222e-05/0.3188, allocations: 35.98 kB / 0.5694 GB, free: 10.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.3189, allocations: 59.34 kB / 0.5694 GB, free: 10.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.3191, allocations: 91.34 kB / 0.5695 GB, free: 10.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3191, allocations: 4 kB / 0.5695 GB, free: 10.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003226/0.3194, allocations: 185.2 kB / 0.5697 GB, free: 10.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.3194, allocations: 4 kB / 0.5697 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3194, allocations: 4 kB / 0.5697 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3194, allocations: 0 / 0.5697 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.3195, allocations: 19.98 kB / 0.5697 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.108e-06/0.3196, allocations: 7.938 kB / 0.5697 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.3197, allocations: 12.56 kB / 0.5698 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.3197, allocations: 4 kB / 0.5698 GB, free: 10.55 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.0002163/0.3199, allocations: 224 kB / 0.57 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.098e-05/0.32, allocations: 63.62 kB / 0.57 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004074/0.3204, allocations: 209.9 kB / 0.5702 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.3204, allocations: 4 kB / 0.5702 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3204, allocations: 0 / 0.5702 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.3204, allocations: 3.984 kB / 0.5702 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002985/0.3207, allocations: 296.5 kB / 0.5705 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.3207, allocations: 3.938 kB / 0.5705 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.554e-05/0.3207, allocations: 8 kB / 0.5705 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3207, allocations: 4 kB / 0.5705 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.3207, allocations: 0 / 0.5705 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.3207, allocations: 11.92 kB / 0.5706 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3207, allocations: 4 kB / 0.5706 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.3211, allocations: 213.6 kB / 0.5708 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.3212, allocations: 71.53 kB / 0.5708 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.3213, allocations: 4 kB / 0.5708 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.828e-05/0.3214, allocations: 7.984 kB / 0.5708 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.3214, allocations: 7.984 kB / 0.5708 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.3214, allocations: 8 kB / 0.5709 GB, free: 9.352 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008416/0.3223, allocations: 0.7956 MB / 0.5716 GB, free: 8.559 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3223, allocations: 0 / 0.5716 GB, free: 8.559 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002813/0.3226, allocations: 48 kB / 0.5717 GB, free: 8.512 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.002157/0.3247, allocations: 1.094 MB / 0.5727 GB, free: 7.535 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002733/0.325, allocations: 83.89 kB / 0.5728 GB, free: 7.453 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.325, allocations: 0 / 0.5728 GB, free: 7.453 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.3251, allocations: 43.91 kB / 0.5729 GB, free: 7.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.3255, allocations: 75.95 kB / 0.5729 GB, free: 7.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005841/0.3314, allocations: 4.587 MB / 0.5774 GB, free: 2.641 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.3316, allocations: 241.7 kB / 0.5777 GB, free: 2.383 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001378/0.3318, allocations: 62.95 kB / 0.5777 GB, free: 2.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.332, allocations: 152.4 kB / 0.5779 GB, free: 2.172 MB / 414.1 MB Notification: Performance of SimCode: time 6.12e-07/0.332, allocations: 4 kB / 0.5779 GB, free: 2.168 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03745/0.3694, allocations: 10.08 MB / 0.5877 GB, free: 8.117 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.04, allocations: 7.438 kB / 0.5877 GB, free: 8.113 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56403 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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: 15.183898253017105]