Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.001352/0.001352, 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.00151/0.00151, allocations: 156.9 kB / 24.27 MB, free: 168 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.525/1.525, allocations: 177 MB / 204.4 MB, free: 5.621 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.3452/0.3452, allocations: 34.25 MB / 295.2 MB, free: 0.6328 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.448e-05/3.629e-05, allocations: 6.25 kB / 377.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.005308/0.005345, allocations: 1.9 MB / 379.2 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002982/0.008326, allocations: 1.013 MB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.008449, allocations: 0 / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004303/0.008879, allocations: 43.64 kB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004579/0.009337, allocations: 107.4 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000381/0.009718, allocations: 95.59 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003618/0.01008, allocations: 155.5 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.01022, allocations: 17.81 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.01043, allocations: 79.73 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.01059, allocations: 39.83 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.01063, allocations: 8 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.01079, allocations: 47.92 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.01089, allocations: 27.91 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.011, allocations: 27.86 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004684/0.01146, allocations: 159.4 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.01147, allocations: 0 / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.01147, allocations: 0 / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.01148, allocations: 0 / 381 MB, free: 15.08 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.001029/0.01251, allocations: 407.1 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.01256, allocations: 12.03 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.01268, allocations: 24.8 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005026/0.01318, allocations: 178.2 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.01321, allocations: 4.375 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.415e-05/0.01326, allocations: 16.36 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004152/0.01367, allocations: 136.7 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.01369, allocations: 192 / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.01372, allocations: 8.375 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.01373, allocations: 3.938 kB / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002592/0.01399, allocations: 59.89 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009284/0.01491, allocations: 456.6 kB / 382.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005169/0.01543, allocations: 86.66 kB / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.01559, allocations: 32.84 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.01562, allocations: 7.984 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003161/0.01594, allocations: 113 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.01594, allocations: 0 / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006591/0.0166, allocations: 145.5 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.01666, allocations: 55.41 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003573/0.01702, allocations: 207.6 kB / 382.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.01706, allocations: 33.7 kB / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.0172, allocations: 116 kB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.856e-05/0.01726, allocations: 27.78 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.704e-05/0.01735, allocations: 33.67 kB / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002645/0.01761, allocations: 330.8 kB / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.01775, allocations: 27.98 kB / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.01793, allocations: 64.27 kB / 383.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/0.01829, allocations: 104.5 kB / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.0183, allocations: 0 / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004784/0.01877, allocations: 149.4 kB / 383.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.0188, allocations: 4 kB / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.0188, allocations: 128 / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.809e-05/0.01883, allocations: 8 kB / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.01899, allocations: 23.98 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.019, allocations: 7.938 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.01912, allocations: 7.938 kB / 383.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.01913, allocations: 4 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.0001855/0.01932, allocations: 129.8 kB / 384 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.629e-05/0.01938, allocations: 23.91 kB / 384 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000462/0.01984, allocations: 127 kB / 384.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.679e-06/0.01985, allocations: 8 kB / 384.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.01985, allocations: 3.938 kB / 384.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.01986, allocations: 0 / 384.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002738/0.02013, allocations: 157.2 kB / 384.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.02013, allocations: 0 / 384.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.02026, allocations: 19.98 kB / 384.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.02026, allocations: 0 / 384.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.02028, allocations: 0 / 384.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.02028, allocations: 3.938 kB / 384.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.02028, allocations: 0 / 384.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006347/0.02091, allocations: 204.8 kB / 384.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.02095, allocations: 11.94 kB / 384.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.021, allocations: 0 / 384.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.0211, allocations: 15.98 kB / 384.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.01e-05/0.02117, allocations: 11.97 kB / 384.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.0212, allocations: 4 kB / 384.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002271/0.02143, allocations: 147.2 kB / 384.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.02143, allocations: 0 / 384.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004555/0.02188, allocations: 27.94 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.002813/0.02469, allocations: 438.8 kB / 385.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004068/0.0251, allocations: 79.84 kB / 385.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.0251, allocations: 0 / 385.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.02527, allocations: 35.97 kB / 385.2 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.0005284/0.0258, allocations: 43.89 kB / 385.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009326/0.02673, allocations: 284.8 kB / 385.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.02716, allocations: 98.11 kB / 385.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.02726, allocations: 17.48 kB / 385.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.379e-05/0.02734, allocations: 20.48 kB / 385.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.02734, allocations: 4 kB / 385.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of Templates: time 0.009043/0.03638, allocations: 2.043 MB / 387.7 MB, free: 8.145 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.010614037979394]