Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0011/0.0011, allocations: 107.9 kB / 17.33 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001222, allocations: 205.8 kB / 18.26 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 246.4 MB, free: 9.098 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2273/0.2273, allocations: 46.11 MB / 343.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 78.38 kB / 417 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1896, allocations: 62.45 MB / 479.5 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.005641/0.1953, allocations: 1.997 MB / 481.5 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002809/0.1982, allocations: 1.048 MB / 482.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.1984, allocations: 4 kB / 482.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005073/0.1989, allocations: 39.83 kB / 482.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004801/0.1994, allocations: 75.69 kB / 482.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.1998, allocations: 83.8 kB / 482.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003246/0.2002, allocations: 139.6 kB / 482.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.2004, allocations: 33.55 kB / 482.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.2005, allocations: 55.72 kB / 483 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.2007, allocations: 55.64 kB / 483 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.2007, allocations: 7.938 kB / 483 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.2009, allocations: 43.98 kB / 483.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.741e-05/0.201, allocations: 23.92 kB / 483.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.91e-05/0.2011, allocations: 55.66 kB / 483.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003632/0.2015, allocations: 159.7 kB / 483.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.2015, allocations: 0 / 483.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2015, allocations: 0 / 483.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.2015, allocations: 0 / 483.3 MB, free: 1.754 MB / 350.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.0009669/0.2025, allocations: 484.4 kB / 483.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.2026, allocations: 8.031 kB / 483.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.9e-05/0.2027, allocations: 16.75 kB / 483.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.203, allocations: 229.6 kB / 484 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.2031, allocations: 16.31 kB / 484 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.915e-05/0.2031, allocations: 8.125 kB / 484 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.2035, allocations: 108.2 kB / 484.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.2035, allocations: 4 kB / 484.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.2036, allocations: 0 / 484.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.2036, allocations: 4 kB / 484.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000238/0.2038, allocations: 51.91 kB / 484.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008658/0.2047, allocations: 0.5048 MB / 484.7 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004741/0.2052, allocations: 98.58 kB / 484.8 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.2054, allocations: 40.78 kB / 484.8 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.2054, allocations: 0 / 484.8 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000412/0.2059, allocations: 83.38 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 2.044e-06/0.2059, allocations: 0 / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006277/0.2065, allocations: 145.4 kB / 485.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/0.2066, allocations: 63.28 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.2069, allocations: 198.2 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.207, allocations: 29.7 kB / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.2071, allocations: 116 kB / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.488e-05/0.2072, allocations: 31.55 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.533e-05/0.2073, allocations: 25.72 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002125/0.2075, allocations: 326.8 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.2076, allocations: 31.97 kB / 485.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.2078, allocations: 64.41 kB / 485.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.2081, allocations: 96.2 kB / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2082, allocations: 0 / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004442/0.2086, allocations: 145.7 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.2087, allocations: 6.656 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.2087, allocations: 4.125 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.822e-05/0.2087, allocations: 4 kB / 486.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.2089, allocations: 27.86 kB / 486.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.2089, allocations: 4 kB / 486.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.209, allocations: 7.938 kB / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.2091, allocations: 8 kB / 486.2 MB, free: 14.54 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 0.0001807/0.2093, allocations: 129.8 kB / 486.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.346e-05/0.2093, allocations: 15.81 kB / 486.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.847e-05/0.2094, allocations: 25.39 kB / 486.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.2094, allocations: 11.88 kB / 486.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.2095, allocations: 0 / 486.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.2095, allocations: 0 / 486.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.2098, allocations: 213.5 kB / 486.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2098, allocations: 0 / 486.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.2099, allocations: 15.98 kB / 486.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2099, allocations: 0 / 486.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.21, allocations: 0 / 486.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.21, allocations: 3.938 kB / 486.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.21, allocations: 0 / 486.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005959/0.2106, allocations: 180.9 kB / 486.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.94e-05/0.2107, allocations: 96.88 kB / 486.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/0.2108, allocations: 8 kB / 486.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.2109, allocations: 7.938 kB / 486.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.2109, allocations: 11.98 kB / 486.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.211, allocations: 0 / 486.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.2112, allocations: 148.5 kB / 487.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.271e-05/0.2112, allocations: 0 / 487.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004255/0.2116, allocations: 27.94 kB / 487.1 MB, free: 13.56 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.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001501/0.2132, allocations: 402.4 kB / 487.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004096/0.2136, allocations: 79.89 kB / 487.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2136, allocations: 256 / 487.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.2138, allocations: 43.91 kB / 487.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004947/0.2143, allocations: 45.38 kB / 487.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007949/0.2151, allocations: 299.8 kB / 488 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.2155, allocations: 0.7123 MB / 488.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000109/0.2156, allocations: 21.42 kB / 488.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.177e-05/0.2157, allocations: 15.44 kB / 488.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of SimCode: time 2.475e-06/0.2157, allocations: 0 / 488.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of Templates: time 0.007197/0.2229, allocations: 1.845 MB / 490.6 MB, free: 10.21 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches