Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.001789/0.001789, allocations: 113.2 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.002167/0.002167, allocations: 214.4 kB / 23.74 MB, free: 4.656 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.44/1.44, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2232/0.2232, allocations: 46.93 MB / 360.9 MB, free: 4.234 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.Test34,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 75.89 kB / 0.4962 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3187, allocations: 66.03 MB / 0.5607 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003108/0.3218, allocations: 1.745 MB / 0.5624 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.3235, allocations: 1.048 MB / 0.5634 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.183e-05/0.3236, allocations: 7.875 kB / 0.5635 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003053/0.3239, allocations: 39.77 kB / 0.5635 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.3242, allocations: 95.61 kB / 0.5636 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.3244, allocations: 83.66 kB / 0.5637 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.3246, allocations: 99.7 kB / 0.5638 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.3247, allocations: 13.8 kB / 0.5638 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.3248, allocations: 47.73 kB / 0.5638 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.399e-05/0.3249, allocations: 31.84 kB / 0.5638 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.3249, allocations: 4 kB / 0.5638 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.864e-05/0.325, allocations: 39.98 kB / 0.5639 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.008e-05/0.3251, allocations: 19.92 kB / 0.5639 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.129e-05/0.3252, allocations: 35.73 kB / 0.5639 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.3254, allocations: 131.4 kB / 0.5641 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3254, allocations: 3.938 kB / 0.5641 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3254, allocations: 0 / 0.5641 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3254, allocations: 0 / 0.5641 GB, free: 0.9805 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.0005806/0.326, allocations: 345.6 kB / 0.5644 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.3261, allocations: 8.031 kB / 0.5644 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.501e-05/0.3261, allocations: 30.75 kB / 0.5644 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.3261, allocations: 16.83 kB / 0.5645 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.3265, allocations: 166.9 kB / 0.5646 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.3265, allocations: 384 / 0.5646 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.3265, allocations: 7.875 kB / 0.5646 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.3267, allocations: 57.67 kB / 0.5647 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.3267, allocations: 0 / 0.5647 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3267, allocations: 0 / 0.5647 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3267, allocations: 0 / 0.5647 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.097e-05/0.3268, allocations: 23.98 kB / 0.5647 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.3272, allocations: 256 kB / 0.5649 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.3274, allocations: 62.59 kB / 0.565 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.375e-05/0.3274, allocations: 16.86 kB / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.3274, allocations: 0 / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/0.3276, allocations: 63.39 kB / 0.5651 GB, free: 15.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.3276, allocations: 4 kB / 0.5651 GB, free: 15.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005969/0.3282, allocations: 193.3 kB / 0.5653 GB, free: 15.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.3283, allocations: 51.41 kB / 0.5653 GB, free: 15.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.3285, allocations: 194.2 kB / 0.5655 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.3285, allocations: 33.7 kB / 0.5655 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.296e-05/0.3286, allocations: 104.1 kB / 0.5656 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.3286, allocations: 27.78 kB / 0.5657 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.3287, allocations: 21.72 kB / 0.5657 GB, free: 15.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3288, allocations: 330.8 kB / 0.566 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.731e-05/0.3289, allocations: 19.92 kB / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.367e-05/0.329, allocations: 37.7 kB / 0.566 GB, free: 14.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.3291, allocations: 53.72 kB / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3291, allocations: 0 / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001903/0.3293, allocations: 113.5 kB / 0.5662 GB, free: 14.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.3293, allocations: 4 kB / 0.5662 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3293, allocations: 0 / 0.5662 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3293, allocations: 0 / 0.5662 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.379e-05/0.3294, allocations: 19.98 kB / 0.5662 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3294, allocations: 160 / 0.5662 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.808e-05/0.3294, allocations: 7.938 kB / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.3294, allocations: 4 kB / 0.5662 GB, free: 14.55 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.000105/0.3295, allocations: 125.8 kB / 0.5664 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.3296, allocations: 24.12 kB / 0.5664 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.3299, allocations: 111 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3299, allocations: 3.938 kB / 0.5665 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.3299, allocations: 4 kB / 0.5665 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3299, allocations: 3.938 kB / 0.5665 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004359/0.3303, allocations: 358.4 kB / 0.5668 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3303, allocations: 4 kB / 0.5668 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.526e-05/0.3303, allocations: 15.97 kB / 0.5669 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3303, allocations: 3.938 kB / 0.5669 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.3304, allocations: 7.984 kB / 0.5669 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3304, allocations: 0 / 0.5669 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3304, allocations: 4 kB / 0.5669 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.3306, allocations: 200.2 kB / 0.5671 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.133e-05/0.3306, allocations: 7.953 kB / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.3307, allocations: 11.94 kB / 0.5671 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.262e-05/0.3307, allocations: 4.375 kB / 0.5671 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.3308, allocations: 3.984 kB / 0.5671 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.3308, allocations: 4 kB / 0.5671 GB, free: 13.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001325/0.3309, allocations: 148.2 kB / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3309, allocations: 0 / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.3312, allocations: 31.92 kB / 0.5673 GB, free: 13.39 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.00223/0.3334, allocations: 1.102 MB / 0.5683 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.3336, allocations: 55.91 kB / 0.5684 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3336, allocations: 4 kB / 0.5684 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.797e-05/0.3337, allocations: 19.94 kB / 0.5684 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.334, allocations: 39.75 kB / 0.5685 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.3359, allocations: 1.654 MB / 0.5701 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.3363, allocations: 0.7041 MB / 0.5708 GB, free: 9.859 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.118e-05/0.3363, allocations: 13.28 kB / 0.5708 GB, free: 9.848 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.879e-05/0.3364, allocations: 39.42 kB / 0.5708 GB, free: 9.809 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3364, allocations: 0 / 0.5708 GB, free: 9.809 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/0.3661, allocations: 3.635 MB / 0.5744 GB, free: 6.234 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.17, allocations: 4.188 kB / 0.5744 GB, free: 6.234 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.138106344034895]