Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001236/0.001237, 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.264/1.264, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001055/0.001055, allocations: 98.59 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3379/0.3379, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001134, allocations: 63.91 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3112, allocations: 62.02 MB / 0.5152 GB, free: 37.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002814/0.314, allocations: 2.006 MB / 0.5171 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.3155, allocations: 1.066 MB / 0.5182 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.3156, allocations: 2.719 kB / 0.5182 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.3159, allocations: 40.36 kB / 0.5182 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002609/0.3162, allocations: 80.47 kB / 0.5183 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.3165, allocations: 111.6 kB / 0.5184 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.3167, allocations: 139.3 kB / 0.5185 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.977e-05/0.3168, allocations: 31.45 kB / 0.5185 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.04e-05/0.3169, allocations: 52.16 kB / 0.5186 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.441e-05/0.317, allocations: 50.36 kB / 0.5186 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.87e-05/0.317, allocations: 5.438 kB / 0.5187 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.835e-05/0.3171, allocations: 50.25 kB / 0.5187 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.933e-05/0.3172, allocations: 29.05 kB / 0.5187 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.852e-05/0.3172, allocations: 45.52 kB / 0.5188 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.3175, allocations: 146.1 kB / 0.5189 GB, free: 35.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3175, allocations: 3.328 kB / 0.5189 GB, free: 35.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.3175, allocations: 0 / 0.5189 GB, free: 35.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.3175, allocations: 0 / 0.5189 GB, free: 35.29 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.0005029/0.318, allocations: 479 kB / 0.5194 GB, free: 34.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.833e-05/0.318, allocations: 10.97 kB / 0.5194 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.3181, allocations: 22.56 kB / 0.5194 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.3183, allocations: 226.5 kB / 0.5196 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.3183, allocations: 6.578 kB / 0.5196 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.3183, allocations: 17.91 kB / 0.5196 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.3185, allocations: 102.4 kB / 0.5197 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3186, allocations: 0 / 0.5197 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.3186, allocations: 6.812 kB / 0.5197 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3186, allocations: 6.75 kB / 0.5198 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.3187, allocations: 48.09 kB / 0.5198 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/0.3192, allocations: 0.5125 MB / 0.5203 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/0.3195, allocations: 87.45 kB / 0.5204 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.714e-05/0.3196, allocations: 42.19 kB / 0.5204 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.3196, allocations: 0 / 0.5204 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001997/0.3198, allocations: 83.28 kB / 0.5205 GB, free: 33.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.193e-06/0.3198, allocations: 0 / 0.5205 GB, free: 33.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003326/0.3202, allocations: 147 kB / 0.5206 GB, free: 33.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.3202, allocations: 58.58 kB / 0.5207 GB, free: 33.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.3204, allocations: 199.4 kB / 0.5209 GB, free: 33.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.3204, allocations: 25.7 kB / 0.5209 GB, free: 33.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.3204, allocations: 116.1 kB / 0.521 GB, free: 33.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.3205, allocations: 33.05 kB / 0.5211 GB, free: 33.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-05/0.3205, allocations: 32.31 kB / 0.5211 GB, free: 33.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.675e-05/0.3206, allocations: 327.8 kB / 0.5214 GB, free: 33.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.861e-05/0.3207, allocations: 32.41 kB / 0.5214 GB, free: 33.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.95e-05/0.3207, allocations: 57.84 kB / 0.5215 GB, free: 33.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.3209, allocations: 101.1 kB / 0.5216 GB, free: 32.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3209, allocations: 0 / 0.5216 GB, free: 32.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002235/0.3211, allocations: 136.4 kB / 0.5217 GB, free: 32.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.3212, allocations: 5.875 kB / 0.5217 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.3212, allocations: 6.969 kB / 0.5217 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3212, allocations: 3.234 kB / 0.5217 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.997e-05/0.3213, allocations: 32.75 kB / 0.5218 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3213, allocations: 2.938 kB / 0.5218 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.332e-05/0.3214, allocations: 14.31 kB / 0.5218 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.3214, allocations: 2.875 kB / 0.5218 GB, free: 32.88 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 0.0001045/0.3215, allocations: 129.8 kB / 0.5219 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.3215, allocations: 16.56 kB / 0.5219 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.3216, allocations: 19.64 kB / 0.5219 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3216, allocations: 10.78 kB / 0.5219 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3216, allocations: 0 / 0.5219 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3216, allocations: 0 / 0.5219 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.3217, allocations: 215.1 kB / 0.5221 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3217, allocations: 0 / 0.5221 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.738e-05/0.3218, allocations: 16 kB / 0.5222 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.3218, allocations: 3.188 kB / 0.5222 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.3218, allocations: 0 / 0.5222 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3218, allocations: 7.938 kB / 0.5222 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3218, allocations: 0 / 0.5222 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.3232, allocations: 1.424 MB / 0.5236 GB, free: 31.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.396e-05/0.3233, allocations: 87.64 kB / 0.5236 GB, free: 31.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.3233, allocations: 2.75 kB / 0.5237 GB, free: 31.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.957e-05/0.3233, allocations: 9.797 kB / 0.5237 GB, free: 31.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.3234, allocations: 6.25 kB / 0.5237 GB, free: 31.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.3234, allocations: 5.062 kB / 0.5237 GB, free: 31.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.046e-05/0.3235, allocations: 150.6 kB / 0.5238 GB, free: 31.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3235, allocations: 0 / 0.5238 GB, free: 31.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003015/0.3238, allocations: 42.64 kB / 0.5239 GB, free: 31.04 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.0008029/0.3246, allocations: 403.9 kB / 0.5242 GB, free: 30.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.3249, allocations: 86.31 kB / 0.5243 GB, free: 30.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3249, allocations: 7.062 kB / 0.5243 GB, free: 30.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.679e-05/0.325, allocations: 36.59 kB / 0.5244 GB, free: 30.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.3252, allocations: 36.28 kB / 0.5244 GB, free: 30.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005368/0.3258, allocations: 432.3 kB / 0.5248 GB, free: 30.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.326, allocations: 0.7149 MB / 0.5255 GB, free: 29.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.452e-05/0.326, allocations: 23.25 kB / 0.5255 GB, free: 29.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.3261, allocations: 15.72 kB / 0.5255 GB, free: 29.73 MB / 378.7 MB Notification: Performance of SimCode: time 3.6e-07/0.3261, allocations: 2.844 kB / 0.5255 GB, free: 29.73 MB / 378.7 MB Notification: Performance of Templates: time 0.004462/0.3305, allocations: 1.89 MB / 0.5274 GB, free: 29.53 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches