Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001628/0.001628, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00184/0.00184, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2006/0.2006, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 71.89 kB / 482.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3155, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002991/0.3185, allocations: 1.682 MB / 0.5334 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.3202, allocations: 1.002 MB / 0.5344 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.203e-05/0.3203, allocations: 0 / 0.5344 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.3206, allocations: 58.98 kB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003283/0.3209, allocations: 97.78 kB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.3211, allocations: 70.98 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.3213, allocations: 108.9 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.966e-05/0.3213, allocations: 9.734 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.771e-05/0.3214, allocations: 45.66 kB / 0.5347 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.245e-05/0.3215, allocations: 37.72 kB / 0.5348 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.3215, allocations: 2.75 kB / 0.5348 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.3216, allocations: 32.61 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.132e-05/0.3217, allocations: 21.41 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.577e-05/0.3218, allocations: 35.98 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.3221, allocations: 107.2 kB / 0.535 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.3221, allocations: 1.375 kB / 0.535 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3221, allocations: 0 / 0.535 GB, free: 11.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.3221, allocations: 4 kB / 0.535 GB, free: 11.11 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005767/0.3227, allocations: 400.4 kB / 0.5353 GB, free: 10.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.3228, allocations: 9.625 kB / 0.5354 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.3228, allocations: 12.88 kB / 0.5354 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.3231, allocations: 211.2 kB / 0.5356 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.3231, allocations: 1.75 kB / 0.5356 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.3231, allocations: 5.5 kB / 0.5356 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.3232, allocations: 51.3 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.3233, allocations: 3.938 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.3233, allocations: 5.312 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.3233, allocations: 0 / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.285e-05/0.3234, allocations: 16.23 kB / 0.5356 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.3236, allocations: 178.1 kB / 0.5358 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.3237, allocations: 51.45 kB / 0.5359 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.385e-05/0.3238, allocations: 28.3 kB / 0.5359 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.3238, allocations: 1.094 kB / 0.5359 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001333/0.324, allocations: 73.22 kB / 0.536 GB, free: 10.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.324, allocations: 0 / 0.536 GB, free: 10.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002707/0.3243, allocations: 91.33 kB / 0.536 GB, free: 9.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.3243, allocations: 52.44 kB / 0.5361 GB, free: 9.934 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.3245, allocations: 185.4 kB / 0.5363 GB, free: 9.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.3245, allocations: 30.94 kB / 0.5363 GB, free: 9.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.713e-05/0.3246, allocations: 96.17 kB / 0.5364 GB, free: 9.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.3246, allocations: 25.81 kB / 0.5364 GB, free: 9.637 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.3247, allocations: 19 kB / 0.5364 GB, free: 9.617 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3248, allocations: 322 kB / 0.5367 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.047e-05/0.3248, allocations: 15.78 kB / 0.5368 GB, free: 9.289 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.035e-05/0.3249, allocations: 39.22 kB / 0.5368 GB, free: 9.254 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.325, allocations: 43.61 kB / 0.5368 GB, free: 9.223 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.325, allocations: 0 / 0.5368 GB, free: 9.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000154/0.3252, allocations: 83.22 kB / 0.5369 GB, free: 9.164 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3252, allocations: 5.5 kB / 0.5369 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3252, allocations: 1.062 kB / 0.5369 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3252, allocations: 1.094 kB / 0.5369 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.552e-05/0.3253, allocations: 13.11 kB / 0.5369 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3253, allocations: 4.031 kB / 0.5369 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.689e-05/0.3254, allocations: 14.22 kB / 0.537 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.3254, allocations: 3.219 kB / 0.537 GB, free: 9.145 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.685e-05/0.3255, allocations: 128.6 kB / 0.5371 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.3255, allocations: 8.531 kB / 0.5371 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.3256, allocations: 13.5 kB / 0.5371 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3256, allocations: 1.188 kB / 0.5371 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3256, allocations: 0 / 0.5371 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3256, allocations: 1.062 kB / 0.5371 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.3258, allocations: 192.1 kB / 0.5373 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3258, allocations: 0 / 0.5373 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.997e-05/0.3258, allocations: 3.5 kB / 0.5373 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.3258, allocations: 3.984 kB / 0.5373 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.3258, allocations: 1.156 kB / 0.5373 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3258, allocations: 1.188 kB / 0.5373 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3258, allocations: 3.938 kB / 0.5373 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.326, allocations: 121.1 kB / 0.5374 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.3261, allocations: 88.2 kB / 0.5375 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.3261, allocations: 1.125 kB / 0.5375 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.74e-05/0.3262, allocations: 5.234 kB / 0.5375 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.3262, allocations: 6.156 kB / 0.5375 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.3262, allocations: 2.281 kB / 0.5375 GB, free: 8.555 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.3263, allocations: 139.8 kB / 0.5376 GB, free: 8.453 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3263, allocations: 0 / 0.5376 GB, free: 8.453 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002236/0.3266, allocations: 16.66 kB / 0.5377 GB, free: 8.449 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001008/0.3276, allocations: 401.8 kB / 0.538 GB, free: 8.238 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.3278, allocations: 43.14 kB / 0.5381 GB, free: 8.219 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3278, allocations: 0 / 0.5381 GB, free: 8.219 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.486e-05/0.3279, allocations: 24.23 kB / 0.5381 GB, free: 8.207 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.3282, allocations: 34.42 kB / 0.5381 GB, free: 8.191 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004509/0.3286, allocations: 216.4 kB / 0.5384 GB, free: 8 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.3289, allocations: 0.6986 MB / 0.539 GB, free: 7.293 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.3289, allocations: 18.2 kB / 0.5391 GB, free: 7.285 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.329, allocations: 3.938 kB / 0.5391 GB, free: 7.281 MB / 398.1 MB Notification: Performance of Templates: time 0.003709/0.3327, allocations: 1.704 MB / 0.5407 GB, free: 6.402 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches