Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.00151/0.00151, allocations: 89.45 kB / 20.68 MB, free: 1.023 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.001811/0.001811, allocations: 157.5 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.591/1.591, allocations: 177 MB / 204.1 MB, free: 9.168 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.2169/0.2169, allocations: 34.27 MB / 294.8 MB, free: 14.52 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 442.7 MB, free: 5.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.566e-05, allocations: 2.281 kB / 442.7 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003359/0.003385, allocations: 1.804 MB / 444.5 MB, free: 3.406 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003205/0.00659, allocations: 1.734 MB / 446.3 MB, free: 1.664 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.006699, allocations: 7.938 kB / 446.3 MB, free: 1.656 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003494/0.007048, allocations: 43.64 kB / 446.3 MB, free: 1.613 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005933/0.007642, allocations: 151.2 kB / 446.5 MB, free: 1.465 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.007919, allocations: 103.6 kB / 446.6 MB, free: 1.363 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003103/0.008229, allocations: 215.2 kB / 446.8 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.182e-05/0.008291, allocations: 9.797 kB / 446.8 MB, free: 1.145 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.008476, allocations: 107.7 kB / 446.9 MB, free: 1.039 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.008667, allocations: 67.72 kB / 447 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.551e-05/0.008703, allocations: 12 kB / 447 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.008924, allocations: 107.8 kB / 447.1 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.611e-05/0.00901, allocations: 35.84 kB / 447.1 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.024e-05/0.00909, allocations: 39.84 kB / 447.1 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003778/0.009468, allocations: 239.2 kB / 447.4 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.009473, allocations: 0 / 447.4 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.009474, allocations: 0 / 447.4 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.009481, allocations: 0 / 447.4 MB, free: 0.5469 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009088/0.01039, allocations: 424.9 kB / 447.8 MB, free: 104 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.01043, allocations: 15.95 kB / 447.8 MB, free: 88 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.503e-05/0.01051, allocations: 20.8 kB / 447.8 MB, free: 68 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2226/0.2331, allocations: 179.2 kB / 448 MB, free: 19.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.2331, allocations: 3.188 kB / 448 MB, free: 19.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.2331, allocations: 9.719 kB / 448 MB, free: 19.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/0.2334, allocations: 151.9 kB / 448.2 MB, free: 19.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.2335, allocations: 1.312 kB / 448.2 MB, free: 19.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.2335, allocations: 5.547 kB / 448.2 MB, free: 19.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2335, allocations: 2.219 kB / 448.2 MB, free: 19.26 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.2336, allocations: 33.14 kB / 448.2 MB, free: 19.26 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002355/0.2339, allocations: 162.6 kB / 448.4 MB, free: 19.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.2342, allocations: 111.9 kB / 448.5 MB, free: 19.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.875e-05/0.2343, allocations: 39.91 kB / 448.5 MB, free: 19.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.2343, allocations: 2.766 kB / 448.5 MB, free: 19.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002413/0.2345, allocations: 112.6 kB / 448.6 MB, free: 19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 2.925e-06/0.2345, allocations: 1.547 kB / 448.6 MB, free: 19 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.000536/0.2351, allocations: 177.1 kB / 448.8 MB, free: 18.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.2351, allocations: 139.1 kB / 448.9 MB, free: 18.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/0.2354, allocations: 245.1 kB / 449.2 MB, free: 18.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.2354, allocations: 27.7 kB / 449.2 MB, free: 18.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.013e-05/0.2355, allocations: 122 kB / 449.3 MB, free: 18.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.375e-05/0.2356, allocations: 30.05 kB / 449.4 MB, free: 18.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.321e-05/0.2356, allocations: 25.62 kB / 449.4 MB, free: 18.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.926e-05/0.2357, allocations: 333.3 kB / 449.7 MB, free: 18.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.425e-05/0.2358, allocations: 36.64 kB / 449.7 MB, free: 18.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.2359, allocations: 126.2 kB / 449.9 MB, free: 18.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.2361, allocations: 94.44 kB / 450 MB, free: 17.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2361, allocations: 0 / 450 MB, free: 17.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002821/0.2364, allocations: 144.1 kB / 450.1 MB, free: 17.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.2364, allocations: 5.531 kB / 450.1 MB, free: 17.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.2364, allocations: 1.609 kB / 450.1 MB, free: 17.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2364, allocations: 1.094 kB / 450.1 MB, free: 17.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.2365, allocations: 29.41 kB / 450.1 MB, free: 17.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.2365, allocations: 3.125 kB / 450.1 MB, free: 17.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.956e-05/0.2366, allocations: 6.984 kB / 450.1 MB, free: 17.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.2366, allocations: 4.281 kB / 450.1 MB, free: 17.91 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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 9.52e-05/0.2367, allocations: 135.1 kB / 450.3 MB, free: 17.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.2368, allocations: 25.55 kB / 450.3 MB, free: 17.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003598/0.2371, allocations: 168.7 kB / 450.5 MB, free: 17.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2371, allocations: 2.344 kB / 450.5 MB, free: 17.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2372, allocations: 2.531 kB / 450.5 MB, free: 17.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2372, allocations: 2.5 kB / 450.5 MB, free: 17.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.2373, allocations: 162.8 kB / 450.6 MB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2373, allocations: 2.625 kB / 450.6 MB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.897e-05/0.2374, allocations: 14.41 kB / 450.7 MB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2374, allocations: 1.219 kB / 450.7 MB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.2374, allocations: 8.016 kB / 450.7 MB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2374, allocations: 3.938 kB / 450.7 MB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2374, allocations: 1.156 kB / 450.7 MB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.2377, allocations: 189.3 kB / 450.9 MB, free: 17.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.543e-05/0.2378, allocations: 22.5 kB / 450.9 MB, free: 17.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.2378, allocations: 6 kB / 450.9 MB, free: 17.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.799e-05/0.2379, allocations: 6.078 kB / 450.9 MB, free: 17.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.045e-05/0.2379, allocations: 8.938 kB / 450.9 MB, free: 17.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.238, allocations: 10.47 kB / 450.9 MB, free: 17.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001843/0.2381, allocations: 187.6 kB / 451.1 MB, free: 17.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2381, allocations: 0 / 451.1 MB, free: 17.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003238/0.2385, allocations: 55.56 kB / 451.1 MB, free: 17.29 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00201/0.2405, allocations: 0.5258 MB / 451.7 MB, free: 17.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003064/0.2408, allocations: 89.52 kB / 451.8 MB, free: 17.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2408, allocations: 0 / 451.8 MB, free: 17.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.2409, allocations: 47.48 kB / 451.8 MB, free: 17.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.2413, allocations: 62.64 kB / 451.9 MB, free: 17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005803/0.2419, allocations: 288.5 kB / 452.1 MB, free: 16.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.242, allocations: 112.5 kB / 452.3 MB, free: 16.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.522e-05/0.2421, allocations: 28.84 kB / 452.3 MB, free: 16.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.376e-05/0.2422, allocations: 28.7 kB / 452.3 MB, free: 16.71 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2422, allocations: 0 / 452.3 MB, free: 16.71 MB / 366.1 MB Notification: Performance of Templates: time 0.008758/0.2509, allocations: 3.412 MB / 455.7 MB, free: 16.26 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.146526288241148]