Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.001717/0.001717, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001841/0.001841, allocations: 215.5 kB / 23.73 MB, free: 4.406 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.422/1.422, allocations: 230.5 MB / 257.4 MB, free: 7.785 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.2283/0.2283, allocations: 46.95 MB / 360.8 MB, free: 3.934 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.Test53,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 75.88 kB / 0.4962 GB, free: 7.488 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3084, allocations: 66.09 MB / 0.5608 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003299/0.3117, allocations: 1.702 MB / 0.5624 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.3134, allocations: 0.9787 MB / 0.5634 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.951e-05/0.3135, allocations: 4 kB / 0.5634 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.3137, allocations: 43.77 kB / 0.5634 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003223/0.3141, allocations: 99.59 kB / 0.5635 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.3143, allocations: 83.66 kB / 0.5636 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.3144, allocations: 111.6 kB / 0.5637 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.879e-05/0.3145, allocations: 5.828 kB / 0.5637 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.212e-05/0.3146, allocations: 43.78 kB / 0.5638 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.093e-05/0.3147, allocations: 35.78 kB / 0.5638 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.3147, allocations: 4 kB / 0.5638 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.3148, allocations: 39.98 kB / 0.5638 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.525e-05/0.3149, allocations: 31.91 kB / 0.5639 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.145e-05/0.3149, allocations: 27.75 kB / 0.5639 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.3152, allocations: 135.4 kB / 0.564 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3152, allocations: 0 / 0.564 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3152, allocations: 0 / 0.564 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.3152, allocations: 0 / 0.564 GB, free: 0.6445 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005302/0.3157, allocations: 365.3 kB / 0.5644 GB, free: 264 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3157, allocations: 8.031 kB / 0.5644 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.3158, allocations: 34.75 kB / 0.5644 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.3158, allocations: 12.88 kB / 0.5644 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.3161, allocations: 163.1 kB / 0.5646 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.3161, allocations: 4.375 kB / 0.5646 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.3161, allocations: 384 / 0.5646 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.3163, allocations: 65.81 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3163, allocations: 0 / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.3163, allocations: 0 / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.3163, allocations: 0 / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.205e-05/0.3164, allocations: 19.98 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.3168, allocations: 271.9 kB / 0.5649 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.317, allocations: 58.61 kB / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.616e-05/0.317, allocations: 28.84 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.317, allocations: 0 / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.3172, allocations: 71.33 kB / 0.5651 GB, free: 15.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.3172, allocations: 0 / 0.5651 GB, free: 15.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005313/0.3177, allocations: 189.2 kB / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.3178, allocations: 51.41 kB / 0.5653 GB, free: 15.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.318, allocations: 243 kB / 0.5655 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.318, allocations: 29.7 kB / 0.5656 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.875e-05/0.3181, allocations: 120.1 kB / 0.5657 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.3181, allocations: 19.86 kB / 0.5657 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.774e-05/0.3182, allocations: 25.7 kB / 0.5657 GB, free: 14.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3183, allocations: 334.7 kB / 0.566 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.222e-05/0.3184, allocations: 19.98 kB / 0.5661 GB, free: 14.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.285e-05/0.3185, allocations: 41.64 kB / 0.5661 GB, free: 14.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.3186, allocations: 57.7 kB / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3186, allocations: 0 / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002006/0.3188, allocations: 109.5 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3188, allocations: 16.02 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.3188, allocations: 0 / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.3188, allocations: 0 / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.837e-05/0.3189, allocations: 16 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.3189, allocations: 0 / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.653e-05/0.319, allocations: 3.938 kB / 0.5663 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.319, allocations: 7.984 kB / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001154/0.3191, allocations: 133.7 kB / 0.5664 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.3191, allocations: 15.91 kB / 0.5664 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.3194, allocations: 127.1 kB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3194, allocations: 4 kB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3194, allocations: 0 / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3194, allocations: 0 / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004986/0.3199, allocations: 378.3 kB / 0.5669 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.3199, allocations: 4 kB / 0.5669 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.15e-05/0.3199, allocations: 12.64 kB / 0.5669 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3199, allocations: 0 / 0.5669 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.32, allocations: 12 kB / 0.567 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.32, allocations: 7.875 kB / 0.567 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.32, allocations: 4.031 kB / 0.567 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.3202, allocations: 212.2 kB / 0.5672 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.074e-05/0.3203, allocations: 15.89 kB / 0.5672 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.3203, allocations: 4 kB / 0.5672 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.298e-05/0.3204, allocations: 7.938 kB / 0.5672 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.3204, allocations: 7.984 kB / 0.5672 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.3204, allocations: 4 kB / 0.5672 GB, free: 13.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001664/0.3206, allocations: 179.2 kB / 0.5674 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3206, allocations: 0 / 0.5674 GB, free: 12.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.3208, allocations: 20 kB / 0.5674 GB, free: 12.88 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002304/0.3231, allocations: 1.122 MB / 0.5685 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.3233, allocations: 67.84 kB / 0.5686 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3233, allocations: 4.062 kB / 0.5686 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.675e-05/0.3234, allocations: 27.92 kB / 0.5686 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.3238, allocations: 37.34 kB / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.3258, allocations: 1.755 MB / 0.5703 GB, free: 9.922 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.3259, allocations: 100.7 kB / 0.5704 GB, free: 9.805 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.662e-05/0.3259, allocations: 17.34 kB / 0.5704 GB, free: 9.789 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.479e-05/0.326, allocations: 43.36 kB / 0.5705 GB, free: 9.746 MB / 414.1 MB Notification: Performance of SimCode: time 6.22e-07/0.326, allocations: 0 / 0.5705 GB, free: 9.746 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02983/0.3558, allocations: 4.308 MB / 0.5747 GB, free: 5.465 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.25, allocations: 7.938 kB / 0.5747 GB, free: 5.457 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.15490950178355]