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.001343/0.001343, allocations: 84.95 kB / 20.68 MB, free: 1.035 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.001448/0.001448, allocations: 158.2 kB / 23.95 MB, free: 4.168 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.488/1.488, allocations: 177 MB / 204.1 MB, free: 9.16 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.2257/0.2257, allocations: 34.25 MB / 294.8 MB, free: 14.53 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.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.633e-06/1.633e-06, allocations: 0 / 442.7 MB, free: 5.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/2.999e-05, allocations: 2.281 kB / 442.7 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.005212/0.005242, allocations: 1.91 MB / 444.6 MB, free: 3.301 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002826/0.008068, allocations: 1.016 MB / 445.7 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.008247, allocations: 7.938 kB / 445.7 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003768/0.008624, allocations: 43.7 kB / 445.7 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005321/0.009156, allocations: 103.4 kB / 445.8 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003966/0.009553, allocations: 95.58 kB / 445.9 MB, free: 2.031 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000365/0.009918, allocations: 147.5 kB / 446 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.01007, allocations: 25.78 kB / 446.1 MB, free: 1.863 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/0.01029, allocations: 75.77 kB / 446.1 MB, free: 1.789 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.01043, allocations: 39.81 kB / 446.2 MB, free: 1.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.42e-05/0.01047, allocations: 8 kB / 446.2 MB, free: 1.742 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.01063, allocations: 51.92 kB / 446.2 MB, free: 1.691 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.314e-05/0.01071, allocations: 31.84 kB / 446.3 MB, free: 1.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.512e-05/0.0108, allocations: 27.92 kB / 446.3 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003887/0.01119, allocations: 151.4 kB / 446.4 MB, free: 1.484 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.01119, allocations: 4 kB / 446.4 MB, free: 1.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01119, allocations: 0 / 446.4 MB, free: 1.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.0112, allocations: 0 / 446.4 MB, free: 1.48 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.0008685/0.01207, allocations: 415 kB / 446.9 MB, free: 1.039 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.01211, allocations: 8.031 kB / 446.9 MB, free: 1.031 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.36e-05/0.01219, allocations: 24.83 kB / 446.9 MB, free: 1.008 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004253/0.01262, allocations: 162.3 kB / 447 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.01264, allocations: 12.36 kB / 447.1 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.01267, allocations: 4.375 kB / 447.1 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003747/0.01305, allocations: 138.4 kB / 447.2 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.01306, allocations: 4.172 kB / 447.2 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.01308, allocations: 4.375 kB / 447.2 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.0131, allocations: 7.938 kB / 447.2 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002485/0.01335, allocations: 51.97 kB / 447.3 MB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008068/0.01415, allocations: 448.7 kB / 447.7 MB, free: 108 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005075/0.01466, allocations: 82.61 kB / 447.8 MB, free: 16 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2299/0.2445, allocations: 37.45 kB / 447.8 MB, free: 19.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.2446, allocations: 1.75 kB / 447.8 MB, free: 19.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002659/0.2448, allocations: 110.1 kB / 447.9 MB, free: 19.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 3.015e-06/0.2448, allocations: 1.344 kB / 447.9 MB, free: 19.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004729/0.2453, allocations: 149 kB / 448.1 MB, free: 19.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.2453, allocations: 57.94 kB / 448.1 MB, free: 19.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.2455, allocations: 214.1 kB / 448.3 MB, free: 19.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.2455, allocations: 26.77 kB / 448.4 MB, free: 19.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/0.2456, allocations: 116.8 kB / 448.5 MB, free: 18.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.2456, allocations: 34.39 kB / 448.5 MB, free: 18.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.2457, allocations: 26.72 kB / 448.5 MB, free: 18.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.26e-05/0.2457, allocations: 328 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.475e-05/0.2458, allocations: 29.58 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.2459, allocations: 65.98 kB / 449 MB, free: 18.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.2461, allocations: 106.6 kB / 449.1 MB, free: 18.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2461, allocations: 0.9688 kB / 449.1 MB, free: 18.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002715/0.2464, allocations: 139 kB / 449.2 MB, free: 18.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.2464, allocations: 6.438 kB / 449.2 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.2464, allocations: 1.031 kB / 449.2 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.2464, allocations: 1 kB / 449.2 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.2466, allocations: 30.56 kB / 449.2 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2466, allocations: 5.484 kB / 449.2 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.497e-05/0.2466, allocations: 17.06 kB / 449.3 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.2467, allocations: 4.078 kB / 449.3 MB, free: 18.48 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 8.167e-05/0.2467, allocations: 132.4 kB / 449.4 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.2468, allocations: 15.2 kB / 449.4 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000308/0.2471, allocations: 133.5 kB / 449.5 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.2471, allocations: 0 / 449.5 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.2471, allocations: 1.344 kB / 449.5 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2471, allocations: 4.172 kB / 449.5 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.2472, allocations: 159.6 kB / 449.7 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2472, allocations: 2.328 kB / 449.7 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.78e-05/0.2473, allocations: 12.84 kB / 449.7 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.2473, allocations: 1.156 kB / 449.7 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.2473, allocations: 1.672 kB / 449.7 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2473, allocations: 3.797 kB / 449.7 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2473, allocations: 1.094 kB / 449.7 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.2477, allocations: 200.6 kB / 449.9 MB, free: 18.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.299e-05/0.2477, allocations: 13.34 kB / 449.9 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.2477, allocations: 2.047 kB / 449.9 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.2478, allocations: 14.45 kB / 449.9 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.2479, allocations: 5.938 kB / 449.9 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.2479, allocations: 3.953 kB / 449.9 MB, free: 18.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001141/0.248, allocations: 147.9 kB / 450.1 MB, free: 17.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.248, allocations: 0 / 450.1 MB, free: 17.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.2482, allocations: 32.33 kB / 450.1 MB, free: 17.94 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.001587/0.2498, allocations: 438.5 kB / 450.6 MB, free: 17.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002614/0.2501, allocations: 87.08 kB / 450.6 MB, free: 17.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2501, allocations: 0 / 450.6 MB, free: 17.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.2502, allocations: 39.58 kB / 450.7 MB, free: 17.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.2505, allocations: 40.31 kB / 450.7 MB, free: 17.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005274/0.251, allocations: 258.3 kB / 451 MB, free: 17.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.228e-05/0.2511, allocations: 109.2 kB / 451.1 MB, free: 17.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.51e-05/0.2512, allocations: 18.92 kB / 451.1 MB, free: 17.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.2512, allocations: 18.95 kB / 451.1 MB, free: 17.44 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2512, allocations: 0 / 451.1 MB, free: 17.44 MB / 366.1 MB Notification: Performance of Templates: time 0.006283/0.2575, allocations: 2.032 MB / 453.1 MB, free: 17.19 MB / 366.1 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.006744936108589]