Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001091/0.001091, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2165/0.2165, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 75.89 kB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3071, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003527/0.3107, allocations: 1.931 MB / 0.5336 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.3125, allocations: 1.063 MB / 0.5346 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.3127, allocations: 5.312 kB / 0.5347 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.313, allocations: 45.33 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003799/0.3134, allocations: 91.05 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.3137, allocations: 97.64 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000245/0.314, allocations: 145.2 kB / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.3141, allocations: 37.89 kB / 0.5351 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.3143, allocations: 57.72 kB / 0.5351 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.3144, allocations: 49.47 kB / 0.5352 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.3144, allocations: 10.86 kB / 0.5352 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.3145, allocations: 46.23 kB / 0.5352 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.029e-05/0.3146, allocations: 26.8 kB / 0.5352 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.061e-05/0.3147, allocations: 51.98 kB / 0.5353 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.315, allocations: 156.8 kB / 0.5354 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.315, allocations: 0 / 0.5354 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.315, allocations: 0 / 0.5354 GB, free: 10.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.315, allocations: 1.375 kB / 0.5354 GB, free: 10.72 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006881/0.3157, allocations: 482.6 kB / 0.5359 GB, free: 10.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.3157, allocations: 9.938 kB / 0.5359 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.327e-05/0.3158, allocations: 20.19 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.3161, allocations: 247.1 kB / 0.5362 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.3162, allocations: 3.594 kB / 0.5362 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.3162, allocations: 13 kB / 0.5362 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.3165, allocations: 102.6 kB / 0.5363 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3165, allocations: 0 / 0.5363 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.3165, allocations: 5.375 kB / 0.5363 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.3165, allocations: 2.406 kB / 0.5363 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.3167, allocations: 50.56 kB / 0.5363 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000601/0.3173, allocations: 0.5026 MB / 0.5368 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003445/0.3176, allocations: 88.25 kB / 0.5369 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.3178, allocations: 40 kB / 0.5369 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.3178, allocations: 1.219 kB / 0.5369 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/0.318, allocations: 90 kB / 0.537 GB, free: 9.176 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.318, allocations: 0 / 0.537 GB, free: 9.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004267/0.3184, allocations: 146.5 kB / 0.5372 GB, free: 9.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.3185, allocations: 56.56 kB / 0.5372 GB, free: 9.023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.3187, allocations: 195.9 kB / 0.5374 GB, free: 8.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.3187, allocations: 26.73 kB / 0.5374 GB, free: 8.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.176e-05/0.3188, allocations: 122.9 kB / 0.5376 GB, free: 8.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.3188, allocations: 32.11 kB / 0.5376 GB, free: 8.703 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.926e-05/0.3189, allocations: 34.27 kB / 0.5376 GB, free: 8.672 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.319, allocations: 330.8 kB / 0.5379 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.3191, allocations: 28.58 kB / 0.538 GB, free: 8.332 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.3192, allocations: 67.05 kB / 0.538 GB, free: 8.273 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.3194, allocations: 97.5 kB / 0.5381 GB, free: 8.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.3194, allocations: 1.062 kB / 0.5381 GB, free: 8.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002832/0.3197, allocations: 137.6 kB / 0.5382 GB, free: 8.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3198, allocations: 9.438 kB / 0.5383 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3198, allocations: 2.094 kB / 0.5383 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3198, allocations: 1.031 kB / 0.5383 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.3199, allocations: 26.67 kB / 0.5383 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.3199, allocations: 5.406 kB / 0.5383 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.811e-05/0.32, allocations: 13.89 kB / 0.5383 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/0.32, allocations: 4.156 kB / 0.5383 GB, free: 8.094 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001106/0.3201, allocations: 133.2 kB / 0.5384 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.3202, allocations: 18.38 kB / 0.5385 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.462e-05/0.3202, allocations: 17.36 kB / 0.5385 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.3202, allocations: 5.188 kB / 0.5385 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3202, allocations: 1 kB / 0.5385 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3203, allocations: 3.984 kB / 0.5385 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.3204, allocations: 211.3 kB / 0.5387 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.778e-06/0.3204, allocations: 3.984 kB / 0.5387 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.997e-05/0.3205, allocations: 13.94 kB / 0.5387 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3205, allocations: 0 / 0.5387 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.3206, allocations: 6 kB / 0.5387 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.3206, allocations: 7.938 kB / 0.5387 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3206, allocations: 1.062 kB / 0.5387 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.321, allocations: 185.2 kB / 0.5389 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.316e-05/0.321, allocations: 83.95 kB / 0.539 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.3211, allocations: 1.469 kB / 0.539 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.015e-05/0.3211, allocations: 16.55 kB / 0.539 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.3212, allocations: 6.812 kB / 0.539 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.3212, allocations: 8.156 kB / 0.539 GB, free: 7.434 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.3213, allocations: 145 kB / 0.5391 GB, free: 7.328 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3213, allocations: 0 / 0.5391 GB, free: 7.328 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.3216, allocations: 28.17 kB / 0.5392 GB, free: 7.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0009591/0.3226, allocations: 401.4 kB / 0.5395 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002653/0.3228, allocations: 86.52 kB / 0.5396 GB, free: 7.074 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3229, allocations: 0.9062 kB / 0.5396 GB, free: 7.074 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.323, allocations: 33.92 kB / 0.5397 GB, free: 7.062 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.3233, allocations: 46.94 kB / 0.5397 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005117/0.3238, allocations: 294 kB / 0.54 GB, free: 6.801 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.3241, allocations: 0.7153 MB / 0.5407 GB, free: 6.086 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.167e-05/0.3242, allocations: 21.34 kB / 0.5407 GB, free: 6.074 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3242, allocations: 0 / 0.5407 GB, free: 6.074 MB / 398.1 MB Notification: Performance of Templates: time 0.004796/0.329, allocations: 2.219 MB / 0.5429 GB, free: 4.926 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches