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.001728/0.001728, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001413/0.001413, allocations: 213.5 kB / 24.52 MB, free: 3.91 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.419/1.419, allocations: 230.5 MB / 258.2 MB, free: 7.789 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.2256/0.2256, allocations: 46.94 MB / 361.6 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.Test75,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 75.88 kB / 0.497 GB, free: 7.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3266, allocations: 66.08 MB / 0.5615 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003498/0.3301, allocations: 1.872 MB / 0.5633 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.3321, allocations: 1.069 MB / 0.5644 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.437e-05/0.3322, allocations: 4 kB / 0.5644 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004397/0.3326, allocations: 219.4 kB / 0.5646 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004543/0.3331, allocations: 227.2 kB / 0.5648 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.3334, allocations: 115.6 kB / 0.5649 GB, free: 500 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003139/0.3337, allocations: 263.2 kB / 0.5652 GB, free: 236 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.3338, allocations: 15.8 kB / 0.5652 GB, free: 220 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.3339, allocations: 131.5 kB / 0.5653 GB, free: 88 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.3342, allocations: 171.4 kB / 0.5655 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.3342, allocations: 8 kB / 0.5655 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.3343, allocations: 63.98 kB / 0.5655 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.721e-05/0.3344, allocations: 63.69 kB / 0.5656 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.263e-05/0.3345, allocations: 67.48 kB / 0.5657 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.3348, allocations: 254.7 kB / 0.5659 GB, free: 15.47 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3348, allocations: 4 kB / 0.5659 GB, free: 15.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3348, allocations: 0 / 0.5659 GB, free: 15.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.291e-06/0.3349, allocations: 0 / 0.5659 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.0007616/0.3356, allocations: 0.4925 MB / 0.5664 GB, free: 14.94 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3357, allocations: 8.031 kB / 0.5664 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.299e-05/0.3357, allocations: 8.125 kB / 0.5664 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.797e-05/0.3357, allocations: 38.73 kB / 0.5665 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.982e-05/0.3358, allocations: 32.75 kB / 0.5665 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.3361, allocations: 234.3 kB / 0.5667 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.3361, allocations: 8.375 kB / 0.5667 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.3362, allocations: 12.36 kB / 0.5667 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.3364, allocations: 115.2 kB / 0.5668 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.3365, allocations: 4 kB / 0.5668 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.3365, allocations: 0 / 0.5668 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3365, allocations: 0 / 0.5668 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.3366, allocations: 55.89 kB / 0.5669 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005814/0.3372, allocations: 439.9 kB / 0.5673 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003884/0.3376, allocations: 129.2 kB / 0.5674 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.3377, allocations: 37.83 kB / 0.5675 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.3377, allocations: 4 kB / 0.5675 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002325/0.338, allocations: 117 kB / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.338, allocations: 0 / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001348/0.3393, allocations: 0.5285 MB / 0.5681 GB, free: 13.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.3394, allocations: 77.11 kB / 0.5682 GB, free: 12.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004911/0.3398, allocations: 456.5 kB / 0.5686 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.3399, allocations: 29.7 kB / 0.5686 GB, free: 12.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.34, allocations: 164.5 kB / 0.5688 GB, free: 12.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.065e-05/0.3401, allocations: 79.34 kB / 0.5689 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/0.3402, allocations: 45.7 kB / 0.5689 GB, free: 12.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3403, allocations: 338.8 kB / 0.5692 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.3405, allocations: 59.97 kB / 0.5693 GB, free: 11.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.3406, allocations: 92.7 kB / 0.5694 GB, free: 11.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.3409, allocations: 167.6 kB / 0.5695 GB, free: 11.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3409, allocations: 0 / 0.5695 GB, free: 11.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004227/0.3413, allocations: 237.3 kB / 0.5698 GB, free: 11.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.3413, allocations: 14.27 kB / 0.5698 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.3413, allocations: 0 / 0.5698 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3414, allocations: 7.938 kB / 0.5698 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.3415, allocations: 43.92 kB / 0.5698 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3415, allocations: 4.062 kB / 0.5698 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.062e-05/0.3416, allocations: 15.94 kB / 0.5699 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.3416, allocations: 12 kB / 0.5699 GB, free: 11.16 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.0001721/0.3418, allocations: 170.2 kB / 0.57 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.09e-05/0.3418, allocations: 35.75 kB / 0.5701 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000557/0.3424, allocations: 280.7 kB / 0.5703 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3424, allocations: 4 kB / 0.5703 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3424, allocations: 4 kB / 0.5703 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3424, allocations: 3.938 kB / 0.5703 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009877/0.3434, allocations: 0.7107 MB / 0.571 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.3434, allocations: 4 kB / 0.571 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.3435, allocations: 31.98 kB / 0.5711 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3435, allocations: 4 kB / 0.5711 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.3435, allocations: 7.984 kB / 0.5711 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3435, allocations: 3.938 kB / 0.5711 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.3435, allocations: 7.984 kB / 0.5711 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005426/0.3441, allocations: 445.9 kB / 0.5715 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/0.3441, allocations: 31.77 kB / 0.5715 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/0.3442, allocations: 8 kB / 0.5716 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.3443, allocations: 15.98 kB / 0.5716 GB, free: 9.309 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.3444, allocations: 27.84 kB / 0.5716 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.3444, allocations: 8 kB / 0.5716 GB, free: 9.273 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003581/0.3448, allocations: 339 kB / 0.5719 GB, free: 8.941 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3448, allocations: 0 / 0.5719 GB, free: 8.941 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003583/0.3451, allocations: 51.92 kB / 0.572 GB, free: 8.891 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.002807/0.3479, allocations: 1.423 MB / 0.5734 GB, free: 7.637 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003776/0.3483, allocations: 156.2 kB / 0.5735 GB, free: 7.484 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3483, allocations: 0 / 0.5735 GB, free: 7.484 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.3485, allocations: 83.84 kB / 0.5736 GB, free: 7.402 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005417/0.349, allocations: 66 kB / 0.5737 GB, free: 7.336 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003604/0.3526, allocations: 2.908 MB / 0.5765 GB, free: 4.305 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.3528, allocations: 174.1 kB / 0.5767 GB, free: 4.109 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.3529, allocations: 37.91 kB / 0.5767 GB, free: 4.074 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.3531, allocations: 95.41 kB / 0.5768 GB, free: 3.98 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3531, allocations: 4 kB / 0.5768 GB, free: 3.977 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02841/0.3815, allocations: 6.976 MB / 0.5836 GB, free: 13.05 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.36, allocations: 0 / 0.5836 GB, free: 13.05 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: 14.429737330996431]