Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001269/0.001269, allocations: 111.6 kB / 17.98 MB, free: 5.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001375/0.001375, allocations: 209.8 kB / 18.92 MB, free: 4.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.183/2.183, allocations: 227.4 MB / 247.1 MB, free: 10.83 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3907/0.3907, allocations: 46.1 MB / 344.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002802/0.002802, allocations: 84.19 kB / 417.7 MB, free: 7.438 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1994, allocations: 62.43 MB / 480.2 MB, free: 8.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.005046/0.2045, allocations: 1.785 MB / 481.9 MB, free: 7.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002734/0.2072, allocations: 1.01 MB / 483 MB, free: 6.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.2074, allocations: 3.938 kB / 483 MB, free: 6.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004671/0.2079, allocations: 43.88 kB / 483 MB, free: 6.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005159/0.2085, allocations: 95.67 kB / 483.1 MB, free: 5.988 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.2088, allocations: 59.88 kB / 483.1 MB, free: 5.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002743/0.2091, allocations: 107.7 kB / 483.3 MB, free: 5.824 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.2093, allocations: 11.98 kB / 483.3 MB, free: 5.812 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.2094, allocations: 47.72 kB / 483.3 MB, free: 5.766 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.2096, allocations: 31.8 kB / 483.3 MB, free: 5.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.2096, allocations: 4 kB / 483.3 MB, free: 5.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.2098, allocations: 47.98 kB / 483.4 MB, free: 5.684 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.634e-05/0.2099, allocations: 35.89 kB / 483.4 MB, free: 5.648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.979e-05/0.21, allocations: 43.62 kB / 483.5 MB, free: 5.605 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.2102, allocations: 108 kB / 483.6 MB, free: 5.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2103, allocations: 4 kB / 483.6 MB, free: 5.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2103, allocations: 0 / 483.6 MB, free: 5.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.2103, allocations: 0 / 483.6 MB, free: 5.496 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007932/0.2111, allocations: 440.9 kB / 484 MB, free: 5.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.2112, allocations: 8.031 kB / 484 MB, free: 5.012 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.45e-05/0.2112, allocations: 16.75 kB / 484 MB, free: 4.996 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.2116, allocations: 225 kB / 484.3 MB, free: 4.738 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.2117, allocations: 384 / 484.3 MB, free: 4.738 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/0.2117, allocations: 12.11 kB / 484.3 MB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.2119, allocations: 57.61 kB / 484.3 MB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.212, allocations: 0 / 484.3 MB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.212, allocations: 0 / 484.3 MB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.212, allocations: 0 / 484.3 MB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.2121, allocations: 19.98 kB / 484.3 MB, free: 4.645 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005345/0.2127, allocations: 300.8 kB / 484.6 MB, free: 4.301 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.213, allocations: 58.61 kB / 484.7 MB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.958e-05/0.2131, allocations: 28.78 kB / 484.7 MB, free: 4.203 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.2131, allocations: 0 / 484.7 MB, free: 4.203 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002778/0.2134, allocations: 75.33 kB / 484.8 MB, free: 4.117 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.2135, allocations: 0 / 484.8 MB, free: 4.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008544/0.2143, allocations: 188.9 kB / 485 MB, free: 3.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.2144, allocations: 55.41 kB / 485 MB, free: 3.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004008/0.2148, allocations: 267 kB / 485.3 MB, free: 3.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.2148, allocations: 29.7 kB / 485.3 MB, free: 3.551 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.215, allocations: 112.1 kB / 485.4 MB, free: 3.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.215, allocations: 23.7 kB / 485.5 MB, free: 3.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-05/0.2151, allocations: 25.72 kB / 485.5 MB, free: 3.383 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.2152, allocations: 330.8 kB / 485.8 MB, free: 3.051 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.624e-05/0.2153, allocations: 19.98 kB / 485.8 MB, free: 3.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.757e-05/0.2154, allocations: 37.64 kB / 485.9 MB, free: 2.988 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.2156, allocations: 57.7 kB / 485.9 MB, free: 2.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.2156, allocations: 0 / 485.9 MB, free: 2.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003087/0.216, allocations: 109.4 kB / 486 MB, free: 2.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.216, allocations: 10.34 kB / 486 MB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.216, allocations: 0 / 486 MB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.216, allocations: 0 / 486 MB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.2162, allocations: 15.98 kB / 486.1 MB, free: 2.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.2162, allocations: 4 kB / 486.1 MB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.377e-05/0.2163, allocations: 7.875 kB / 486.1 MB, free: 2.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.2163, allocations: 4 kB / 486.1 MB, free: 2.773 MB / 398.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 (10): * Single equations (assignments): 10 * 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.0001777/0.2165, allocations: 141.8 kB / 486.2 MB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.2166, allocations: 11.81 kB / 486.2 MB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.716e-05/0.2167, allocations: 25.38 kB / 486.2 MB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.2167, allocations: 4 kB / 486.2 MB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2167, allocations: 0 / 486.2 MB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.2167, allocations: 3.938 kB / 486.2 MB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006787/0.2174, allocations: 403.5 kB / 486.6 MB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2174, allocations: 4.031 kB / 486.6 MB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.955e-05/0.2175, allocations: 11.98 kB / 486.7 MB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.2175, allocations: 4 kB / 486.7 MB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.2175, allocations: 7.938 kB / 486.7 MB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.2175, allocations: 80 / 486.7 MB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.2176, allocations: 7.922 kB / 486.7 MB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003735/0.2179, allocations: 208.5 kB / 486.9 MB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.866e-05/0.218, allocations: 93.11 kB / 487 MB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/0.2181, allocations: 11.92 kB / 487 MB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.2182, allocations: 11.94 kB / 487 MB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.2183, allocations: 4 kB / 487 MB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.2183, allocations: 7.984 kB / 487 MB, free: 1.727 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002836/0.2186, allocations: 204.4 kB / 487.2 MB, free: 1.527 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.2187, allocations: 0 / 487.2 MB, free: 1.527 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000497/0.2192, allocations: 28 kB / 487.2 MB, free: 1.5 MB / 398.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: 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 (8): * Single equations (assignments): 6 * 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.00189/0.2211, allocations: 447 kB / 487.7 MB, free: 1.215 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003034/0.2214, allocations: 59.92 kB / 487.7 MB, free: 1.156 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2214, allocations: 0 / 487.7 MB, free: 1.156 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.2215, allocations: 35.98 kB / 487.8 MB, free: 1.121 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006227/0.2222, allocations: 31.02 kB / 487.8 MB, free: 1.094 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008717/0.2231, allocations: 353.5 kB / 488.1 MB, free: 0.7148 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006543/0.2237, allocations: 0.7223 MB / 488.9 MB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.015e-05/0.2238, allocations: 19.42 kB / 488.9 MB, free: 15.95 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2238, allocations: 0 / 488.9 MB, free: 15.95 MB / 414.1 MB Notification: Performance of Templates: time 0.007353/0.2312, allocations: 2.103 MB / 491 MB, free: 13.85 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches