Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.0013/0.0013, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001404/0.001404, allocations: 209.4 kB / 23.74 MB, free: 4.66 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.449/1.449, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2393/0.2393, allocations: 46.93 MB / 360.9 MB, free: 4.289 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.Test54,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 75.88 kB / 0.4962 GB, free: 7.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.336, allocations: 66.04 MB / 0.5607 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003314/0.3393, allocations: 1.737 MB / 0.5624 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.3412, allocations: 1.049 MB / 0.5634 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.969e-05/0.3413, allocations: 0 / 0.5634 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003182/0.3416, allocations: 55.75 kB / 0.5635 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003102/0.342, allocations: 95.55 kB / 0.5636 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.3422, allocations: 83.66 kB / 0.5637 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.3423, allocations: 111.6 kB / 0.5638 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.709e-05/0.3424, allocations: 9.812 kB / 0.5638 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.3425, allocations: 43.78 kB / 0.5638 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.283e-05/0.3426, allocations: 39.84 kB / 0.5639 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.3427, allocations: 4 kB / 0.5639 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.3428, allocations: 43.97 kB / 0.5639 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.975e-05/0.3428, allocations: 27.8 kB / 0.5639 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.501e-05/0.3429, allocations: 35.75 kB / 0.564 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.3431, allocations: 131.4 kB / 0.5641 GB, free: 1.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3431, allocations: 0 / 0.5641 GB, free: 1.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3431, allocations: 0 / 0.5641 GB, free: 1.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.3431, allocations: 0 / 0.5641 GB, free: 1.008 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005599/0.3437, allocations: 361.4 kB / 0.5644 GB, free: 0.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3437, allocations: 16.03 kB / 0.5645 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.609e-05/0.3437, allocations: 30.75 kB / 0.5645 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.731e-05/0.3438, allocations: 12.89 kB / 0.5645 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.3441, allocations: 170.9 kB / 0.5647 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.3441, allocations: 384 / 0.5647 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.3441, allocations: 7.938 kB / 0.5647 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.3443, allocations: 53.67 kB / 0.5647 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3443, allocations: 0 / 0.5647 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.3443, allocations: 0 / 0.5647 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3443, allocations: 4 kB / 0.5647 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.315e-05/0.3444, allocations: 19.98 kB / 0.5647 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003993/0.3448, allocations: 267.9 kB / 0.565 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.3449, allocations: 54.67 kB / 0.565 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.18e-05/0.345, allocations: 20.84 kB / 0.5651 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.345, allocations: 7.984 kB / 0.5651 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.3452, allocations: 63.39 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.3452, allocations: 0 / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005501/0.3458, allocations: 185.5 kB / 0.5653 GB, free: 15.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.3458, allocations: 51.41 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.3461, allocations: 242.9 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.3461, allocations: 33.64 kB / 0.5656 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.483e-05/0.3462, allocations: 112.1 kB / 0.5657 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.3462, allocations: 23.8 kB / 0.5658 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/0.3462, allocations: 29.7 kB / 0.5658 GB, free: 15.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3464, allocations: 322.8 kB / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.339e-05/0.3465, allocations: 23.98 kB / 0.5661 GB, free: 14.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.964e-05/0.3465, allocations: 37.77 kB / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.3466, allocations: 61.72 kB / 0.5662 GB, free: 14.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3466, allocations: 0 / 0.5662 GB, free: 14.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002002/0.3468, allocations: 113.6 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.3469, allocations: 8 kB / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3469, allocations: 0 / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3469, allocations: 0 / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.977e-05/0.347, allocations: 19.94 kB / 0.5663 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.347, allocations: 3.984 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.597e-05/0.347, allocations: 7.969 kB / 0.5664 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.347, allocations: 4 kB / 0.5664 GB, free: 14.47 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.0001171/0.3471, allocations: 132.5 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.3472, allocations: 15.91 kB / 0.5665 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.3474, allocations: 115 kB / 0.5666 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.3474, allocations: 7.938 kB / 0.5666 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3474, allocations: 0 / 0.5666 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3474, allocations: 3.938 kB / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.3479, allocations: 362.5 kB / 0.567 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3479, allocations: 7.938 kB / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.087e-05/0.3479, allocations: 11.98 kB / 0.567 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3479, allocations: 7.938 kB / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.3479, allocations: 0 / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3479, allocations: 0 / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3479, allocations: 4 kB / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.3482, allocations: 204.3 kB / 0.5672 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.221e-05/0.3482, allocations: 11.91 kB / 0.5672 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.3482, allocations: 7.922 kB / 0.5672 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.3483, allocations: 7.984 kB / 0.5672 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.3483, allocations: 11.92 kB / 0.5672 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.3484, allocations: 4 kB / 0.5672 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001528/0.3485, allocations: 171.2 kB / 0.5674 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3485, allocations: 4 kB / 0.5674 GB, free: 13.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.3488, allocations: 27.92 kB / 0.5674 GB, free: 13.29 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 (8): * Single equations (assignments): 6 * 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.002147/0.3509, allocations: 1.104 MB / 0.5685 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001833/0.3511, allocations: 55.91 kB / 0.5686 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3511, allocations: 0 / 0.5686 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.319e-05/0.3512, allocations: 27.92 kB / 0.5686 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.3515, allocations: 29.55 kB / 0.5686 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.3535, allocations: 1.751 MB / 0.5703 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.3539, allocations: 0.7158 MB / 0.571 GB, free: 9.645 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.33e-05/0.3539, allocations: 17.28 kB / 0.571 GB, free: 9.629 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.061e-05/0.354, allocations: 39.42 kB / 0.5711 GB, free: 9.59 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.354, allocations: 0 / 0.5711 GB, free: 9.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02839/0.3824, allocations: 3.803 MB / 0.5748 GB, free: 5.859 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.22, allocations: 7.312 kB / 0.5748 GB, free: 5.855 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.16526066698134]