Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.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.00124/0.00124, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.002155/0.002155, allocations: 207.5 kB / 24.53 MB, free: 4.07 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.39/1.39, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2266/0.2266, allocations: 46.92 MB / 361.6 MB, free: 4.176 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.Test83,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 76.11 kB / 0.497 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3244, allocations: 66.08 MB / 0.5615 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003258/0.3276, allocations: 1.998 MB / 0.5635 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.3297, allocations: 1.213 MB / 0.5647 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.945e-05/0.3298, allocations: 7.938 kB / 0.5647 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006551/0.3304, allocations: 203.3 kB / 0.5649 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005022/0.3309, allocations: 207.3 kB / 0.5651 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000385/0.3313, allocations: 166.4 kB / 0.5652 GB, free: 480 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003256/0.3316, allocations: 271.2 kB / 0.5655 GB, free: 208 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.3317, allocations: 16.59 kB / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.3319, allocations: 115.5 kB / 0.5656 GB, free: 72 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.3321, allocations: 119.6 kB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.3321, allocations: 15.94 kB / 0.5658 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.3323, allocations: 63.95 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.436e-05/0.3323, allocations: 59.77 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.3324, allocations: 83.36 kB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003373/0.3328, allocations: 252.9 kB / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3328, allocations: 0 / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3328, allocations: 0 / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.3328, allocations: 0 / 0.5662 GB, free: 15.49 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008248/0.3336, allocations: 0.4906 MB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.3336, allocations: 8.031 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.355e-05/0.3337, allocations: 12.12 kB / 0.5667 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.575e-05/0.3337, allocations: 38.75 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.707e-05/0.3338, allocations: 24.8 kB / 0.5668 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.3341, allocations: 234.5 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.3341, allocations: 384 / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.3341, allocations: 8.375 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.3344, allocations: 112.1 kB / 0.5671 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3344, allocations: 3.938 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.3344, allocations: 0 / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.3344, allocations: 4 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.3345, allocations: 39.97 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005002/0.335, allocations: 348.6 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.3353, allocations: 117.3 kB / 0.5676 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.3354, allocations: 37.7 kB / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.3354, allocations: 7.938 kB / 0.5676 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002154/0.3357, allocations: 113.1 kB / 0.5677 GB, free: 13.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.3357, allocations: 0 / 0.5677 GB, free: 13.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000462/0.3361, allocations: 185.4 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.294e-05/0.3362, allocations: 102.8 kB / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003892/0.3366, allocations: 356.5 kB / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.3366, allocations: 37.7 kB / 0.5684 GB, free: 13.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.3367, allocations: 140.1 kB / 0.5685 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.3368, allocations: 27.75 kB / 0.5685 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.562e-05/0.3368, allocations: 33.7 kB / 0.5686 GB, free: 12.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.337, allocations: 338.8 kB / 0.5689 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.505e-05/0.3371, allocations: 35.98 kB / 0.5689 GB, free: 12.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.3372, allocations: 83.31 kB / 0.569 GB, free: 12.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.3374, allocations: 95.86 kB / 0.5691 GB, free: 12.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3374, allocations: 0 / 0.5691 GB, free: 12.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002849/0.3377, allocations: 149.5 kB / 0.5692 GB, free: 12.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3377, allocations: 8 kB / 0.5693 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3377, allocations: 0 / 0.5693 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3377, allocations: 0 / 0.5693 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.3379, allocations: 23.98 kB / 0.5693 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3379, allocations: 3.938 kB / 0.5693 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.601e-05/0.3379, allocations: 19.89 kB / 0.5693 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.338, allocations: 7.938 kB / 0.5693 GB, free: 12.03 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001469/0.3381, allocations: 155.1 kB / 0.5695 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.3382, allocations: 35.8 kB / 0.5695 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003443/0.3385, allocations: 159.4 kB / 0.5696 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3385, allocations: 4 kB / 0.5696 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3385, allocations: 0 / 0.5696 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3385, allocations: 0 / 0.5696 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.3387, allocations: 232.6 kB / 0.5699 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3387, allocations: 0 / 0.5699 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.304e-05/0.3388, allocations: 8 kB / 0.5699 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3388, allocations: 256 / 0.5699 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.3388, allocations: 12 kB / 0.5699 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/0.3388, allocations: 7.938 kB / 0.5699 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3388, allocations: 0 / 0.5699 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.3391, allocations: 185.7 kB / 0.5701 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.3392, allocations: 19.8 kB / 0.5701 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.136e-05/0.3392, allocations: 8 kB / 0.5701 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.377e-05/0.3393, allocations: 15.92 kB / 0.5701 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.3393, allocations: 11.98 kB / 0.5701 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.3393, allocations: 4 kB / 0.5701 GB, free: 11.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002959/0.3396, allocations: 267 kB / 0.5704 GB, free: 10.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3396, allocations: 0 / 0.5704 GB, free: 10.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.3399, allocations: 32 kB / 0.5704 GB, free: 10.81 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.002226/0.3421, allocations: 1.035 MB / 0.5714 GB, free: 9.883 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003018/0.3424, allocations: 83.91 kB / 0.5715 GB, free: 9.801 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3424, allocations: 0 / 0.5715 GB, free: 9.801 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.3426, allocations: 47.91 kB / 0.5716 GB, free: 9.754 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.343, allocations: 67.45 kB / 0.5716 GB, free: 9.691 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/0.3462, allocations: 2.343 MB / 0.5739 GB, free: 7.234 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.3466, allocations: 0.7479 MB / 0.5746 GB, free: 6.461 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.3467, allocations: 42.41 kB / 0.5747 GB, free: 6.422 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.3468, allocations: 71.41 kB / 0.5747 GB, free: 6.355 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3468, allocations: 4 kB / 0.5747 GB, free: 6.352 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02726/0.3741, allocations: 6.013 MB / 0.5806 GB, free: 400 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.1, allocations: 8 kB / 0.5806 GB, free: 392 kB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.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.098248801019508]