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.001535/0.001536, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001655/0.001655, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2559/0.2559, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 76.17 kB / 481.4 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5193/0.5208, allocations: 62.44 MB / 0.5311 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.00417/0.5251, allocations: 1.684 MB / 0.5327 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002274/0.5274, allocations: 0.9986 MB / 0.5337 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.414e-05/0.5275, allocations: 0.75 kB / 0.5337 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003692/0.5279, allocations: 58.11 kB / 0.5337 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000377/0.5283, allocations: 98.38 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.5285, allocations: 74.67 kB / 0.5339 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.5287, allocations: 105.9 kB / 0.534 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.607e-05/0.5288, allocations: 8.344 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.5289, allocations: 49.66 kB / 0.5341 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.529, allocations: 41.7 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.5291, allocations: 2.75 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.5292, allocations: 24.62 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.246e-05/0.5293, allocations: 21.36 kB / 0.5342 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.309e-05/0.5293, allocations: 35.98 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003381/0.5297, allocations: 103.9 kB / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5297, allocations: 0 / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.5297, allocations: 1.375 kB / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.5297, allocations: 0 / 0.5343 GB, free: 11.14 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.0005877/0.5303, allocations: 410.3 kB / 0.5347 GB, free: 10.72 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.5303, allocations: 12.23 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.5304, allocations: 14.33 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.5307, allocations: 211.2 kB / 0.5349 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.5307, allocations: 5.734 kB / 0.5349 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.5308, allocations: 9.438 kB / 0.5349 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.531, allocations: 47.31 kB / 0.535 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.531, allocations: 0 / 0.535 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.531, allocations: 7.984 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.531, allocations: 1.375 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.065e-05/0.5311, allocations: 8.25 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/0.5315, allocations: 178.1 kB / 0.5352 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.5317, allocations: 59.11 kB / 0.5352 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.25e-05/0.5317, allocations: 25.03 kB / 0.5352 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.5318, allocations: 9.312 kB / 0.5352 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001547/0.5319, allocations: 63.77 kB / 0.5353 GB, free: 10.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.5319, allocations: 0 / 0.5353 GB, free: 10.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002989/0.5322, allocations: 92.12 kB / 0.5354 GB, free: 10.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001655/0.5324, allocations: 55.34 kB / 0.5354 GB, free: 9.941 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.5326, allocations: 186 kB / 0.5356 GB, free: 9.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.5326, allocations: 30.73 kB / 0.5356 GB, free: 9.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.5328, allocations: 100.4 kB / 0.5357 GB, free: 9.664 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.5328, allocations: 18.09 kB / 0.5358 GB, free: 9.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.5329, allocations: 18.94 kB / 0.5358 GB, free: 9.629 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002048/0.5331, allocations: 322.1 kB / 0.5361 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.276e-05/0.5331, allocations: 11.53 kB / 0.5361 GB, free: 9.305 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.885e-05/0.5332, allocations: 35.44 kB / 0.5361 GB, free: 9.273 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.5334, allocations: 51.95 kB / 0.5362 GB, free: 9.234 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5334, allocations: 0 / 0.5362 GB, free: 9.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001594/0.5335, allocations: 87.31 kB / 0.5363 GB, free: 9.172 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.5336, allocations: 6.281 kB / 0.5363 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.5336, allocations: 0 / 0.5363 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.5336, allocations: 1.312 kB / 0.5363 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.008e-05/0.5337, allocations: 12.02 kB / 0.5363 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.5337, allocations: 1.281 kB / 0.5363 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.664e-05/0.5338, allocations: 10.28 kB / 0.5363 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.5338, allocations: 2.875 kB / 0.5363 GB, free: 9.16 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 0.0002175/0.534, allocations: 128.6 kB / 0.5364 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.534, allocations: 9.266 kB / 0.5364 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.061e-05/0.5341, allocations: 9.062 kB / 0.5364 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.5341, allocations: 5.078 kB / 0.5364 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5341, allocations: 0 / 0.5364 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.5341, allocations: 0 / 0.5364 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.5343, allocations: 193.2 kB / 0.5366 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5343, allocations: 7.938 kB / 0.5366 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.891e-05/0.5343, allocations: 4 kB / 0.5366 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.5343, allocations: 0 / 0.5366 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.5343, allocations: 1.312 kB / 0.5366 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5343, allocations: 0 / 0.5366 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.5343, allocations: 1.219 kB / 0.5366 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.5345, allocations: 117.2 kB / 0.5368 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.5346, allocations: 83.38 kB / 0.5368 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.5346, allocations: 9.109 kB / 0.5368 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.757e-05/0.5346, allocations: 5.062 kB / 0.5368 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.5347, allocations: 2.344 kB / 0.5368 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.5347, allocations: 6.312 kB / 0.5369 GB, free: 8.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002556/0.535, allocations: 140.2 kB / 0.537 GB, free: 8.469 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.535, allocations: 0 / 0.537 GB, free: 8.469 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.5352, allocations: 20.28 kB / 0.537 GB, free: 8.461 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.001252/0.5365, allocations: 400.4 kB / 0.5374 GB, free: 8.254 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002425/0.5367, allocations: 39.36 kB / 0.5374 GB, free: 8.238 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5367, allocations: 0 / 0.5374 GB, free: 8.238 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.873e-05/0.5368, allocations: 24.73 kB / 0.5374 GB, free: 8.227 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/0.5373, allocations: 31.16 kB / 0.5375 GB, free: 8.207 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007227/0.538, allocations: 185.5 kB / 0.5377 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009127/0.5389, allocations: 0.703 MB / 0.5383 GB, free: 7.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.786e-05/0.539, allocations: 20.31 kB / 0.5384 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.539, allocations: 17.56 kB / 0.5384 GB, free: 7.32 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5391, allocations: 5 kB / 0.5384 GB, free: 7.316 MB / 398.1 MB Notification: Performance of Templates: time 0.005983/0.545, allocations: 1.492 MB / 0.5398 GB, free: 6.562 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches