Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001079/0.001079, 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.273/1.273, allocations: 226.8 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001043/0.001043, allocations: 107 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3047/0.3047, allocations: 44.84 MB / 392.7 MB, free: 34.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001051, allocations: 63.84 kB / 465.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3099, allocations: 62.01 MB / 0.5151 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003175/0.3131, allocations: 1.67 MB / 0.5168 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008263/0.3139, allocations: 0.5394 MB / 0.5173 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.862e-05/0.314, allocations: 6.938 kB / 0.5173 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003209/0.3143, allocations: 75.84 kB / 0.5174 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.3145, allocations: 85.53 kB / 0.5175 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.3148, allocations: 98.81 kB / 0.5176 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.315, allocations: 81.36 kB / 0.5176 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.3151, allocations: 21.66 kB / 0.5177 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.737e-05/0.3152, allocations: 35.86 kB / 0.5177 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.3153, allocations: 54.16 kB / 0.5177 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.3153, allocations: 2.906 kB / 0.5177 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.008e-05/0.3154, allocations: 49.5 kB / 0.5178 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.475e-05/0.3155, allocations: 19.7 kB / 0.5178 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.75e-05/0.3155, allocations: 28.73 kB / 0.5178 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.3156, allocations: 101 kB / 0.5179 GB, free: 36.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3157, allocations: 3.328 kB / 0.5179 GB, free: 36.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.3157, allocations: 0 / 0.5179 GB, free: 36.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.3157, allocations: 0 / 0.5179 GB, free: 36.04 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.0004169/0.3161, allocations: 416.8 kB / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.3161, allocations: 8.688 kB / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.3162, allocations: 14.53 kB / 0.5184 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.3163, allocations: 202.9 kB / 0.5186 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.3164, allocations: 384 / 0.5186 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.3164, allocations: 7.281 kB / 0.5186 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.3165, allocations: 55.59 kB / 0.5186 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3165, allocations: 0 / 0.5186 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.3166, allocations: 0 / 0.5186 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3166, allocations: 0 / 0.5186 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.995e-05/0.3167, allocations: 35.86 kB / 0.5186 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.317, allocations: 301.7 kB / 0.5189 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.3171, allocations: 44.17 kB / 0.519 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.872e-05/0.3172, allocations: 20.88 kB / 0.519 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.3172, allocations: 3.938 kB / 0.519 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.3172, allocations: 37.75 kB / 0.519 GB, free: 34.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.3172, allocations: 0 / 0.519 GB, free: 34.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008833/0.3181, allocations: 234.5 kB / 0.5193 GB, free: 34.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.3182, allocations: 54.56 kB / 0.5193 GB, free: 34.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.3184, allocations: 220.6 kB / 0.5195 GB, free: 34.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.3184, allocations: 25.7 kB / 0.5195 GB, free: 34.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/0.3184, allocations: 108.6 kB / 0.5197 GB, free: 34.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.3184, allocations: 30.44 kB / 0.5197 GB, free: 34.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.3185, allocations: 21.88 kB / 0.5197 GB, free: 34.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.183e-05/0.3185, allocations: 321.6 kB / 0.52 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.317e-05/0.3186, allocations: 29.38 kB / 0.52 GB, free: 34.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.559e-05/0.3187, allocations: 35.91 kB / 0.5201 GB, free: 34.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.3188, allocations: 79.14 kB / 0.5201 GB, free: 34.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3189, allocations: 0 / 0.5201 GB, free: 34.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001813/0.319, allocations: 114.5 kB / 0.5203 GB, free: 34.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3191, allocations: 5.969 kB / 0.5203 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3191, allocations: 0 / 0.5203 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3191, allocations: 0 / 0.5203 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.206e-05/0.3192, allocations: 20.81 kB / 0.5203 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3192, allocations: 0 / 0.5203 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.913e-05/0.3192, allocations: 10.94 kB / 0.5203 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.3193, allocations: 3.688 kB / 0.5203 GB, free: 34.05 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.012e-05/0.3193, allocations: 130.6 kB / 0.5204 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.3194, allocations: 9.719 kB / 0.5204 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.3196, allocations: 135.6 kB / 0.5206 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3196, allocations: 4.422 kB / 0.5206 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3197, allocations: 2.75 kB / 0.5206 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3197, allocations: 3.938 kB / 0.5206 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004571/0.3201, allocations: 414.3 kB / 0.521 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3201, allocations: 0 / 0.521 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.314e-05/0.3202, allocations: 21.83 kB / 0.521 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3202, allocations: 7.969 kB / 0.521 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.3202, allocations: 10.39 kB / 0.521 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3203, allocations: 0 / 0.521 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3203, allocations: 0 / 0.521 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004991/0.3208, allocations: 0.8104 MB / 0.5218 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.344e-05/0.3208, allocations: 83.7 kB / 0.5219 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.3208, allocations: 9.984 kB / 0.5219 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.65e-05/0.3209, allocations: 2.75 kB / 0.5219 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.321, allocations: 8.422 kB / 0.5219 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.321, allocations: 0 / 0.5219 GB, free: 32.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001069/0.3211, allocations: 170.6 kB / 0.5221 GB, free: 32.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3211, allocations: 3.938 kB / 0.5221 GB, free: 32.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003355/0.3214, allocations: 31.25 kB / 0.5221 GB, free: 32.49 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.00102/0.3225, allocations: 446.1 kB / 0.5225 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.3227, allocations: 82.84 kB / 0.5226 GB, free: 32.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3227, allocations: 0 / 0.5226 GB, free: 32.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.227e-05/0.3228, allocations: 43 kB / 0.5226 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.3231, allocations: 16.91 kB / 0.5226 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/0.3236, allocations: 425.8 kB / 0.5231 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.3237, allocations: 0.7118 MB / 0.5238 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.078e-05/0.3238, allocations: 26.89 kB / 0.5238 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.58e-05/0.3238, allocations: 15.25 kB / 0.5238 GB, free: 31.17 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3238, allocations: 0 / 0.5238 GB, free: 31.17 MB / 378.7 MB Notification: Performance of Templates: time 0.003081/0.3269, allocations: 1.347 MB / 0.5251 GB, free: 31.01 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches