Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.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.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00114/0.00114, 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.318/1.318, 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.00122/0.00122, allocations: 95.34 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3735/0.3735, allocations: 44.84 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 59.91 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3337, allocations: 62.01 MB / 0.5151 GB, free: 37.7 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003055/0.3368, allocations: 1.677 MB / 0.5168 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008554/0.3377, allocations: 0.524 MB / 0.5173 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.302e-05/0.3378, allocations: 3.938 kB / 0.5173 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.3381, allocations: 76 kB / 0.5174 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.3383, allocations: 93.92 kB / 0.5175 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.3386, allocations: 79.45 kB / 0.5175 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.3387, allocations: 78.36 kB / 0.5176 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3388, allocations: 16.53 kB / 0.5176 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.303e-05/0.3389, allocations: 30.08 kB / 0.5177 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.339, allocations: 59.67 kB / 0.5177 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.339, allocations: 2.969 kB / 0.5177 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.362e-05/0.3391, allocations: 41.23 kB / 0.5178 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.892e-05/0.3392, allocations: 23.78 kB / 0.5178 GB, free: 36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.192e-05/0.3392, allocations: 29.38 kB / 0.5178 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.3394, allocations: 101.6 kB / 0.5179 GB, free: 35.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3394, allocations: 0 / 0.5179 GB, free: 35.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3394, allocations: 2.938 kB / 0.5179 GB, free: 35.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.3395, allocations: 0 / 0.5179 GB, free: 35.93 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004346/0.3399, allocations: 418.9 kB / 0.5183 GB, free: 35.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3399, allocations: 8.781 kB / 0.5183 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.34, allocations: 12.28 kB / 0.5183 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.3401, allocations: 202.9 kB / 0.5185 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.712e-06/0.3402, allocations: 3.188 kB / 0.5185 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.3402, allocations: 7.172 kB / 0.5185 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.3403, allocations: 53.27 kB / 0.5186 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3403, allocations: 0 / 0.5186 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.3403, allocations: 3.938 kB / 0.5186 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.3404, allocations: 2.656 kB / 0.5186 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.328e-05/0.3404, allocations: 28.28 kB / 0.5186 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002921/0.3407, allocations: 296 kB / 0.5189 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.704e-05/0.3408, allocations: 42 kB / 0.5189 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.23e-05/0.3409, allocations: 14.77 kB / 0.5189 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.3409, allocations: 6.719 kB / 0.519 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.456e-05/0.3409, allocations: 37.97 kB / 0.519 GB, free: 34.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.073e-06/0.3409, allocations: 0 / 0.519 GB, free: 34.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007704/0.3417, allocations: 220.7 kB / 0.5192 GB, free: 34.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.3418, allocations: 54.44 kB / 0.5193 GB, free: 34.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.3419, allocations: 213.8 kB / 0.5195 GB, free: 34.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.3419, allocations: 32.39 kB / 0.5195 GB, free: 34.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/0.342, allocations: 104.9 kB / 0.5196 GB, free: 34.44 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.342, allocations: 26.53 kB / 0.5196 GB, free: 34.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.3421, allocations: 22.3 kB / 0.5196 GB, free: 34.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.088e-05/0.3421, allocations: 320.9 kB / 0.5199 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.9e-05/0.3422, allocations: 30.73 kB / 0.52 GB, free: 34.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.019e-05/0.3423, allocations: 24.94 kB / 0.52 GB, free: 34.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.3424, allocations: 58.75 kB / 0.5201 GB, free: 34.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3424, allocations: 0 / 0.5201 GB, free: 34.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001763/0.3426, allocations: 114.5 kB / 0.5202 GB, free: 33.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3426, allocations: 2.906 kB / 0.5202 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3426, allocations: 4 kB / 0.5202 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.3427, allocations: 2.781 kB / 0.5202 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.297e-05/0.3428, allocations: 17.8 kB / 0.5202 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3428, allocations: 0 / 0.5202 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.006e-05/0.3428, allocations: 10.09 kB / 0.5202 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.3428, allocations: 2.625 kB / 0.5202 GB, free: 33.96 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 (8): * Single equations (assignments): 8 * 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.628e-05/0.3429, allocations: 129 kB / 0.5203 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.3429, allocations: 10.72 kB / 0.5203 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.3432, allocations: 129.2 kB / 0.5205 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3432, allocations: 2.594 kB / 0.5205 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3432, allocations: 0 / 0.5205 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3432, allocations: 3.938 kB / 0.5205 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.3436, allocations: 403 kB / 0.5208 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3436, allocations: 2.969 kB / 0.5208 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.799e-05/0.3437, allocations: 15.33 kB / 0.5209 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.3437, allocations: 6.812 kB / 0.5209 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.3437, allocations: 0 / 0.5209 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3437, allocations: 3.938 kB / 0.5209 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.3437, allocations: 2.938 kB / 0.5209 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/0.3441, allocations: 0.7961 MB / 0.5217 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.474e-05/0.3441, allocations: 87.94 kB / 0.5217 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.3442, allocations: 2.906 kB / 0.5217 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.513e-05/0.3442, allocations: 6.141 kB / 0.5217 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.3443, allocations: 6.906 kB / 0.5218 GB, free: 32.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.3443, allocations: 2.875 kB / 0.5218 GB, free: 32.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.301e-05/0.3444, allocations: 167.3 kB / 0.5219 GB, free: 32.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3444, allocations: 3.938 kB / 0.5219 GB, free: 32.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000325/0.3447, allocations: 32.44 kB / 0.5219 GB, free: 32.41 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0008874/0.3456, allocations: 441.5 kB / 0.5224 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.3458, allocations: 70.62 kB / 0.5224 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3458, allocations: 0 / 0.5224 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.432e-05/0.3459, allocations: 30.45 kB / 0.5225 GB, free: 32.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.3463, allocations: 22.83 kB / 0.5225 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004479/0.3467, allocations: 416 kB / 0.5229 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.3469, allocations: 0.7112 MB / 0.5236 GB, free: 31.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.596e-05/0.3469, allocations: 6.547 kB / 0.5236 GB, free: 31.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.774e-05/0.347, allocations: 16.41 kB / 0.5236 GB, free: 31.11 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.347, allocations: 0 / 0.5236 GB, free: 31.11 MB / 378.7 MB Notification: Performance of Templates: time 0.003351/0.3503, allocations: 1.322 MB / 0.5249 GB, free: 30.94 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches