Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.001418/0.001418, 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.001541/0.001541, allocations: 207.4 kB / 23.73 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.475/1.475, allocations: 230.5 MB / 257.4 MB, free: 7.727 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.2299/0.2299, allocations: 46.95 MB / 360.8 MB, free: 3.91 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.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002343/0.002343, allocations: 83.81 kB / 0.4962 GB, free: 7.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3365, allocations: 66.09 MB / 0.5607 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.0034/0.3399, allocations: 1.786 MB / 0.5625 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.3419, allocations: 1.041 MB / 0.5635 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.419e-05/0.342, allocations: 11.94 kB / 0.5635 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006588/0.3426, allocations: 299.3 kB / 0.5638 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005385/0.3432, allocations: 259.2 kB / 0.5641 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.3435, allocations: 103.7 kB / 0.5642 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003796/0.3438, allocations: 263.3 kB / 0.5644 GB, free: 244 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.671e-05/0.3439, allocations: 5.812 kB / 0.5644 GB, free: 236 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002949/0.3442, allocations: 131.5 kB / 0.5645 GB, free: 104 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/0.3445, allocations: 215.9 kB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.067e-05/0.3445, allocations: 8 kB / 0.5647 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.3446, allocations: 51.92 kB / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.3448, allocations: 140.5 kB / 0.5649 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.345, allocations: 103.1 kB / 0.565 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000648/0.3456, allocations: 384 kB / 0.5654 GB, free: 15.22 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.3456, allocations: 0 / 0.5654 GB, free: 15.22 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3456, allocations: 0 / 0.5654 GB, free: 15.22 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.3456, allocations: 0 / 0.5654 GB, free: 15.22 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.001486/0.3471, allocations: 0.6747 MB / 0.5661 GB, free: 14.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.3472, allocations: 11.97 kB / 0.5661 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.164e-05/0.3472, allocations: 38.75 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.3473, allocations: 52.61 kB / 0.5662 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008582/0.3482, allocations: 382.6 kB / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.3482, allocations: 4.312 kB / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.3482, allocations: 8.359 kB / 0.5665 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.3484, allocations: 87.48 kB / 0.5666 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.3484, allocations: 0 / 0.5666 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.3485, allocations: 11.98 kB / 0.5666 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3485, allocations: 0 / 0.5666 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.3486, allocations: 31.92 kB / 0.5667 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004529/0.3491, allocations: 333.5 kB / 0.567 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.3494, allocations: 105.2 kB / 0.5671 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.978e-05/0.3495, allocations: 41.69 kB / 0.5671 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.3495, allocations: 7.938 kB / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002415/0.3497, allocations: 109 kB / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.3497, allocations: 0 / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005228/0.3503, allocations: 213.2 kB / 0.5674 GB, free: 12.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.3503, allocations: 77.11 kB / 0.5675 GB, free: 12.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.3517, allocations: 1.034 MB / 0.5685 GB, free: 11.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.3517, allocations: 29.7 kB / 0.5685 GB, free: 11.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.3519, allocations: 236.1 kB / 0.5688 GB, free: 11.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.585e-05/0.3519, allocations: 23.84 kB / 0.5688 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/0.352, allocations: 25.72 kB / 0.5688 GB, free: 11.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002078/0.3522, allocations: 370.8 kB / 0.5692 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.331e-05/0.3523, allocations: 31.92 kB / 0.5692 GB, free: 11.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.3524, allocations: 63.41 kB / 0.5693 GB, free: 11.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.3526, allocations: 95.36 kB / 0.5693 GB, free: 10.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3526, allocations: 0 / 0.5693 GB, free: 10.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003249/0.3529, allocations: 181.7 kB / 0.5695 GB, free: 10.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3529, allocations: 8 kB / 0.5695 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3529, allocations: 0 / 0.5695 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.353, allocations: 0 / 0.5695 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.3531, allocations: 36.05 kB / 0.5696 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.3531, allocations: 3.938 kB / 0.5696 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.3532, allocations: 23.81 kB / 0.5696 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.3532, allocations: 4 kB / 0.5696 GB, free: 10.66 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.0002402/0.3534, allocations: 214.7 kB / 0.5698 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.806e-05/0.3535, allocations: 51.61 kB / 0.5698 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004298/0.3539, allocations: 205.8 kB / 0.57 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.354, allocations: 4 kB / 0.57 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.354, allocations: 0 / 0.57 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.354, allocations: 7.984 kB / 0.5701 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003471/0.3543, allocations: 292.6 kB / 0.5703 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.3543, allocations: 3.938 kB / 0.5703 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.411e-05/0.3544, allocations: 8 kB / 0.5703 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.3544, allocations: 4 kB / 0.5703 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.3544, allocations: 7.938 kB / 0.5704 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.3544, allocations: 3.984 kB / 0.5704 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.3544, allocations: 4 kB / 0.5704 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004701/0.3549, allocations: 209.6 kB / 0.5706 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.355, allocations: 75.47 kB / 0.5706 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.419e-05/0.3551, allocations: 8 kB / 0.5706 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.788e-05/0.3552, allocations: 7.984 kB / 0.5707 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.3552, allocations: 11.98 kB / 0.5707 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.3552, allocations: 4 kB / 0.5707 GB, free: 9.477 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008981/0.3561, allocations: 0.7721 MB / 0.5714 GB, free: 8.707 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3561, allocations: 0 / 0.5714 GB, free: 8.707 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.3564, allocations: 44 kB / 0.5715 GB, free: 8.664 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.002432/0.3588, allocations: 1.087 MB / 0.5725 GB, free: 7.695 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002975/0.3591, allocations: 87.89 kB / 0.5726 GB, free: 7.609 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3591, allocations: 0 / 0.5726 GB, free: 7.609 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.3593, allocations: 43.91 kB / 0.5726 GB, free: 7.566 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005492/0.3598, allocations: 69.47 kB / 0.5727 GB, free: 7.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006355/0.3662, allocations: 4.495 MB / 0.5771 GB, free: 2.898 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.3664, allocations: 241.8 kB / 0.5773 GB, free: 2.641 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001441/0.3666, allocations: 58.94 kB / 0.5774 GB, free: 2.586 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.3668, allocations: 147.4 kB / 0.5775 GB, free: 2.445 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3668, allocations: 0 / 0.5775 GB, free: 2.445 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04063/0.4074, allocations: 9.838 MB / 0.5871 GB, free: 8.633 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.69, allocations: 10.5 kB / 0.5871 GB, free: 8.625 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.709135916084051]