Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001533/0.001533, 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.339/1.339, 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.000955/0.000955, allocations: 96.69 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3439/0.3439, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001153, allocations: 63.89 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3153, allocations: 62.02 MB / 0.5152 GB, free: 37.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002676/0.3181, allocations: 1.802 MB / 0.5169 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.3194, allocations: 1.015 MB / 0.5179 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.6e-05/0.3194, allocations: 10.69 kB / 0.5179 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.3197, allocations: 39.53 kB / 0.518 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.3199, allocations: 73.38 kB / 0.518 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.3201, allocations: 93.72 kB / 0.5181 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.3202, allocations: 96.17 kB / 0.5182 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.543e-05/0.3203, allocations: 20.02 kB / 0.5182 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.925e-05/0.3204, allocations: 37.78 kB / 0.5183 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.658e-05/0.3204, allocations: 34.89 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.3205, allocations: 6.906 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.657e-05/0.3205, allocations: 42.44 kB / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.55e-05/0.3206, allocations: 19.19 kB / 0.5184 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.419e-05/0.3206, allocations: 26.66 kB / 0.5184 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.3208, allocations: 115.5 kB / 0.5185 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3208, allocations: 0 / 0.5185 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3208, allocations: 3.938 kB / 0.5185 GB, free: 35.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.3208, allocations: 0 / 0.5185 GB, free: 35.55 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003681/0.3212, allocations: 408.5 kB / 0.5189 GB, free: 35.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.568e-05/0.3212, allocations: 13.69 kB / 0.5189 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.3213, allocations: 13.25 kB / 0.5189 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.3214, allocations: 213.1 kB / 0.5191 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.3214, allocations: 3.312 kB / 0.5191 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.3215, allocations: 7.188 kB / 0.5191 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.3216, allocations: 59.27 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.3216, allocations: 0 / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.3216, allocations: 3.938 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.3216, allocations: 2.969 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.849e-05/0.3217, allocations: 23.78 kB / 0.5192 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002206/0.3219, allocations: 283 kB / 0.5195 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.322, allocations: 52.67 kB / 0.5195 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.582e-05/0.3221, allocations: 22.34 kB / 0.5196 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.3221, allocations: 6.875 kB / 0.5196 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.3223, allocations: 69.28 kB / 0.5196 GB, free: 34.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.3223, allocations: 0 / 0.5196 GB, free: 34.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004023/0.3227, allocations: 180.5 kB / 0.5198 GB, free: 34.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.74e-05/0.3227, allocations: 54.16 kB / 0.5199 GB, free: 34.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.3228, allocations: 179.5 kB / 0.52 GB, free: 34.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.3228, allocations: 28.84 kB / 0.5201 GB, free: 34.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.121e-05/0.3229, allocations: 106 kB / 0.5202 GB, free: 34.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.3229, allocations: 25.52 kB / 0.5202 GB, free: 34.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.3229, allocations: 22.66 kB / 0.5202 GB, free: 34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.649e-05/0.323, allocations: 329.1 kB / 0.5205 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.989e-05/0.323, allocations: 19.25 kB / 0.5205 GB, free: 33.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.253e-05/0.3231, allocations: 39 kB / 0.5206 GB, free: 33.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.24e-05/0.3232, allocations: 63.03 kB / 0.5206 GB, free: 33.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3232, allocations: 3.422 kB / 0.5206 GB, free: 33.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001467/0.3234, allocations: 99.2 kB / 0.5207 GB, free: 33.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.3234, allocations: 5.688 kB / 0.5207 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.3234, allocations: 0 / 0.5207 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.3234, allocations: 6.609 kB / 0.5207 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.925e-05/0.3235, allocations: 17.97 kB / 0.5208 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.3235, allocations: 2.531 kB / 0.5208 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.004e-05/0.3235, allocations: 9.844 kB / 0.5208 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.83e-06/0.3235, allocations: 6.812 kB / 0.5208 GB, free: 33.53 MB / 378.7 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 5.662e-05/0.3236, allocations: 126 kB / 0.5209 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.3236, allocations: 9.406 kB / 0.5209 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.3237, allocations: 15.44 kB / 0.5209 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3237, allocations: 6.625 kB / 0.5209 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.3237, allocations: 0 / 0.5209 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.3237, allocations: 3.938 kB / 0.5209 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/0.324, allocations: 400.5 kB / 0.5213 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.324, allocations: 3.938 kB / 0.5213 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.844e-05/0.324, allocations: 9.078 kB / 0.5213 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.324, allocations: 2.812 kB / 0.5213 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.3241, allocations: 3.938 kB / 0.5213 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3241, allocations: 2.812 kB / 0.5213 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3241, allocations: 0 / 0.5213 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.3244, allocations: 0.7888 MB / 0.5221 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.3245, allocations: 83.73 kB / 0.5222 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.3245, allocations: 384 / 0.5222 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.515e-05/0.3246, allocations: 2.938 kB / 0.5222 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.3e-05/0.3246, allocations: 10.17 kB / 0.5222 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.3246, allocations: 6.844 kB / 0.5222 GB, free: 32.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.091e-05/0.3247, allocations: 145.1 kB / 0.5223 GB, free: 32.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3247, allocations: 3.938 kB / 0.5223 GB, free: 32.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003236/0.325, allocations: 24.58 kB / 0.5224 GB, free: 32.05 MB / 378.7 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.0008406/0.3259, allocations: 461.1 kB / 0.5228 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000144/0.326, allocations: 60.61 kB / 0.5229 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.326, allocations: 0 / 0.5229 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.275e-05/0.3261, allocations: 31.73 kB / 0.5229 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.3264, allocations: 27.09 kB / 0.5229 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003847/0.3268, allocations: 371.2 kB / 0.5233 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.3269, allocations: 0.7053 MB / 0.524 GB, free: 30.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.93e-05/0.327, allocations: 21.62 kB / 0.524 GB, free: 30.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.965e-05/0.327, allocations: 19.55 kB / 0.524 GB, free: 30.75 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.327, allocations: 0 / 0.524 GB, free: 30.75 MB / 378.7 MB Notification: Performance of Templates: time 0.00337/0.3304, allocations: 1.696 MB / 0.5257 GB, free: 30.55 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches