Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.001549/0.001549, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001747/0.001747, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.376/1.376, allocations: 230.5 MB / 258.2 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.2141/0.2141, allocations: 46.93 MB / 361.6 MB, free: 4.215 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.Test74,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 75.88 kB / 0.497 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3477, allocations: 66.08 MB / 0.5616 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003571/0.3513, allocations: 1.94 MB / 0.5635 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002263/0.3535, allocations: 1.16 MB / 0.5646 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.3536, allocations: 3.938 kB / 0.5646 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005642/0.3542, allocations: 251.3 kB / 0.5648 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005464/0.3547, allocations: 239.1 kB / 0.5651 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.3551, allocations: 119.6 kB / 0.5652 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.3554, allocations: 267.3 kB / 0.5654 GB, free: 328 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.3556, allocations: 31.77 kB / 0.5655 GB, free: 296 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.3557, allocations: 135.5 kB / 0.5656 GB, free: 160 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000297/0.356, allocations: 215.4 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.3561, allocations: 8 kB / 0.5658 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.3562, allocations: 59.98 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.833e-05/0.3563, allocations: 71.69 kB / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.928e-05/0.3564, allocations: 99.17 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003466/0.3568, allocations: 250.8 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.3568, allocations: 4 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3568, allocations: 0 / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.3568, allocations: 0 / 0.5663 GB, free: 15.46 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.0007916/0.3576, allocations: 0.5234 MB / 0.5668 GB, free: 14.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.3576, allocations: 8.031 kB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.7e-05/0.3576, allocations: 4.188 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.238e-05/0.3577, allocations: 38.73 kB / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.867e-05/0.3577, allocations: 36.75 kB / 0.5669 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004986/0.3582, allocations: 236.9 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.3583, allocations: 8.375 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.3583, allocations: 4.375 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002888/0.3586, allocations: 119.2 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.3586, allocations: 0 / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.3586, allocations: 4 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.3586, allocations: 4 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.3587, allocations: 43.97 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006412/0.3594, allocations: 455.8 kB / 0.5677 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003906/0.3598, allocations: 117.2 kB / 0.5678 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.3599, allocations: 45.81 kB / 0.5679 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.3599, allocations: 4 kB / 0.5679 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002889/0.3602, allocations: 125.1 kB / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.3602, allocations: 4 kB / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001364/0.3616, allocations: 0.5168 MB / 0.5685 GB, free: 13.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/0.3616, allocations: 77.11 kB / 0.5686 GB, free: 12.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005518/0.3622, allocations: 0.4899 MB / 0.569 GB, free: 12.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.326e-05/0.3622, allocations: 33.7 kB / 0.5691 GB, free: 12.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.3624, allocations: 164.5 kB / 0.5692 GB, free: 12.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.867e-05/0.3625, allocations: 79.42 kB / 0.5693 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.728e-05/0.3625, allocations: 41.7 kB / 0.5693 GB, free: 12.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.3627, allocations: 346.8 kB / 0.5697 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.3629, allocations: 55.98 kB / 0.5697 GB, free: 11.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.363, allocations: 92.7 kB / 0.5698 GB, free: 11.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.3633, allocations: 167.5 kB / 0.57 GB, free: 11.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3633, allocations: 0 / 0.57 GB, free: 11.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004054/0.3637, allocations: 241.2 kB / 0.5702 GB, free: 11.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3637, allocations: 10.12 kB / 0.5702 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3637, allocations: 4 kB / 0.5702 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3637, allocations: 0 / 0.5702 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.3639, allocations: 47.98 kB / 0.5703 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.3639, allocations: 0 / 0.5703 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.244e-05/0.364, allocations: 11.98 kB / 0.5703 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.364, allocations: 12 kB / 0.5703 GB, free: 11.08 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.0001697/0.3642, allocations: 178.2 kB / 0.5705 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-05/0.3642, allocations: 39.7 kB / 0.5705 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005237/0.3647, allocations: 268.4 kB / 0.5708 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3647, allocations: 8 kB / 0.5708 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3647, allocations: 0 / 0.5708 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3647, allocations: 0 / 0.5708 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009673/0.3657, allocations: 0.7106 MB / 0.5715 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3657, allocations: 0 / 0.5715 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.362e-05/0.3658, allocations: 40.05 kB / 0.5715 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3658, allocations: 4 kB / 0.5715 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.3658, allocations: 4.188 kB / 0.5715 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.79e-06/0.3658, allocations: 4 kB / 0.5715 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3658, allocations: 4.172 kB / 0.5715 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005303/0.3664, allocations: 433.8 kB / 0.5719 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/0.3664, allocations: 27.81 kB / 0.572 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/0.3664, allocations: 11.94 kB / 0.572 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.3666, allocations: 7.984 kB / 0.572 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.843e-05/0.3666, allocations: 23.91 kB / 0.572 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/0.3667, allocations: 16 kB / 0.572 GB, free: 9.215 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003786/0.3671, allocations: 371.1 kB / 0.5724 GB, free: 8.855 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3671, allocations: 3.938 kB / 0.5724 GB, free: 8.852 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003506/0.3674, allocations: 51.92 kB / 0.5724 GB, free: 8.801 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.002583/0.37, allocations: 1.356 MB / 0.5737 GB, free: 7.594 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003503/0.3703, allocations: 155.7 kB / 0.5739 GB, free: 7.441 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3703, allocations: 128 / 0.5739 GB, free: 7.441 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.3705, allocations: 75.84 kB / 0.574 GB, free: 7.367 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000574/0.3711, allocations: 70.91 kB / 0.574 GB, free: 7.309 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.3747, allocations: 2.999 MB / 0.577 GB, free: 4.184 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.3751, allocations: 0.7869 MB / 0.5777 GB, free: 3.371 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.3752, allocations: 37.91 kB / 0.5778 GB, free: 3.336 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.3754, allocations: 107.4 kB / 0.5779 GB, free: 3.23 MB / 414.1 MB Notification: Performance of SimCode: time 5.82e-07/0.3754, allocations: 4 kB / 0.5779 GB, free: 3.227 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/0.4018, allocations: 6.936 MB / 0.5846 GB, free: 12.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.28, allocations: 9.438 kB / 0.5847 GB, free: 12.33 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.245154427015223]