Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.001398/0.001398, allocations: 89.14 kB / 20.68 MB, free: 1.02 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.00148/0.00148, allocations: 158.8 kB / 23.95 MB, free: 4.152 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.172 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.2157/0.2157, allocations: 34.25 MB / 294.8 MB, free: 14.54 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 442.7 MB, free: 5.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.666e-05, allocations: 6.219 kB / 442.7 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002948/0.002975, allocations: 1.677 MB / 444.4 MB, free: 3.531 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.004758, allocations: 0.9541 MB / 445.4 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.049e-05/0.004828, allocations: 0 / 445.4 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003137/0.005142, allocations: 71.61 kB / 445.4 MB, free: 2.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000336/0.005478, allocations: 107.5 kB / 445.5 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.00567, allocations: 79.59 kB / 445.6 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.005862, allocations: 111.6 kB / 445.7 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.005905, allocations: 8.234 kB / 445.7 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.006014, allocations: 51.88 kB / 445.8 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.006114, allocations: 47.83 kB / 445.8 MB, free: 2.102 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.006134, allocations: 4 kB / 445.8 MB, free: 2.098 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.286e-05/0.006217, allocations: 35.92 kB / 445.9 MB, free: 2.062 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.463e-05/0.006271, allocations: 19.92 kB / 445.9 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.006311, allocations: 15.94 kB / 445.9 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.006508, allocations: 107.6 kB / 446 MB, free: 1.922 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.006511, allocations: 0 / 446 MB, free: 1.922 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.006512, allocations: 0 / 446 MB, free: 1.922 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.006516, allocations: 0 / 446 MB, free: 1.922 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005485/0.007065, allocations: 345.5 kB / 446.3 MB, free: 1.555 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.007095, allocations: 8.031 kB / 446.4 MB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.43e-05/0.00714, allocations: 16.84 kB / 446.4 MB, free: 1.531 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.007397, allocations: 139 kB / 446.5 MB, free: 1.371 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.007413, allocations: 4.375 kB / 446.5 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.007427, allocations: 4.375 kB / 446.5 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.007572, allocations: 58.17 kB / 446.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.007581, allocations: 192 / 446.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.00759, allocations: 384 / 446.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.007599, allocations: 3.938 kB / 446.6 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.039e-05/0.00767, allocations: 19.92 kB / 446.6 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/0.007854, allocations: 125.3 kB / 446.7 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.008034, allocations: 54.61 kB / 446.8 MB, free: 1.062 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.786e-05/0.008102, allocations: 24.84 kB / 446.8 MB, free: 1.035 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.008118, allocations: 7.922 kB / 446.8 MB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/0.008273, allocations: 67.39 kB / 446.9 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.008274, allocations: 0 / 446.9 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002969/0.008571, allocations: 101.6 kB / 447 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.00862, allocations: 55.34 kB / 447 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.008833, allocations: 198.3 kB / 447.2 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.008855, allocations: 33.62 kB / 447.3 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/0.008918, allocations: 100.1 kB / 447.4 MB, free: 444 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.008948, allocations: 15.89 kB / 447.4 MB, free: 428 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.008992, allocations: 29.7 kB / 447.4 MB, free: 392 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.009156, allocations: 322.8 kB / 447.7 MB, free: 60 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.256e-05/0.009209, allocations: 12 kB / 447.7 MB, free: 48 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.452e-05/0.009273, allocations: 33.69 kB / 447.8 MB, free: 8 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2001/0.2094, allocations: 41.44 kB / 447.8 MB, free: 19.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.2094, allocations: 1.031 kB / 447.8 MB, free: 19.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002217/0.2096, allocations: 85.48 kB / 447.9 MB, free: 19.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.2096, allocations: 6.641 kB / 447.9 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2096, allocations: 2.062 kB / 447.9 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.2096, allocations: 1.859 kB / 447.9 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.2097, allocations: 14.98 kB / 447.9 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.2098, allocations: 0 / 447.9 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.433e-05/0.2098, allocations: 7.609 kB / 447.9 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.2098, allocations: 2.812 kB / 447.9 MB, free: 19.11 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (7): * Single equations (assignments): 7 * 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.0001309/0.21, allocations: 128.3 kB / 448 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.21, allocations: 14.34 kB / 448.1 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/0.2102, allocations: 98.73 kB / 448.2 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2102, allocations: 1.891 kB / 448.2 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2103, allocations: 0 / 448.2 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2103, allocations: 0.8438 kB / 448.2 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.2104, allocations: 134.1 kB / 448.3 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2104, allocations: 1.875 kB / 448.3 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.015e-05/0.2104, allocations: 8.891 kB / 448.3 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2104, allocations: 0 / 448.3 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.2104, allocations: 5.844 kB / 448.3 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2104, allocations: 0.7031 kB / 448.3 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2104, allocations: 1.438 kB / 448.3 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.2106, allocations: 117.6 kB / 448.4 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.439e-05/0.2107, allocations: 9.531 kB / 448.4 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.2107, allocations: 3.891 kB / 448.4 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.211e-05/0.2107, allocations: 8.188 kB / 448.4 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.728e-05/0.2108, allocations: 4.188 kB / 448.4 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.2108, allocations: 2.812 kB / 448.4 MB, free: 18.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001431/0.2109, allocations: 155.8 kB / 448.6 MB, free: 18.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2109, allocations: 0 / 448.6 MB, free: 18.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.2112, allocations: 15.66 kB / 448.6 MB, free: 18.7 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (6): * Single equations (assignments): 4 * 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.001581/0.2128, allocations: 439.4 kB / 449 MB, free: 18.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001707/0.2129, allocations: 37.94 kB / 449.1 MB, free: 18.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2129, allocations: 0 / 449.1 MB, free: 18.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.762e-05/0.213, allocations: 25.47 kB / 449.1 MB, free: 18.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.2133, allocations: 33.23 kB / 449.1 MB, free: 18.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004412/0.2137, allocations: 215.8 kB / 449.3 MB, free: 18.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.898e-05/0.2138, allocations: 91.75 kB / 449.4 MB, free: 18.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.62e-05/0.2139, allocations: 14.38 kB / 449.5 MB, free: 18.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.2139, allocations: 14.39 kB / 449.5 MB, free: 18.3 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2139, allocations: 1.062 kB / 449.5 MB, free: 18.3 MB / 366.1 MB Notification: Performance of Templates: time 0.004991/0.2189, allocations: 1.626 MB / 451.1 MB, free: 18.1 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.810052517801523]