Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.00134/0.00134, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001563/0.001563, allocations: 216.2 kB / 23.73 MB, free: 4.164 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2443/0.2443, allocations: 46.95 MB / 360.9 MB, free: 4.059 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.Test69,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 63.91 kB / 0.4962 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3385, allocations: 66.03 MB / 0.5606 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.00327/0.3417, allocations: 1.795 MB / 0.5624 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.3437, allocations: 1.048 MB / 0.5634 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.35e-05/0.3438, allocations: 4 kB / 0.5634 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005146/0.3443, allocations: 295.3 kB / 0.5637 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005001/0.3448, allocations: 255.2 kB / 0.5639 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.3451, allocations: 107.6 kB / 0.5641 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003886/0.3455, allocations: 271.2 kB / 0.5643 GB, free: 464 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.569e-05/0.3456, allocations: 5.812 kB / 0.5643 GB, free: 456 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.3457, allocations: 127.6 kB / 0.5644 GB, free: 328 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002982/0.346, allocations: 219.8 kB / 0.5646 GB, free: 108 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.3461, allocations: 4 kB / 0.5647 GB, free: 104 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.3462, allocations: 47.98 kB / 0.5647 GB, free: 56 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.3464, allocations: 132.5 kB / 0.5648 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.3465, allocations: 115 kB / 0.5649 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000509/0.347, allocations: 380.1 kB / 0.5653 GB, free: 15.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.347, allocations: 0 / 0.5653 GB, free: 15.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.347, allocations: 4 kB / 0.5653 GB, free: 15.44 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.3471, allocations: 0 / 0.5653 GB, free: 15.44 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.001093/0.3482, allocations: 0.6747 MB / 0.566 GB, free: 14.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.3482, allocations: 8.031 kB / 0.566 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.516e-05/0.3483, allocations: 38.69 kB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.987e-05/0.3483, allocations: 48.61 kB / 0.566 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007519/0.3491, allocations: 382.6 kB / 0.5664 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.3491, allocations: 8.359 kB / 0.5664 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.3491, allocations: 7.938 kB / 0.5664 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.3494, allocations: 87.36 kB / 0.5665 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3494, allocations: 0 / 0.5665 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.3494, allocations: 4 kB / 0.5665 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.3494, allocations: 0 / 0.5665 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.3495, allocations: 35.91 kB / 0.5666 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004654/0.35, allocations: 333.5 kB / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.3503, allocations: 113.1 kB / 0.567 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.3504, allocations: 41.7 kB / 0.567 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.084e-05/0.3504, allocations: 4 kB / 0.567 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000238/0.3507, allocations: 113 kB / 0.5671 GB, free: 13.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.3507, allocations: 0 / 0.5671 GB, free: 13.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005123/0.3512, allocations: 213.2 kB / 0.5673 GB, free: 13.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.3512, allocations: 81.05 kB / 0.5674 GB, free: 13.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.3524, allocations: 1.034 MB / 0.5684 GB, free: 12.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.3525, allocations: 29.69 kB / 0.5684 GB, free: 12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.3527, allocations: 236.1 kB / 0.5687 GB, free: 11.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.636e-05/0.3527, allocations: 27.84 kB / 0.5687 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-05/0.3528, allocations: 25.7 kB / 0.5687 GB, free: 11.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002254/0.353, allocations: 370.8 kB / 0.5691 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.382e-05/0.3531, allocations: 27.98 kB / 0.5691 GB, free: 11.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.3532, allocations: 63.41 kB / 0.5692 GB, free: 11.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.3534, allocations: 91.36 kB / 0.5693 GB, free: 11.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3534, allocations: 3.938 kB / 0.5693 GB, free: 11.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003632/0.3538, allocations: 185.2 kB / 0.5694 GB, free: 10.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.3538, allocations: 4 kB / 0.5694 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.3538, allocations: 4 kB / 0.5694 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3538, allocations: 0 / 0.5694 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.354, allocations: 27.92 kB / 0.5695 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.354, allocations: 0 / 0.5695 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.3541, allocations: 16.5 kB / 0.5695 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.3541, allocations: 4 kB / 0.5695 GB, free: 10.89 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.0002566/0.3544, allocations: 225.8 kB / 0.5697 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.314e-05/0.3544, allocations: 47.67 kB / 0.5697 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004104/0.3548, allocations: 209.8 kB / 0.5699 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.3548, allocations: 4 kB / 0.57 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3548, allocations: 0 / 0.57 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3548, allocations: 0 / 0.57 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003344/0.3552, allocations: 300.5 kB / 0.5702 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3552, allocations: 0 / 0.5702 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.512e-05/0.3552, allocations: 8 kB / 0.5702 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3552, allocations: 0 / 0.5702 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.3552, allocations: 11.98 kB / 0.5703 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3552, allocations: 0 / 0.5703 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3552, allocations: 0 / 0.5703 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/0.3556, allocations: 225.5 kB / 0.5705 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.3558, allocations: 63.59 kB / 0.5705 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.887e-05/0.3558, allocations: 11.92 kB / 0.5705 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.316e-05/0.3559, allocations: 8 kB / 0.5706 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.3559, allocations: 7.984 kB / 0.5706 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.356, allocations: 7.938 kB / 0.5706 GB, free: 9.699 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008788/0.3568, allocations: 0.7721 MB / 0.5713 GB, free: 8.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3568, allocations: 4 kB / 0.5713 GB, free: 8.926 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.3571, allocations: 44 kB / 0.5714 GB, free: 8.883 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.002203/0.3593, allocations: 1.099 MB / 0.5724 GB, free: 7.938 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002741/0.3596, allocations: 79.89 kB / 0.5725 GB, free: 7.859 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3596, allocations: 0 / 0.5725 GB, free: 7.859 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.3597, allocations: 43.97 kB / 0.5726 GB, free: 7.816 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.3601, allocations: 78.78 kB / 0.5726 GB, free: 7.746 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00568/0.3658, allocations: 4.499 MB / 0.577 GB, free: 3.141 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.3661, allocations: 237.7 kB / 0.5773 GB, free: 2.887 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001503/0.3663, allocations: 62.95 kB / 0.5773 GB, free: 2.828 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/0.3665, allocations: 147.4 kB / 0.5775 GB, free: 2.688 MB / 414.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3665, allocations: 3.938 kB / 0.5775 GB, free: 2.684 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03715/0.4037, allocations: 9.836 MB / 0.5871 GB, free: 8.922 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.69, allocations: 6.719 kB / 0.5871 GB, free: 8.922 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.793455820064992]