Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.001803/0.001803, allocations: 103.5 kB / 20.97 MB, free: 3.453 MB / 18.57 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.001923/0.001923, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 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.589/1.589, allocations: 177 MB / 204.5 MB, free: 5.629 MB / 186.7 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.4137/0.4137, allocations: 34.25 MB / 295.2 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 377.3 MB, free: 2.828 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.615e-05/3.844e-05, allocations: 6.25 kB / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.004198/0.004237, allocations: 1.749 MB / 379.1 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.006536, allocations: 1.005 MB / 380.1 MB, free: 48 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.051e-05/0.006627, allocations: 0 / 380.1 MB, free: 48 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004541/0.007081, allocations: 91.58 kB / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004426/0.007524, allocations: 127.4 kB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.007777, allocations: 79.61 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.008046, allocations: 127.5 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.00816, allocations: 11.98 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.008334, allocations: 67.81 kB / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.008487, allocations: 67.84 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.008516, allocations: 8 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.008669, allocations: 59.91 kB / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.509e-05/0.008754, allocations: 31.86 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.866e-05/0.008813, allocations: 15.94 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003335/0.009146, allocations: 143.5 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.009151, allocations: 0 / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.009153, allocations: 0 / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.009161, allocations: 0 / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008634/0.01002, allocations: 475.3 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.01007, allocations: 8.031 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.908e-05/0.01015, allocations: 24.83 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.01046, allocations: 173 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.01048, allocations: 384 / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.513e-05/0.01051, allocations: 8.359 kB / 381.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.01068, allocations: 58.23 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.01069, allocations: 192 / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.01071, allocations: 384 / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.01071, allocations: 3.938 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.857e-05/0.0108, allocations: 19.98 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005434/0.01135, allocations: 319.6 kB / 381.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.01163, allocations: 71.03 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.586e-05/0.0117, allocations: 19.81 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.01172, allocations: 4 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/0.01191, allocations: 81.05 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.01192, allocations: 3.938 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009708/0.01289, allocations: 253.6 kB / 382.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/0.01295, allocations: 55.41 kB / 382.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.01328, allocations: 275.1 kB / 382.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.01332, allocations: 37.7 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.01349, allocations: 162.9 kB / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.944e-05/0.01355, allocations: 35.7 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.767e-05/0.01362, allocations: 35.36 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005902/0.01421, allocations: 0.504 MB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.758e-05/0.01429, allocations: 31.98 kB / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.01439, allocations: 55.36 kB / 383.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.01457, allocations: 91.23 kB / 383.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.01457, allocations: 0 / 383.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002685/0.01484, allocations: 129.5 kB / 383.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.01486, allocations: 12.03 kB / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.01486, allocations: 0 / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.01488, allocations: 0 / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.77e-05/0.01498, allocations: 27.98 kB / 383.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.01498, allocations: 4 kB / 383.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.01503, allocations: 0 / 383.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.01504, allocations: 4 kB / 383.8 MB, free: 12.07 MB / 362.7 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 (13): * Single equations (assignments): 13 * 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.0001643/0.01521, allocations: 176.5 kB / 384 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.01524, allocations: 15.91 kB / 384 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003317/0.01558, allocations: 147 kB / 384.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.01558, allocations: 8 kB / 384.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.01558, allocations: 0 / 384.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.01559, allocations: 0 / 384.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006874/0.01628, allocations: 480.5 kB / 384.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.01628, allocations: 4 kB / 384.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.338e-05/0.01633, allocations: 12 kB / 384.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01634, allocations: 0 / 384.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.01635, allocations: 8 kB / 384.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.01636, allocations: 0 / 384.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.01636, allocations: 8.047 kB / 384.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003995/0.01676, allocations: 311.3 kB / 385 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.631e-05/0.01679, allocations: 11.91 kB / 385 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.01681, allocations: 4 kB / 385 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.522e-05/0.01689, allocations: 7.984 kB / 385 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.479e-05/0.01694, allocations: 11.92 kB / 385 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.01696, allocations: 4 kB / 385 MB, free: 10.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001857/0.01715, allocations: 195.1 kB / 385.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01715, allocations: 0 / 385.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002813/0.01743, allocations: 27.94 kB / 385.2 MB, free: 10.58 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.003922/0.02135, allocations: 0.5525 MB / 385.8 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003086/0.02166, allocations: 83.59 kB / 385.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.02166, allocations: 0 / 385.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.02177, allocations: 51.61 kB / 385.9 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.02218, allocations: 31.97 kB / 385.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007156/0.0229, allocations: 285.3 kB / 386.2 MB, free: 9.734 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.02304, allocations: 105.9 kB / 386.3 MB, free: 9.609 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.484e-05/0.0231, allocations: 20.62 kB / 386.3 MB, free: 9.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.451e-05/0.02316, allocations: 20.5 kB / 386.3 MB, free: 9.57 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02316, allocations: 0 / 386.3 MB, free: 9.57 MB / 362.7 MB Notification: Performance of Templates: time 0.006695/0.02985, allocations: 2.108 MB / 388.5 MB, free: 7.484 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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: 5.177957203006372]