Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.001387/0.001387, 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.001421/0.001421, allocations: 206.4 kB / 23.72 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.466/1.466, 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.2343/0.2343, allocations: 46.95 MB / 360.8 MB, free: 3.883 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.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002554/0.002554, allocations: 75.88 kB / 0.4962 GB, free: 7.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3191, allocations: 66.1 MB / 0.5608 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003505/0.3226, allocations: 1.862 MB / 0.5626 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.3246, allocations: 1.084 MB / 0.5637 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.827e-05/0.3247, allocations: 0 / 0.5637 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004714/0.3251, allocations: 251.3 kB / 0.5639 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000456/0.3256, allocations: 231.2 kB / 0.5641 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.3259, allocations: 123.6 kB / 0.5642 GB, free: 396 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004015/0.3263, allocations: 275.2 kB / 0.5645 GB, free: 120 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.3264, allocations: 23.77 kB / 0.5645 GB, free: 96 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.3266, allocations: 135.5 kB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.3268, allocations: 203.4 kB / 0.5648 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.3268, allocations: 12 kB / 0.5648 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.327, allocations: 63.98 kB / 0.5649 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.3271, allocations: 67.69 kB / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.461e-05/0.3271, allocations: 75.42 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.3275, allocations: 258.7 kB / 0.5653 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3275, allocations: 4 kB / 0.5653 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3275, allocations: 0 / 0.5653 GB, free: 15.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3275, allocations: 0 / 0.5653 GB, free: 15.29 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.0008196/0.3283, allocations: 0.5196 MB / 0.5658 GB, free: 14.74 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3284, allocations: 8.031 kB / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.529e-05/0.3284, allocations: 38.75 kB / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.094e-05/0.3285, allocations: 36.73 kB / 0.5659 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.3288, allocations: 224.9 kB / 0.5661 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.3288, allocations: 8.375 kB / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.3288, allocations: 12.31 kB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.3291, allocations: 125.3 kB / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3291, allocations: 0 / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.3291, allocations: 3.984 kB / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3291, allocations: 4 kB / 0.5662 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.3292, allocations: 47.91 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006154/0.3299, allocations: 455.8 kB / 0.5667 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004638/0.3303, allocations: 129.1 kB / 0.5668 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.3304, allocations: 41.83 kB / 0.5669 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.3304, allocations: 4 kB / 0.5669 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002319/0.3307, allocations: 121 kB / 0.567 GB, free: 13.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.3307, allocations: 0 / 0.567 GB, free: 13.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.00133/0.332, allocations: 0.5319 MB / 0.5675 GB, free: 12.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.3321, allocations: 85.11 kB / 0.5676 GB, free: 12.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005256/0.3326, allocations: 0.4938 MB / 0.5681 GB, free: 12.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.3326, allocations: 33.7 kB / 0.5681 GB, free: 12.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.3328, allocations: 176.5 kB / 0.5683 GB, free: 12.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.176e-05/0.3328, allocations: 67.44 kB / 0.5684 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.419e-05/0.3329, allocations: 41.7 kB / 0.5684 GB, free: 11.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.3331, allocations: 350.8 kB / 0.5687 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/0.3333, allocations: 59.97 kB / 0.5688 GB, free: 11.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.3335, allocations: 95.33 kB / 0.5689 GB, free: 11.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.3338, allocations: 167.3 kB / 0.569 GB, free: 11.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3338, allocations: 0 / 0.569 GB, free: 11.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004223/0.3342, allocations: 245.4 kB / 0.5693 GB, free: 10.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3342, allocations: 4 kB / 0.5693 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/0.3342, allocations: 7.938 kB / 0.5693 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.3342, allocations: 3.984 kB / 0.5693 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.3344, allocations: 43.98 kB / 0.5693 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3344, allocations: 4 kB / 0.5693 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.511e-05/0.3345, allocations: 11.94 kB / 0.5693 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.3345, allocations: 15.98 kB / 0.5694 GB, free: 10.87 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.0001761/0.3347, allocations: 169.8 kB / 0.5695 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.3347, allocations: 35.77 kB / 0.5696 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005469/0.3353, allocations: 285.3 kB / 0.5698 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.3353, allocations: 4 kB / 0.5698 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3353, allocations: 7.938 kB / 0.5698 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3353, allocations: 4 kB / 0.5698 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.3364, allocations: 0.7224 MB / 0.5705 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3364, allocations: 4 kB / 0.5706 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.52e-05/0.3365, allocations: 31.92 kB / 0.5706 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.3365, allocations: 4 kB / 0.5706 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.3365, allocations: 8 kB / 0.5706 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.3365, allocations: 0 / 0.5706 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3365, allocations: 4 kB / 0.5706 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005296/0.3371, allocations: 449.8 kB / 0.571 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.3371, allocations: 35.8 kB / 0.5711 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.3372, allocations: 8 kB / 0.5711 GB, free: 9.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.3373, allocations: 8 kB / 0.5711 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.3374, allocations: 19.91 kB / 0.5711 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.3374, allocations: 15.98 kB / 0.5711 GB, free: 8.965 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004275/0.3378, allocations: 379.1 kB / 0.5715 GB, free: 8.594 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3378, allocations: 0 / 0.5715 GB, free: 8.594 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003529/0.3382, allocations: 55.92 kB / 0.5715 GB, free: 8.539 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 (24): * Single equations (assignments): 20 * 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.002849/0.341, allocations: 1.416 MB / 0.5729 GB, free: 7.285 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003588/0.3414, allocations: 156.2 kB / 0.5731 GB, free: 7.133 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3414, allocations: 4 kB / 0.5731 GB, free: 7.129 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.3415, allocations: 76.22 kB / 0.5731 GB, free: 7.055 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005774/0.3421, allocations: 69.69 kB / 0.5732 GB, free: 6.988 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003713/0.3458, allocations: 3.025 MB / 0.5762 GB, free: 3.836 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.346, allocations: 182.4 kB / 0.5763 GB, free: 3.637 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.3461, allocations: 45.91 kB / 0.5764 GB, free: 3.594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/0.3463, allocations: 107.4 kB / 0.5765 GB, free: 3.488 MB / 414.1 MB Notification: Performance of SimCode: time 1.563e-06/0.3463, allocations: 0 / 0.5765 GB, free: 3.488 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03367/0.38, allocations: 7.498 MB / 0.5838 GB, free: 12.04 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.54, allocations: 0 / 0.5838 GB, free: 12.04 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.550392689183354]