Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.002142/0.002142, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002522/0.002522, allocations: 156.9 kB / 24.27 MB, free: 172 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.517/1.517, allocations: 177 MB / 204.5 MB, free: 5.625 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.3543/0.3543, allocations: 34.25 MB / 295.2 MB, free: 0.6367 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 377.3 MB, free: 2.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.073e-05/3.249e-05, allocations: 2.312 kB / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.005075/0.005107, allocations: 1.908 MB / 379.2 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003021/0.008128, allocations: 1.013 MB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.008255, allocations: 7.938 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004201/0.008675, allocations: 43.69 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000538/0.009213, allocations: 103.4 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004406/0.009654, allocations: 103.6 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003865/0.01004, allocations: 151.5 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.01019, allocations: 13.81 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002344/0.01042, allocations: 79.73 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.01057, allocations: 39.84 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.27e-05/0.0106, allocations: 4 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.01078, allocations: 51.91 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.01088, allocations: 27.91 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.01099, allocations: 35.86 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004303/0.01142, allocations: 151.4 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.01142, allocations: 0 / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01142, allocations: 0 / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.01143, allocations: 4 kB / 381 MB, free: 15.07 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001103/0.01253, allocations: 407.1 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.01258, allocations: 8.031 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.0127, allocations: 28.8 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005513/0.01325, allocations: 178.2 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.01328, allocations: 4.375 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.036e-05/0.01333, allocations: 8.375 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00045/0.01378, allocations: 136.7 kB / 381.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.01379, allocations: 192 / 381.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.01381, allocations: 4.375 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.01383, allocations: 7.938 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/0.01414, allocations: 55.89 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.01515, allocations: 460.6 kB / 382.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006012/0.01575, allocations: 82.66 kB / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.01596, allocations: 40.83 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.01598, allocations: 0 / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003698/0.01635, allocations: 113 kB / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.984e-06/0.01636, allocations: 0 / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008166/0.01717, allocations: 153.5 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.731e-05/0.01725, allocations: 55.41 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004233/0.01767, allocations: 207.6 kB / 382.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.01771, allocations: 25.7 kB / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.01787, allocations: 120 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.726e-05/0.01793, allocations: 27.78 kB / 383.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.579e-05/0.01802, allocations: 29.67 kB / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002704/0.01829, allocations: 330.8 kB / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.01846, allocations: 27.98 kB / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.01869, allocations: 72.2 kB / 383.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003887/0.01907, allocations: 108.2 kB / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.01908, allocations: 0 / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005756/0.01965, allocations: 141.4 kB / 383.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.01968, allocations: 8.125 kB / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.01969, allocations: 4 kB / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.01971, allocations: 0 / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.01992, allocations: 27.92 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.01993, allocations: 0 / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.02007, allocations: 11.94 kB / 383.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.02009, allocations: 8 kB / 383.8 MB, free: 12 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 0.0005083/0.0206, allocations: 129.8 kB / 384 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.139e-05/0.02066, allocations: 19.91 kB / 384 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005806/0.02124, allocations: 139 kB / 384.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.02125, allocations: 0 / 384.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.02125, allocations: 3.938 kB / 384.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.02126, allocations: 0 / 384.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003089/0.02157, allocations: 153.2 kB / 384.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.02157, allocations: 0 / 384.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.02173, allocations: 19.92 kB / 384.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.02173, allocations: 0 / 384.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.02175, allocations: 4 kB / 384.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.02176, allocations: 0 / 384.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.02176, allocations: 0 / 384.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008097/0.02257, allocations: 205.3 kB / 384.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/0.02261, allocations: 11.94 kB / 384.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.65e-05/0.02266, allocations: 11.98 kB / 384.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.02278, allocations: 8 kB / 384.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.16e-05/0.02285, allocations: 7.984 kB / 384.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.02287, allocations: 0 / 384.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002745/0.02315, allocations: 147.2 kB / 384.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.02315, allocations: 0 / 384.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004737/0.02362, allocations: 31.98 kB / 384.7 MB, free: 11.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.003181/0.0268, allocations: 431.5 kB / 385.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000503/0.02731, allocations: 83.83 kB / 385.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.02731, allocations: 0 / 385.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002195/0.02753, allocations: 35.98 kB / 385.3 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005388/0.02807, allocations: 44.08 kB / 385.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.02907, allocations: 276.2 kB / 385.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.02925, allocations: 102.1 kB / 385.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.02936, allocations: 21.48 kB / 385.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.49e-05/0.02944, allocations: 20.5 kB / 385.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of SimCode: time 9.31e-07/0.02944, allocations: 0 / 385.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of Templates: time 0.009974/0.03941, allocations: 2.047 MB / 387.8 MB, free: 8.148 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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: 4.967952030012384]