Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.001429/0.001429, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001558/0.001558, allocations: 204 kB / 23.72 MB, free: 4.391 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.468/1.468, allocations: 230.5 MB / 257.4 MB, free: 7.758 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.2393/0.2393, allocations: 46.95 MB / 360.8 MB, free: 3.938 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.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 75.88 kB / 0.4962 GB, free: 7.504 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3308, allocations: 66.08 MB / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003118/0.3339, allocations: 1.78 MB / 0.5625 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.3357, allocations: 1.047 MB / 0.5635 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.854e-05/0.3358, allocations: 7.938 kB / 0.5635 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004835/0.3362, allocations: 299.3 kB / 0.5638 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004588/0.3367, allocations: 259.2 kB / 0.564 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.3369, allocations: 103.7 kB / 0.5641 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002964/0.3372, allocations: 263.2 kB / 0.5644 GB, free: 272 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.3373, allocations: 9.812 kB / 0.5644 GB, free: 260 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.3374, allocations: 131.5 kB / 0.5645 GB, free: 128 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.3377, allocations: 211.9 kB / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.3377, allocations: 8 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.3378, allocations: 47.98 kB / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.3379, allocations: 140.5 kB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.3381, allocations: 103.1 kB / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004048/0.3385, allocations: 384 kB / 0.5654 GB, free: 15.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3385, allocations: 0 / 0.5654 GB, free: 15.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3385, allocations: 0 / 0.5654 GB, free: 15.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.3385, allocations: 0 / 0.5654 GB, free: 15.25 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.0009204/0.3394, allocations: 0.6825 MB / 0.5661 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.3394, allocations: 8.031 kB / 0.5661 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.786e-05/0.3395, allocations: 30.75 kB / 0.5661 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.401e-05/0.3395, allocations: 52.61 kB / 0.5661 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005989/0.3401, allocations: 390.5 kB / 0.5665 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.3402, allocations: 4.375 kB / 0.5665 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.3402, allocations: 8.375 kB / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.3404, allocations: 87.48 kB / 0.5666 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3404, allocations: 4 kB / 0.5666 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.3404, allocations: 3.984 kB / 0.5666 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3404, allocations: 8 kB / 0.5666 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.3405, allocations: 35.91 kB / 0.5667 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.3409, allocations: 325.5 kB / 0.567 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.3411, allocations: 105.2 kB / 0.5671 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.761e-05/0.3412, allocations: 41.64 kB / 0.5671 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.3412, allocations: 4 kB / 0.5671 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000223/0.3415, allocations: 120.9 kB / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.3415, allocations: 0 / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.000474/0.3419, allocations: 209.2 kB / 0.5674 GB, free: 12.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.342, allocations: 77.11 kB / 0.5675 GB, free: 12.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.3431, allocations: 1.034 MB / 0.5685 GB, free: 11.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.3431, allocations: 29.7 kB / 0.5685 GB, free: 11.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.3433, allocations: 236.1 kB / 0.5688 GB, free: 11.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.3434, allocations: 19.86 kB / 0.5688 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.124e-05/0.3434, allocations: 33.64 kB / 0.5688 GB, free: 11.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.3436, allocations: 374.8 kB / 0.5692 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.898e-05/0.3437, allocations: 27.98 kB / 0.5692 GB, free: 11.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.3438, allocations: 62.91 kB / 0.5693 GB, free: 11.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.344, allocations: 99.34 kB / 0.5694 GB, free: 10.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.344, allocations: 0 / 0.5694 GB, free: 10.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003067/0.3443, allocations: 173.8 kB / 0.5695 GB, free: 10.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3443, allocations: 8.062 kB / 0.5695 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.3443, allocations: 8 kB / 0.5695 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3443, allocations: 3.984 kB / 0.5695 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.3444, allocations: 19.94 kB / 0.5696 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.3444, allocations: 4 kB / 0.5696 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.812e-05/0.3445, allocations: 19.88 kB / 0.5696 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.3445, allocations: 4 kB / 0.5696 GB, free: 10.7 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.0002154/0.3448, allocations: 227.9 kB / 0.5698 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.37e-05/0.3448, allocations: 51.61 kB / 0.5698 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003852/0.3452, allocations: 205.8 kB / 0.57 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3452, allocations: 4 kB / 0.57 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3452, allocations: 0 / 0.57 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3452, allocations: 0 / 0.57 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003014/0.3455, allocations: 288.6 kB / 0.5703 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3455, allocations: 3.938 kB / 0.5703 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.676e-05/0.3456, allocations: 15.94 kB / 0.5703 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3456, allocations: 3.984 kB / 0.5703 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.3456, allocations: 4 kB / 0.5704 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3456, allocations: 0 / 0.5704 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3456, allocations: 0 / 0.5704 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/0.3459, allocations: 221.6 kB / 0.5706 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.3461, allocations: 71.53 kB / 0.5706 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.351e-05/0.3461, allocations: 4 kB / 0.5706 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.953e-05/0.3462, allocations: 4 kB / 0.5706 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.3462, allocations: 15.92 kB / 0.5707 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.3463, allocations: 8.109 kB / 0.5707 GB, free: 9.508 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008141/0.3471, allocations: 0.7682 MB / 0.5714 GB, free: 8.742 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3471, allocations: 3.938 kB / 0.5714 GB, free: 8.738 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.3473, allocations: 47.92 kB / 0.5715 GB, free: 8.691 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.002118/0.3495, allocations: 1.091 MB / 0.5725 GB, free: 7.719 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002374/0.3497, allocations: 83.91 kB / 0.5726 GB, free: 7.637 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3497, allocations: 0 / 0.5726 GB, free: 7.637 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.3498, allocations: 43.91 kB / 0.5726 GB, free: 7.594 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.3502, allocations: 73.52 kB / 0.5727 GB, free: 7.523 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005523/0.3557, allocations: 4.491 MB / 0.5771 GB, free: 2.926 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.356, allocations: 241.7 kB / 0.5773 GB, free: 2.668 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.3561, allocations: 50.95 kB / 0.5774 GB, free: 2.621 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.3563, allocations: 151.4 kB / 0.5775 GB, free: 2.477 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3563, allocations: 4 kB / 0.5775 GB, free: 2.473 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03727/0.3936, allocations: 9.841 MB / 0.5871 GB, free: 8.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.55, allocations: 10.41 kB / 0.5872 GB, free: 8.652 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_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_Test68.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.73490243172273]