Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.001358/0.001358, allocations: 84.88 kB / 20.68 MB, free: 1.039 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.001851/0.001851, allocations: 157.5 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.499/1.499, allocations: 177 MB / 204.1 MB, free: 9.156 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.2203/0.2203, 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 442.7 MB, free: 5.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.217e-05/3.361e-05, allocations: 4.812 kB / 442.7 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003341/0.003375, allocations: 1.68 MB / 444.4 MB, free: 3.527 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.005447, allocations: 0.958 MB / 445.4 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.005564, allocations: 4 kB / 445.4 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003815/0.005945, allocations: 51.69 kB / 445.4 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004171/0.006363, allocations: 103.5 kB / 445.5 MB, free: 2.406 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.006611, allocations: 75.66 kB / 445.6 MB, free: 2.332 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000222/0.006833, allocations: 99.64 kB / 445.7 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.396e-05/0.006886, allocations: 12.22 kB / 445.7 MB, free: 2.223 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.007019, allocations: 51.83 kB / 445.8 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.422e-05/0.007114, allocations: 23.92 kB / 445.8 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.007137, allocations: 4 kB / 445.8 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.007253, allocations: 35.86 kB / 445.8 MB, free: 2.109 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.425e-05/0.007327, allocations: 31.91 kB / 445.9 MB, free: 2.078 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.191e-05/0.007379, allocations: 19.88 kB / 445.9 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.007644, allocations: 115.6 kB / 446 MB, free: 1.945 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.007649, allocations: 0 / 446 MB, free: 1.945 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.007651, allocations: 0 / 446 MB, free: 1.945 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.007658, allocations: 4 kB / 446 MB, free: 1.941 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.0007502/0.008408, allocations: 369.3 kB / 446.4 MB, free: 1.551 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.008462, allocations: 8.031 kB / 446.4 MB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.204e-05/0.008545, allocations: 16.84 kB / 446.4 MB, free: 1.527 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003573/0.008902, allocations: 154.5 kB / 446.5 MB, free: 1.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.008921, allocations: 4.375 kB / 446.5 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.008935, allocations: 384 / 446.5 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.009107, allocations: 62.11 kB / 446.6 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.009118, allocations: 192 / 446.6 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.009129, allocations: 384 / 446.6 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.009139, allocations: 11.92 kB / 446.6 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.455e-05/0.009224, allocations: 15.98 kB / 446.6 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002422/0.009466, allocations: 137.3 kB / 446.8 MB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.009661, allocations: 50.61 kB / 446.8 MB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.381e-05/0.009725, allocations: 16.86 kB / 446.8 MB, free: 1.008 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.00975, allocations: 7.984 kB / 446.8 MB, free: 1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.009935, allocations: 67.33 kB / 446.9 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.009937, allocations: 0 / 446.9 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003495/0.01029, allocations: 109.6 kB / 447 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/0.01035, allocations: 59.34 kB / 447.1 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.01068, allocations: 275 kB / 447.3 MB, free: 472 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.0107, allocations: 25.7 kB / 447.4 MB, free: 440 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.056e-05/0.01079, allocations: 116.1 kB / 447.5 MB, free: 320 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.01083, allocations: 15.78 kB / 447.5 MB, free: 304 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-05/0.01089, allocations: 21.72 kB / 447.5 MB, free: 276 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2302/0.2411, allocations: 330.8 kB / 447.8 MB, free: 19.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.2412, allocations: 11.44 kB / 447.8 MB, free: 19.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.385e-05/0.2413, allocations: 27.27 kB / 447.9 MB, free: 19.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.2414, allocations: 48.94 kB / 447.9 MB, free: 19.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2414, allocations: 0 / 447.9 MB, free: 19.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001966/0.2416, allocations: 91.95 kB / 448 MB, free: 18.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2416, allocations: 5.531 kB / 448 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.2416, allocations: 1.609 kB / 448 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.2417, allocations: 1.406 kB / 448 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.762e-05/0.2417, allocations: 16.28 kB / 448 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.2417, allocations: 3.578 kB / 448 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.561e-05/0.2418, allocations: 4.281 kB / 448 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.2418, allocations: 2.281 kB / 448 MB, free: 18.98 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 9.22e-05/0.2419, allocations: 137.3 kB / 448.2 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.2419, allocations: 14.02 kB / 448.2 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.2422, allocations: 103.7 kB / 448.3 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2422, allocations: 4.969 kB / 448.3 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.2422, allocations: 1.094 kB / 448.3 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2422, allocations: 0.7031 kB / 448.3 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.2423, allocations: 144.1 kB / 448.4 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2423, allocations: 2.609 kB / 448.4 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.819e-05/0.2423, allocations: 9.734 kB / 448.4 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2423, allocations: 0 / 448.4 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.2423, allocations: 5.578 kB / 448.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2423, allocations: 2.875 kB / 448.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2423, allocations: 3.938 kB / 448.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.2425, allocations: 115.3 kB / 448.6 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.235e-05/0.2425, allocations: 15.5 kB / 448.6 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.2426, allocations: 5.656 kB / 448.6 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.175e-05/0.2426, allocations: 6 kB / 448.6 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.2426, allocations: 11.5 kB / 448.6 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.2426, allocations: 4.156 kB / 448.6 MB, free: 18.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.2428, allocations: 211 kB / 448.8 MB, free: 18.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2428, allocations: 0 / 448.8 MB, free: 18.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002265/0.243, allocations: 22.23 kB / 448.8 MB, free: 18.56 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.001571/0.2446, allocations: 424.6 kB / 449.3 MB, free: 18.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001721/0.2448, allocations: 45.94 kB / 449.3 MB, free: 18.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2448, allocations: 0 / 449.3 MB, free: 18.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.698e-05/0.2448, allocations: 26.89 kB / 449.3 MB, free: 18.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.2451, allocations: 29.03 kB / 449.4 MB, free: 18.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000483/0.2456, allocations: 277.8 kB / 449.6 MB, free: 18.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.378e-05/0.2457, allocations: 107.8 kB / 449.7 MB, free: 18.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.479e-05/0.2457, allocations: 12.59 kB / 449.7 MB, free: 18.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.43e-05/0.2458, allocations: 16.95 kB / 449.8 MB, free: 18.14 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2458, allocations: 2.844 kB / 449.8 MB, free: 18.14 MB / 366.1 MB Notification: Performance of Templates: time 0.00489/0.2507, allocations: 1.637 MB / 451.4 MB, free: 17.95 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.943833265453577]