Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.001567/0.001567, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001953/0.001953, allocations: 209.4 kB / 23.73 MB, free: 4.523 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.504/1.504, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2282/0.2282, 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.Test60,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 71.89 kB / 0.4962 GB, free: 7.645 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3181, allocations: 66.04 MB / 0.5607 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003102/0.3212, allocations: 1.716 MB / 0.5623 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002461/0.3237, allocations: 1.657 MB / 0.564 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.997e-05/0.3238, allocations: 3.938 kB / 0.564 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000252/0.324, allocations: 39.72 kB / 0.564 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.3244, allocations: 99.55 kB / 0.5641 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.3245, allocations: 79.72 kB / 0.5642 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.3247, allocations: 107.7 kB / 0.5643 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.51e-05/0.3248, allocations: 13.81 kB / 0.5643 GB, free: 496 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.694e-05/0.3249, allocations: 51.72 kB / 0.5643 GB, free: 444 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.325, allocations: 43.83 kB / 0.5644 GB, free: 400 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.325, allocations: 4 kB / 0.5644 GB, free: 396 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.3252, allocations: 107.9 kB / 0.5645 GB, free: 288 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.738e-05/0.3253, allocations: 15.92 kB / 0.5645 GB, free: 272 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.079e-05/0.3253, allocations: 27.81 kB / 0.5645 GB, free: 244 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.3256, allocations: 171.4 kB / 0.5647 GB, free: 72 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3256, allocations: 0 / 0.5647 GB, free: 72 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3256, allocations: 0 / 0.5647 GB, free: 72 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.3256, allocations: 0 / 0.5647 GB, free: 72 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005962/0.3262, allocations: 353.6 kB / 0.565 GB, free: 15.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3262, allocations: 12.03 kB / 0.565 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.346e-05/0.3263, allocations: 30.75 kB / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.3263, allocations: 12.84 kB / 0.5651 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.3266, allocations: 162.6 kB / 0.5652 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.3266, allocations: 0 / 0.5652 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.3266, allocations: 8 kB / 0.5652 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.3268, allocations: 101 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.3268, allocations: 0 / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.3268, allocations: 3.938 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3268, allocations: 0 / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.983e-05/0.3269, allocations: 19.98 kB / 0.5654 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.3273, allocations: 256 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.3275, allocations: 58.62 kB / 0.5657 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.069e-05/0.3275, allocations: 20.84 kB / 0.5657 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.3276, allocations: 4 kB / 0.5657 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.3277, allocations: 67.39 kB / 0.5657 GB, free: 14.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.3277, allocations: 0 / 0.5657 GB, free: 14.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005502/0.3283, allocations: 185.3 kB / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/0.3283, allocations: 85.03 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.3285, allocations: 171.8 kB / 0.5662 GB, free: 14.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.3285, allocations: 25.7 kB / 0.5662 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.185e-05/0.3286, allocations: 96.14 kB / 0.5663 GB, free: 14.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.3286, allocations: 31.73 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.3287, allocations: 25.72 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3288, allocations: 322.8 kB / 0.5666 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.392e-05/0.3289, allocations: 27.92 kB / 0.5667 GB, free: 13.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.985e-05/0.329, allocations: 72.2 kB / 0.5667 GB, free: 13.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.3291, allocations: 61.7 kB / 0.5668 GB, free: 13.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3291, allocations: 384 / 0.5668 GB, free: 13.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002093/0.3293, allocations: 101.6 kB / 0.5669 GB, free: 13.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3293, allocations: 8 kB / 0.5669 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3293, allocations: 4.062 kB / 0.5669 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3293, allocations: 0 / 0.5669 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.122e-05/0.3294, allocations: 27.92 kB / 0.5669 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3294, allocations: 4 kB / 0.5669 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.191e-05/0.3295, allocations: 0 / 0.5669 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.3295, allocations: 4 kB / 0.5669 GB, free: 13.52 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 (10): * Single equations (assignments): 10 * 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.0001128/0.3296, allocations: 121.8 kB / 0.5671 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.3296, allocations: 11.95 kB / 0.5671 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.3299, allocations: 122.3 kB / 0.5672 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.3299, allocations: 3.938 kB / 0.5672 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3299, allocations: 4 kB / 0.5672 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3299, allocations: 0 / 0.5672 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004778/0.3304, allocations: 370.4 kB / 0.5675 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.3304, allocations: 7.875 kB / 0.5676 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.819e-05/0.3304, allocations: 8 kB / 0.5676 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3304, allocations: 0 / 0.5676 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.3304, allocations: 11.98 kB / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3304, allocations: 0 / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3304, allocations: 0 / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.3307, allocations: 216.6 kB / 0.5678 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.3307, allocations: 11.89 kB / 0.5678 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.3308, allocations: 8.078 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-05/0.3308, allocations: 7.938 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.3309, allocations: 11.97 kB / 0.5678 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.3309, allocations: 4 kB / 0.5678 GB, free: 12.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001197/0.331, allocations: 127.2 kB / 0.5679 GB, free: 12.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.331, allocations: 0 / 0.5679 GB, free: 12.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003106/0.3313, allocations: 51.81 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: 2 * 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 (9): * Single equations (assignments): 7 * 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.002537/0.3338, allocations: 1.234 MB / 0.5692 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.334, allocations: 59.91 kB / 0.5693 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3341, allocations: 0 / 0.5693 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.833e-05/0.3341, allocations: 31.92 kB / 0.5693 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.3345, allocations: 40.92 kB / 0.5693 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.3363, allocations: 1.605 MB / 0.5709 GB, free: 9.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.014e-05/0.3364, allocations: 81.33 kB / 0.571 GB, free: 9.422 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.159e-05/0.3365, allocations: 17.27 kB / 0.571 GB, free: 9.406 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.347e-05/0.3366, allocations: 47.41 kB / 0.571 GB, free: 9.359 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3366, allocations: 0 / 0.571 GB, free: 9.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03252/0.3691, allocations: 4.762 MB / 0.5757 GB, free: 4.637 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.16, allocations: 6.75 kB / 0.5757 GB, free: 4.633 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.22894003498368]