Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001146/0.001146, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001266/0.001266, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2031/0.2031, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 75.88 kB / 482 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3113, allocations: 62.44 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002996/0.3143, allocations: 1.618 MB / 0.5333 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.3154, allocations: 0.5404 MB / 0.5338 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.457e-05/0.3154, allocations: 7.938 kB / 0.5338 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.3158, allocations: 124.2 kB / 0.5339 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000324/0.3161, allocations: 125.7 kB / 0.534 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.3165, allocations: 107.5 kB / 0.5341 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.3167, allocations: 101.7 kB / 0.5342 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3168, allocations: 16.22 kB / 0.5343 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.07e-05/0.3168, allocations: 47.03 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.317, allocations: 85.44 kB / 0.5344 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.317, allocations: 3.312 kB / 0.5344 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.3172, allocations: 49.7 kB / 0.5344 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.979e-05/0.3172, allocations: 35.06 kB / 0.5345 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.547e-05/0.3173, allocations: 38.28 kB / 0.5345 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.3175, allocations: 119.8 kB / 0.5346 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3175, allocations: 1.125 kB / 0.5346 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.3175, allocations: 0 / 0.5346 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.3175, allocations: 0 / 0.5346 GB, free: 11.41 MB / 398.1 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.0005527/0.3181, allocations: 439.5 kB / 0.535 GB, free: 10.97 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3181, allocations: 9.594 kB / 0.535 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.439e-05/0.3182, allocations: 18.58 kB / 0.5351 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.3184, allocations: 214.6 kB / 0.5353 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.3184, allocations: 5.531 kB / 0.5353 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.3184, allocations: 2.75 kB / 0.5353 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.3186, allocations: 55.59 kB / 0.5353 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3186, allocations: 0 / 0.5353 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.3186, allocations: 1.188 kB / 0.5353 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3186, allocations: 3.984 kB / 0.5353 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.981e-05/0.3187, allocations: 24.45 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.3192, allocations: 324.1 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.3193, allocations: 44.08 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.22e-05/0.3194, allocations: 17.11 kB / 0.5357 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.3194, allocations: 0 / 0.5357 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.3194, allocations: 36.02 kB / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.3194, allocations: 0 / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009241/0.3204, allocations: 256.6 kB / 0.536 GB, free: 10.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.3204, allocations: 52.78 kB / 0.5361 GB, free: 10.03 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.3207, allocations: 278.7 kB / 0.5363 GB, free: 9.852 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.3207, allocations: 26.67 kB / 0.5363 GB, free: 9.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.479e-05/0.3208, allocations: 119.7 kB / 0.5365 GB, free: 9.707 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/0.3208, allocations: 26.83 kB / 0.5365 GB, free: 9.684 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.3209, allocations: 23.38 kB / 0.5365 GB, free: 9.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.321, allocations: 324 kB / 0.5368 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-05/0.3211, allocations: 32.16 kB / 0.5368 GB, free: 9.324 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.76e-05/0.3212, allocations: 29.67 kB / 0.5369 GB, free: 9.312 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.3214, allocations: 85.62 kB / 0.537 GB, free: 9.262 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3214, allocations: 0 / 0.537 GB, free: 9.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002421/0.3216, allocations: 111.2 kB / 0.5371 GB, free: 9.195 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3217, allocations: 4.75 kB / 0.5371 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3217, allocations: 3.938 kB / 0.5371 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.3217, allocations: 1.094 kB / 0.5371 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.3218, allocations: 17.23 kB / 0.5371 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3218, allocations: 1.125 kB / 0.5371 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.371e-05/0.3219, allocations: 19.52 kB / 0.5371 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.3219, allocations: 10.31 kB / 0.5371 GB, free: 9.164 MB / 398.1 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 0.0001223/0.322, allocations: 133.4 kB / 0.5372 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.3221, allocations: 15 kB / 0.5373 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/0.3224, allocations: 135.9 kB / 0.5374 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3224, allocations: 1.062 kB / 0.5374 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3224, allocations: 1.094 kB / 0.5374 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3224, allocations: 7.938 kB / 0.5374 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005436/0.323, allocations: 429.2 kB / 0.5378 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.323, allocations: 0 / 0.5378 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.166e-05/0.323, allocations: 13.78 kB / 0.5378 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.3231, allocations: 5.156 kB / 0.5378 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.3231, allocations: 9.234 kB / 0.5378 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3231, allocations: 1.094 kB / 0.5378 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3231, allocations: 4.031 kB / 0.5378 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.3234, allocations: 218.2 kB / 0.538 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.671e-05/0.3234, allocations: 92.58 kB / 0.5381 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.3235, allocations: 1.125 kB / 0.5381 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.082e-05/0.3236, allocations: 7.484 kB / 0.5381 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.3236, allocations: 7.781 kB / 0.5382 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.3236, allocations: 10.14 kB / 0.5382 GB, free: 8.215 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001705/0.3238, allocations: 204.8 kB / 0.5384 GB, free: 8.094 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3238, allocations: 1.125 kB / 0.5384 GB, free: 8.094 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.3241, allocations: 18.47 kB / 0.5384 GB, free: 8.09 MB / 398.1 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.00104/0.3251, allocations: 459.9 kB / 0.5388 GB, free: 7.852 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002404/0.3254, allocations: 83.86 kB / 0.5389 GB, free: 7.812 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3254, allocations: 0 / 0.5389 GB, free: 7.812 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.3255, allocations: 39.3 kB / 0.5389 GB, free: 7.797 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.3259, allocations: 34.78 kB / 0.539 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005775/0.3264, allocations: 345.2 kB / 0.5393 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.3268, allocations: 0.723 MB / 0.54 GB, free: 6.809 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.849e-05/0.3268, allocations: 14.06 kB / 0.54 GB, free: 6.801 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3268, allocations: 4 kB / 0.54 GB, free: 6.797 MB / 398.1 MB Notification: Performance of Templates: time 0.00417/0.331, allocations: 1.955 MB / 0.5419 GB, free: 5.785 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches