Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00123/0.00123, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.263/1.263, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009866/0.0009866, allocations: 97.75 kB / 296.7 MB, free: 6.5 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3411/0.3411, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 63.91 kB / 465.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3148, allocations: 62.01 MB / 0.5152 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003216/0.3181, allocations: 2.009 MB / 0.5171 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.3196, allocations: 1.069 MB / 0.5182 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.727e-05/0.3197, allocations: 0 / 0.5182 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003448/0.3201, allocations: 41.08 kB / 0.5182 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.3203, allocations: 79.11 kB / 0.5183 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.3206, allocations: 106.7 kB / 0.5184 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.3207, allocations: 143.3 kB / 0.5185 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.3208, allocations: 26.83 kB / 0.5185 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.743e-05/0.3209, allocations: 50.66 kB / 0.5186 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.249e-05/0.321, allocations: 48.94 kB / 0.5186 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.321, allocations: 5.688 kB / 0.5186 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.131e-05/0.3211, allocations: 48.62 kB / 0.5187 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.418e-05/0.3212, allocations: 27.95 kB / 0.5187 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.712e-05/0.3212, allocations: 54.88 kB / 0.5188 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.3214, allocations: 146.8 kB / 0.5189 GB, free: 35.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3215, allocations: 2.906 kB / 0.5189 GB, free: 35.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3215, allocations: 0 / 0.5189 GB, free: 35.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.3215, allocations: 0 / 0.5189 GB, free: 35.32 MB / 378.7 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.0005738/0.3221, allocations: 477.8 kB / 0.5194 GB, free: 34.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.3221, allocations: 11.5 kB / 0.5194 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/0.3221, allocations: 14.34 kB / 0.5194 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.3224, allocations: 236.3 kB / 0.5196 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.3224, allocations: 7 kB / 0.5196 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.3224, allocations: 13.59 kB / 0.5196 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.3226, allocations: 109 kB / 0.5197 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.3226, allocations: 0 / 0.5197 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.3226, allocations: 0 / 0.5197 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3227, allocations: 10.31 kB / 0.5198 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.3228, allocations: 51.58 kB / 0.5198 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.3232, allocations: 0.5058 MB / 0.5203 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.3235, allocations: 88.75 kB / 0.5204 GB, free: 33.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.36e-05/0.3236, allocations: 39.03 kB / 0.5204 GB, free: 33.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.3236, allocations: 2.625 kB / 0.5204 GB, free: 33.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001951/0.3238, allocations: 87.69 kB / 0.5205 GB, free: 33.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.3238, allocations: 4 kB / 0.5205 GB, free: 33.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003359/0.3242, allocations: 148.7 kB / 0.5206 GB, free: 33.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.3242, allocations: 55.34 kB / 0.5207 GB, free: 33.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.3244, allocations: 201.1 kB / 0.5209 GB, free: 33.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.769e-06/0.3244, allocations: 25.7 kB / 0.5209 GB, free: 33.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.747e-05/0.3244, allocations: 117.3 kB / 0.521 GB, free: 33.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.3245, allocations: 29.28 kB / 0.5211 GB, free: 33.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.3245, allocations: 33.56 kB / 0.5211 GB, free: 33.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.915e-05/0.3246, allocations: 328.5 kB / 0.5214 GB, free: 33.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.738e-05/0.3246, allocations: 28.58 kB / 0.5214 GB, free: 33.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.901e-05/0.3247, allocations: 63.02 kB / 0.5215 GB, free: 33.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.3249, allocations: 94.89 kB / 0.5216 GB, free: 33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3249, allocations: 2.844 kB / 0.5216 GB, free: 33 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002169/0.3251, allocations: 134.2 kB / 0.5217 GB, free: 32.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.3251, allocations: 9.375 kB / 0.5217 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3251, allocations: 2.75 kB / 0.5217 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3252, allocations: 2.75 kB / 0.5217 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.824e-05/0.3253, allocations: 27.53 kB / 0.5217 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.3253, allocations: 6.656 kB / 0.5218 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.085e-05/0.3253, allocations: 13.34 kB / 0.5218 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.3254, allocations: 2.812 kB / 0.5218 GB, free: 32.91 MB / 378.7 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 7.047e-05/0.3254, allocations: 125.5 kB / 0.5219 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.3255, allocations: 19.78 kB / 0.5219 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.876e-05/0.3255, allocations: 25.84 kB / 0.5219 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3255, allocations: 3.938 kB / 0.5219 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3255, allocations: 2.594 kB / 0.5219 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3255, allocations: 0 / 0.5219 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.3256, allocations: 209.7 kB / 0.5221 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3257, allocations: 0 / 0.5221 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.478e-05/0.3257, allocations: 19.72 kB / 0.5222 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.3258, allocations: 2.812 kB / 0.5222 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.3258, allocations: 4 kB / 0.5222 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3258, allocations: 3.938 kB / 0.5222 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.3258, allocations: 6.938 kB / 0.5222 GB, free: 32.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.3271, allocations: 1.428 MB / 0.5236 GB, free: 31.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.662e-05/0.3271, allocations: 87.77 kB / 0.5237 GB, free: 31.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.3271, allocations: 0 / 0.5237 GB, free: 31.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.696e-05/0.3272, allocations: 9.234 kB / 0.5237 GB, free: 31.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.979e-05/0.3272, allocations: 6.844 kB / 0.5237 GB, free: 31.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.3273, allocations: 6.156 kB / 0.5237 GB, free: 31.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.103e-05/0.3274, allocations: 147.1 kB / 0.5238 GB, free: 31.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3274, allocations: 4.062 kB / 0.5238 GB, free: 31.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002923/0.3277, allocations: 43.42 kB / 0.5239 GB, free: 31.07 MB / 378.7 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.0008101/0.3285, allocations: 392.2 kB / 0.5242 GB, free: 30.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002026/0.3287, allocations: 84.95 kB / 0.5243 GB, free: 30.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3287, allocations: 3.938 kB / 0.5243 GB, free: 30.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-05/0.3288, allocations: 44.41 kB / 0.5244 GB, free: 30.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.3291, allocations: 40 kB / 0.5244 GB, free: 30.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004624/0.3296, allocations: 425.8 kB / 0.5248 GB, free: 30.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.3297, allocations: 0.7139 MB / 0.5255 GB, free: 29.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.56e-05/0.3298, allocations: 24.19 kB / 0.5255 GB, free: 29.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.3298, allocations: 19.41 kB / 0.5255 GB, free: 29.76 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3298, allocations: 0 / 0.5255 GB, free: 29.76 MB / 378.7 MB Notification: Performance of Templates: time 0.00393/0.3338, allocations: 1.897 MB / 0.5274 GB, free: 29.56 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches