Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001132/0.001132, 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.304/1.304, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009249/0.0009249, allocations: 105.5 kB / 296.7 MB, free: 6.504 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3925/0.3925, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.001059, allocations: 60.19 kB / 465.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3318, allocations: 62.02 MB / 0.5151 GB, free: 37.71 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003482/0.3354, allocations: 1.65 MB / 0.5168 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008824/0.3363, allocations: 0.5313 MB / 0.5173 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.767e-05/0.3364, allocations: 0 / 0.5173 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.3366, allocations: 19.89 kB / 0.5173 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002556/0.3369, allocations: 58.69 kB / 0.5174 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.3372, allocations: 108.6 kB / 0.5175 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.3374, allocations: 60.42 kB / 0.5175 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.967e-05/0.3375, allocations: 12.09 kB / 0.5175 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.042e-05/0.3375, allocations: 31.5 kB / 0.5176 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.44e-05/0.3376, allocations: 16.91 kB / 0.5176 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.3376, allocations: 6.875 kB / 0.5176 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.581e-05/0.3377, allocations: 33.12 kB / 0.5176 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.912e-05/0.3378, allocations: 13.41 kB / 0.5176 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.147e-05/0.3378, allocations: 26.36 kB / 0.5176 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.3379, allocations: 76.2 kB / 0.5177 GB, free: 35.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.338, allocations: 2.953 kB / 0.5177 GB, free: 35.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.338, allocations: 0 / 0.5177 GB, free: 35.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.338, allocations: 0 / 0.5177 GB, free: 35.99 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003894/0.3384, allocations: 380.4 kB / 0.5181 GB, free: 35.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3384, allocations: 12.84 kB / 0.5181 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.3385, allocations: 8.688 kB / 0.5181 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.3386, allocations: 196 kB / 0.5183 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.3386, allocations: 4.359 kB / 0.5183 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.3386, allocations: 3.281 kB / 0.5183 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.3388, allocations: 51.86 kB / 0.5184 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3388, allocations: 4 kB / 0.5184 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.3388, allocations: 0 / 0.5184 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3388, allocations: 0 / 0.5184 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.985e-05/0.3389, allocations: 25.11 kB / 0.5184 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003139/0.3392, allocations: 287.1 kB / 0.5187 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.3394, allocations: 40.97 kB / 0.5187 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.128e-05/0.3395, allocations: 20.77 kB / 0.5187 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.3395, allocations: 0 / 0.5187 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.3395, allocations: 34.56 kB / 0.5187 GB, free: 34.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3396, allocations: 0 / 0.5187 GB, free: 34.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005229/0.3401, allocations: 150.3 kB / 0.5189 GB, free: 34.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.3401, allocations: 51.41 kB / 0.5189 GB, free: 34.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.3402, allocations: 153 kB / 0.5191 GB, free: 34.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.754e-06/0.3402, allocations: 25.7 kB / 0.5191 GB, free: 34.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.343e-05/0.3403, allocations: 97.12 kB / 0.5192 GB, free: 34.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.3403, allocations: 19.69 kB / 0.5192 GB, free: 34.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.3403, allocations: 19.31 kB / 0.5192 GB, free: 34.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.36e-05/0.3404, allocations: 324.9 kB / 0.5195 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.527e-05/0.3405, allocations: 22.31 kB / 0.5196 GB, free: 34.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.542e-05/0.3405, allocations: 18.78 kB / 0.5196 GB, free: 34.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.3407, allocations: 57.16 kB / 0.5196 GB, free: 34.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3407, allocations: 4 kB / 0.5196 GB, free: 34.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001593/0.3408, allocations: 85.64 kB / 0.5197 GB, free: 34.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3409, allocations: 5.688 kB / 0.5197 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3409, allocations: 3.938 kB / 0.5197 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3409, allocations: 0 / 0.5197 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.678e-05/0.3409, allocations: 17.36 kB / 0.5198 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.341, allocations: 3.938 kB / 0.5198 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.713e-05/0.341, allocations: 5.719 kB / 0.5198 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.341, allocations: 4 kB / 0.5198 GB, free: 34.13 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.859e-05/0.3411, allocations: 123.7 kB / 0.5199 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.3411, allocations: 6.812 kB / 0.5199 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002053/0.3413, allocations: 94.09 kB / 0.52 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3413, allocations: 2.781 kB / 0.52 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3413, allocations: 0 / 0.52 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3414, allocations: 0 / 0.52 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003509/0.3417, allocations: 357.2 kB / 0.5203 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3417, allocations: 0 / 0.5203 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.939e-05/0.3418, allocations: 11.77 kB / 0.5203 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3418, allocations: 2.719 kB / 0.5203 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.3418, allocations: 4 kB / 0.5203 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.3418, allocations: 4.125 kB / 0.5203 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3418, allocations: 7.234 kB / 0.5204 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004001/0.3422, allocations: 0.7616 MB / 0.5211 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.753e-05/0.3423, allocations: 83.92 kB / 0.5212 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.3423, allocations: 4 kB / 0.5212 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.448e-05/0.3424, allocations: 6.594 kB / 0.5212 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.3424, allocations: 7 kB / 0.5212 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.3424, allocations: 3.938 kB / 0.5212 GB, free: 32.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.473e-05/0.3425, allocations: 117.4 kB / 0.5213 GB, free: 32.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3425, allocations: 0 / 0.5213 GB, free: 32.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003277/0.3428, allocations: 15.22 kB / 0.5213 GB, free: 32.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008961/0.3437, allocations: 409 kB / 0.5217 GB, free: 32.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.3439, allocations: 54.55 kB / 0.5218 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3439, allocations: 0 / 0.5218 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.588e-05/0.344, allocations: 27.97 kB / 0.5218 GB, free: 32.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.3444, allocations: 17.89 kB / 0.5218 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004665/0.3449, allocations: 318.9 kB / 0.5221 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000172/0.3451, allocations: 0.6952 MB / 0.5228 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.346e-05/0.3451, allocations: 12.48 kB / 0.5228 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.3452, allocations: 10.19 kB / 0.5228 GB, free: 31.44 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3452, allocations: 7.875 kB / 0.5228 GB, free: 31.43 MB / 378.7 MB Notification: Performance of Templates: time 0.003227/0.3484, allocations: 1.085 MB / 0.5239 GB, free: 31.3 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches