Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.001219/0.001219, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001206/0.001206, allocations: 171.9 kB / 24.82 MB, free: 9.273 MB / 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 0.9717/0.9717, allocations: 177 MB / 205.1 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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.2528/0.2528, allocations: 34.87 MB / 296.6 MB, free: 0.5156 MB / 266.7 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 379.3 MB, free: 1.762 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.361e-05, allocations: 6.25 kB / 379.3 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.005657/0.005681, allocations: 1.838 MB / 381.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005116/0.0108, allocations: 1.804 MB / 382.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.894e-05/0.01088, allocations: 0 / 382.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.01113, allocations: 51.64 kB / 383 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003482/0.01147, allocations: 147.2 kB / 383.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001727/0.01165, allocations: 107.6 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.01187, allocations: 215.2 kB / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.18e-05/0.01191, allocations: 5.812 kB / 383.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.01205, allocations: 107.7 kB / 383.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.01218, allocations: 67.73 kB / 383.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.0122, allocations: 12 kB / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.01237, allocations: 107.8 kB / 383.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.528e-05/0.01242, allocations: 43.83 kB / 383.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.422e-05/0.01247, allocations: 35.84 kB / 383.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.01284, allocations: 199.2 kB / 384 MB, free: 13.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.01284, allocations: 3.984 kB / 384 MB, free: 13 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01284, allocations: 0 / 384 MB, free: 13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.01285, allocations: 0 / 384 MB, free: 13 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.003515/0.01636, allocations: 0.5148 MB / 384.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.0164, allocations: 12.03 kB / 384.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.01644, allocations: 24.8 kB / 384.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.01667, allocations: 188.3 kB / 384.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.01669, allocations: 4.312 kB / 384.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.0167, allocations: 8.375 kB / 384.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.0169, allocations: 165 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.01691, allocations: 192 / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.01692, allocations: 384 / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.01692, allocations: 7.938 kB / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.663e-05/0.01696, allocations: 15.92 kB / 385 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.01711, allocations: 140.9 kB / 385.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.01724, allocations: 90.2 kB / 385.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.594e-05/0.01727, allocations: 31.3 kB / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.01729, allocations: 7.984 kB / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001308/0.01742, allocations: 116.3 kB / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.01742, allocations: 0 / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002381/0.01766, allocations: 137.9 kB / 385.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.01771, allocations: 136.5 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.0179, allocations: 274.6 kB / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.01792, allocations: 33.7 kB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.925e-05/0.01799, allocations: 166.8 kB / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.01803, allocations: 31.72 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.01807, allocations: 31.36 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.0182, allocations: 0.5079 MB / 386.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.638e-05/0.01823, allocations: 8 kB / 386.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.668e-05/0.01831, allocations: 131.9 kB / 386.8 MB, free: 9.945 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.419e-05/0.01838, allocations: 66.72 kB / 386.8 MB, free: 9.863 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01838, allocations: 0 / 386.8 MB, free: 9.863 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001489/0.01853, allocations: 113.5 kB / 386.9 MB, free: 9.746 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.01855, allocations: 8 kB / 387 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01855, allocations: 0 / 387 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.01856, allocations: 0 / 387 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.119e-05/0.01864, allocations: 31.92 kB / 387 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.01865, allocations: 3.938 kB / 387 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.325e-05/0.0187, allocations: 8.062 kB / 387 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.01871, allocations: 4 kB / 387 MB, free: 9.691 MB / 362.7 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 8.869e-05/0.0188, allocations: 168.6 kB / 387.2 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.01883, allocations: 31.8 kB / 387.2 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003273/0.0221, allocations: 127 kB / 387.3 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.02211, allocations: 4 kB / 387.3 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.02211, allocations: 0 / 387.3 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.02211, allocations: 3.938 kB / 387.3 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.02224, allocations: 145.1 kB / 387.5 MB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.02224, allocations: 4 kB / 387.5 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.352e-05/0.02227, allocations: 11.94 kB / 387.5 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.02228, allocations: 0 / 387.5 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.02228, allocations: 8 kB / 387.5 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.02229, allocations: 3.984 kB / 387.5 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.02229, allocations: 0 / 387.5 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.02246, allocations: 175.8 kB / 387.7 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.02248, allocations: 15.89 kB / 387.7 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.02251, allocations: 8 kB / 387.7 MB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.521e-05/0.02255, allocations: 7.984 kB / 387.7 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.946e-05/0.02258, allocations: 19.92 kB / 387.7 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.0226, allocations: 4 kB / 387.7 MB, free: 8.902 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001024/0.0227, allocations: 189.7 kB / 387.9 MB, free: 8.719 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0227, allocations: 0 / 387.9 MB, free: 8.719 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002545/0.02295, allocations: 59.8 kB / 388 MB, free: 8.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.001078/0.02403, allocations: 0.4904 MB / 388.5 MB, free: 8.309 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00012/0.02415, allocations: 63.58 kB / 388.5 MB, free: 8.242 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.02415, allocations: 0 / 388.5 MB, free: 8.242 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.802e-05/0.0242, allocations: 35.61 kB / 388.6 MB, free: 8.203 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.02447, allocations: 64.14 kB / 388.6 MB, free: 8.145 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.02483, allocations: 274.3 kB / 388.9 MB, free: 7.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.374e-05/0.02488, allocations: 80.11 kB / 389 MB, free: 7.742 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.702e-05/0.02494, allocations: 33.95 kB / 389 MB, free: 7.711 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003144/0.02809, allocations: 126.1 kB / 389.1 MB, free: 7.586 MB / 362.7 MB Notification: Performance of SimCode: time 6.82e-07/0.02809, allocations: 0 / 389.1 MB, free: 7.586 MB / 362.7 MB Notification: Performance of Templates: time 0.01192/0.04001, allocations: 3.763 MB / 392.9 MB, free: 3.887 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0486346650868654]