Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.001757/0.001757, allocations: 89.5 kB / 20.68 MB, free: 1.031 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.002171/0.002171, allocations: 159.4 kB / 23.95 MB, free: 4.156 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.578/1.578, allocations: 177 MB / 204.1 MB, free: 9.184 MB / 190.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.2224/0.2224, allocations: 34.26 MB / 294.8 MB, free: 14.55 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 442.7 MB, free: 5.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.164e-05/3.361e-05, allocations: 4.672 kB / 442.7 MB, free: 5.25 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003907/0.003941, allocations: 1.912 MB / 444.6 MB, free: 3.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002166/0.006106, allocations: 1.005 MB / 445.6 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.006264, allocations: 3.938 kB / 445.7 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003631/0.006627, allocations: 39.7 kB / 445.7 MB, free: 2.266 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004365/0.007063, allocations: 107.4 kB / 445.8 MB, free: 2.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000351/0.007414, allocations: 99.58 kB / 445.9 MB, free: 2.062 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003258/0.00774, allocations: 155.5 kB / 446 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.007873, allocations: 21.8 kB / 446.1 MB, free: 1.891 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.008055, allocations: 79.73 kB / 446.1 MB, free: 1.812 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.008174, allocations: 31.91 kB / 446.2 MB, free: 1.781 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.008205, allocations: 8 kB / 446.2 MB, free: 1.773 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.008341, allocations: 55.84 kB / 446.2 MB, free: 1.719 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.677e-05/0.008417, allocations: 23.86 kB / 446.3 MB, free: 1.695 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.272e-05/0.00849, allocations: 35.84 kB / 446.3 MB, free: 1.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00035/0.00884, allocations: 151.5 kB / 446.4 MB, free: 1.512 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.008842, allocations: 4 kB / 446.4 MB, free: 1.508 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.008843, allocations: 0 / 446.4 MB, free: 1.508 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.008851, allocations: 0 / 446.4 MB, free: 1.508 MB / 366.1 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.0008018/0.009653, allocations: 411 kB / 446.8 MB, free: 1.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.009695, allocations: 16.02 kB / 446.9 MB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.388e-05/0.009769, allocations: 16.84 kB / 446.9 MB, free: 1.039 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.01014, allocations: 170.3 kB / 447 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.01016, allocations: 384 / 447 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.01019, allocations: 16.38 kB / 447.1 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.01048, allocations: 136.8 kB / 447.2 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.01049, allocations: 4.188 kB / 447.2 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.01051, allocations: 4.375 kB / 447.2 MB, free: 0.668 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.01052, allocations: 3.938 kB / 447.2 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.01068, allocations: 43.97 kB / 447.3 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006556/0.01134, allocations: 452.7 kB / 447.7 MB, free: 144 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003678/0.01171, allocations: 90.59 kB / 447.8 MB, free: 44 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.01181, allocations: 32.84 kB / 447.8 MB, free: 8 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.621e-05/0.01185, allocations: 3.984 kB / 447.8 MB, free: 4 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004461/0.0123, allocations: 111.4 kB / 447.9 MB, free: 19.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 4.369e-06/0.01231, allocations: 4.141 kB / 447.9 MB, free: 19.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005299/0.01284, allocations: 150.1 kB / 448.1 MB, free: 19.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.01287, allocations: 53.12 kB / 448.1 MB, free: 19.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.01307, allocations: 209.4 kB / 448.3 MB, free: 19.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.01309, allocations: 28.52 kB / 448.4 MB, free: 19.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.01316, allocations: 119.2 kB / 448.5 MB, free: 18.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.01318, allocations: 29.53 kB / 448.5 MB, free: 18.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/0.01323, allocations: 27.97 kB / 448.5 MB, free: 18.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.838e-05/0.01329, allocations: 331.7 kB / 448.9 MB, free: 18.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.275e-05/0.01338, allocations: 30.81 kB / 448.9 MB, free: 18.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.01349, allocations: 66.64 kB / 449 MB, free: 18.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.01368, allocations: 102.9 kB / 449.1 MB, free: 18.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01368, allocations: 1.031 kB / 449.1 MB, free: 18.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002645/0.01394, allocations: 144.3 kB / 449.2 MB, free: 18.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.01396, allocations: 5.859 kB / 449.2 MB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01396, allocations: 2.5 kB / 449.2 MB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.01398, allocations: 1.469 kB / 449.2 MB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.01409, allocations: 25.38 kB / 449.2 MB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.01409, allocations: 6.422 kB / 449.2 MB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.26e-05/0.01417, allocations: 21.44 kB / 449.3 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.01418, allocations: 3.531 kB / 449.3 MB, free: 18.52 MB / 366.1 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 7.346e-05/0.01425, allocations: 128.7 kB / 449.4 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.01428, allocations: 15.3 kB / 449.4 MB, free: 18.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/0.01456, allocations: 134.2 kB / 449.5 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.01456, allocations: 2.359 kB / 449.5 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.01457, allocations: 0 / 449.5 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.01457, allocations: 0.6094 kB / 449.5 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.01469, allocations: 152.3 kB / 449.7 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01469, allocations: 6.438 kB / 449.7 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.482e-05/0.01478, allocations: 19.89 kB / 449.7 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.01478, allocations: 1.188 kB / 449.7 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.01479, allocations: 5.938 kB / 449.7 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.01479, allocations: 4.344 kB / 449.7 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01479, allocations: 0 / 449.7 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.01516, allocations: 192.9 kB / 449.9 MB, free: 18.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.322e-05/0.01518, allocations: 19.8 kB / 449.9 MB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.01521, allocations: 5.906 kB / 449.9 MB, free: 18.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.575e-05/0.01527, allocations: 5.734 kB / 449.9 MB, free: 18.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.01531, allocations: 6.578 kB / 449.9 MB, free: 18.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.01533, allocations: 11.56 kB / 450 MB, free: 18.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.01544, allocations: 147.2 kB / 450.1 MB, free: 17.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01544, allocations: 0 / 450.1 MB, free: 17.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.01568, allocations: 32.75 kB / 450.1 MB, free: 17.96 MB / 366.1 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.001571/0.01725, allocations: 425 kB / 450.5 MB, free: 17.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002567/0.01751, allocations: 85.09 kB / 450.6 MB, free: 17.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01751, allocations: 1.156 kB / 450.6 MB, free: 17.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.01761, allocations: 35.81 kB / 450.7 MB, free: 17.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.01791, allocations: 45.19 kB / 450.7 MB, free: 17.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004727/0.01839, allocations: 265.7 kB / 451 MB, free: 17.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.28e-05/0.01846, allocations: 100.2 kB / 451.1 MB, free: 17.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.269e-05/0.01852, allocations: 24.88 kB / 451.1 MB, free: 17.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.039e-05/0.01856, allocations: 17.52 kB / 451.1 MB, free: 17.46 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01856, allocations: 4 kB / 451.1 MB, free: 17.46 MB / 366.1 MB Notification: Performance of Templates: time 0.005553/0.02411, allocations: 2.024 MB / 453.1 MB, free: 17.22 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.90914374217391]