Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.00183/0.00183, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.002312/0.002312, allocations: 215.1 kB / 23.75 MB, free: 4.672 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.505/1.505, allocations: 230.5 MB / 257.4 MB, free: 8.023 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.2518/0.2518, allocations: 46.93 MB / 360.8 MB, free: 4.273 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.Test75,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002444/0.002444, allocations: 75.88 kB / 0.4963 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3392, allocations: 66.08 MB / 0.5608 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003719/0.3429, allocations: 1.94 MB / 0.5627 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.3451, allocations: 1.158 MB / 0.5638 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.3452, allocations: 3.938 kB / 0.5638 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004903/0.3457, allocations: 223.4 kB / 0.564 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005039/0.3462, allocations: 219.2 kB / 0.5643 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.3465, allocations: 123.6 kB / 0.5644 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004088/0.3469, allocations: 255.3 kB / 0.5646 GB, free: 344 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.347, allocations: 23.78 kB / 0.5646 GB, free: 320 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002342/0.3473, allocations: 123.5 kB / 0.5648 GB, free: 196 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.3475, allocations: 175.4 kB / 0.5649 GB, free: 20 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.3476, allocations: 8 kB / 0.5649 GB, free: 12 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.3477, allocations: 59.98 kB / 0.565 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.3478, allocations: 71.69 kB / 0.5651 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.3479, allocations: 87.3 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003637/0.3483, allocations: 246.8 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3483, allocations: 4 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3483, allocations: 0 / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.3483, allocations: 0 / 0.5654 GB, free: 15.55 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008222/0.3491, allocations: 0.5002 MB / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.3492, allocations: 12.03 kB / 0.5659 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.027e-05/0.3492, allocations: 42.73 kB / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.502e-05/0.3493, allocations: 32.75 kB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.3497, allocations: 230.4 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.3497, allocations: 12.38 kB / 0.5662 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.3498, allocations: 4.375 kB / 0.5662 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.35, allocations: 117.7 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.35, allocations: 0 / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.35, allocations: 4 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.35, allocations: 0 / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.3502, allocations: 51.89 kB / 0.5664 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006223/0.3508, allocations: 447.9 kB / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003823/0.3512, allocations: 113.2 kB / 0.5669 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.3513, allocations: 41.83 kB / 0.5669 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.3513, allocations: 7.984 kB / 0.5669 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002485/0.3516, allocations: 120.4 kB / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.3516, allocations: 0 / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001352/0.3529, allocations: 0.509 MB / 0.5675 GB, free: 13.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/0.353, allocations: 85.09 kB / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005137/0.3535, allocations: 440.5 kB / 0.568 GB, free: 12.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.3535, allocations: 33.7 kB / 0.5681 GB, free: 12.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.3537, allocations: 156.5 kB / 0.5682 GB, free: 12.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.202e-05/0.3538, allocations: 75.42 kB / 0.5683 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.897e-05/0.3538, allocations: 41.7 kB / 0.5683 GB, free: 12.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.354, allocations: 346.8 kB / 0.5687 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.3542, allocations: 55.98 kB / 0.5687 GB, free: 11.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.3543, allocations: 96.64 kB / 0.5688 GB, free: 11.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.3547, allocations: 159.5 kB / 0.569 GB, free: 11.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3547, allocations: 0 / 0.569 GB, free: 11.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004369/0.3551, allocations: 237.3 kB / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3551, allocations: 4 kB / 0.5692 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.3551, allocations: 7.938 kB / 0.5692 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3551, allocations: 4 kB / 0.5692 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.3553, allocations: 47.92 kB / 0.5693 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3553, allocations: 0 / 0.5693 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.3554, allocations: 20 kB / 0.5693 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.3554, allocations: 8 kB / 0.5693 GB, free: 11.3 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001785/0.3556, allocations: 170.2 kB / 0.5694 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.3556, allocations: 27.81 kB / 0.5695 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005264/0.3562, allocations: 268.5 kB / 0.5697 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.3562, allocations: 4 kB / 0.5697 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.3562, allocations: 3.984 kB / 0.5697 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3562, allocations: 0 / 0.5697 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.3572, allocations: 0.7145 MB / 0.5704 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.3572, allocations: 4 kB / 0.5704 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.725e-05/0.3573, allocations: 27.92 kB / 0.5705 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.3573, allocations: 4 kB / 0.5705 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.3573, allocations: 12.31 kB / 0.5705 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.3573, allocations: 4 kB / 0.5705 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3573, allocations: 3.938 kB / 0.5705 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005257/0.3579, allocations: 429.8 kB / 0.5709 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.687e-05/0.3579, allocations: 27.77 kB / 0.5709 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.358, allocations: 8 kB / 0.5709 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.3581, allocations: 11.98 kB / 0.5709 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.3582, allocations: 27.78 kB / 0.571 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.3582, allocations: 12 kB / 0.571 GB, free: 9.449 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003902/0.3586, allocations: 331 kB / 0.5713 GB, free: 9.125 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3586, allocations: 4 kB / 0.5713 GB, free: 9.121 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003757/0.3589, allocations: 55.92 kB / 0.5714 GB, free: 9.066 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002771/0.3617, allocations: 1.343 MB / 0.5727 GB, free: 7.871 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003885/0.3621, allocations: 159.7 kB / 0.5728 GB, free: 7.715 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3621, allocations: 0 / 0.5728 GB, free: 7.715 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.3623, allocations: 68.22 kB / 0.5729 GB, free: 7.648 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005557/0.3628, allocations: 75.88 kB / 0.573 GB, free: 7.578 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004186/0.367, allocations: 2.877 MB / 0.5758 GB, free: 4.578 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.3675, allocations: 0.778 MB / 0.5765 GB, free: 3.777 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001141/0.3676, allocations: 37.94 kB / 0.5766 GB, free: 3.738 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.3678, allocations: 99.39 kB / 0.5767 GB, free: 3.641 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3678, allocations: 0 / 0.5767 GB, free: 3.641 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03663/0.4044, allocations: 6.681 MB / 0.5832 GB, free: 13 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.9, allocations: 8.375 kB / 0.5832 GB, free: 13 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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: 15.041724300011992]