Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001533/0.001534, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001642/0.001642, allocations: 197.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2312/0.2312, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 71.88 kB / 481.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4247, allocations: 62.43 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003994/0.4288, allocations: 1.732 MB / 0.5328 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.4307, allocations: 1.022 MB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.346e-05/0.4308, allocations: 1.375 kB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000354/0.4312, allocations: 40.14 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003528/0.4315, allocations: 104.4 kB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.4317, allocations: 78.94 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.432, allocations: 104.9 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.4321, allocations: 6.875 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.4322, allocations: 44.28 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.826e-05/0.4323, allocations: 33.42 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.4323, allocations: 12.05 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.4325, allocations: 40.86 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.264e-05/0.4325, allocations: 22.73 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.17e-05/0.4326, allocations: 39.98 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.4328, allocations: 127.4 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4329, allocations: 0 / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4329, allocations: 0 / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.4329, allocations: 1.375 kB / 0.5344 GB, free: 11.04 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006914/0.4336, allocations: 419.5 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.4336, allocations: 9.812 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.569e-05/0.4337, allocations: 13.91 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.434, allocations: 217 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.4341, allocations: 9.469 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.4341, allocations: 6.656 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.4343, allocations: 53.14 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.4343, allocations: 0.875 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.4343, allocations: 1.062 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4343, allocations: 0 / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.835e-05/0.4344, allocations: 18.39 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.4348, allocations: 291.8 kB / 0.5354 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.4351, allocations: 62.38 kB / 0.5354 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.426e-05/0.4351, allocations: 21.88 kB / 0.5355 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.4352, allocations: 5.047 kB / 0.5355 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.4354, allocations: 69.36 kB / 0.5355 GB, free: 9.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.426e-06/0.4354, allocations: 4 kB / 0.5355 GB, free: 9.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000612/0.436, allocations: 177.6 kB / 0.5357 GB, free: 9.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.4361, allocations: 53.66 kB / 0.5358 GB, free: 9.691 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.4363, allocations: 207.2 kB / 0.536 GB, free: 9.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.4363, allocations: 26.92 kB / 0.536 GB, free: 9.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.741e-05/0.4364, allocations: 105.7 kB / 0.5361 GB, free: 9.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.4365, allocations: 27.17 kB / 0.5361 GB, free: 9.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.4365, allocations: 24.44 kB / 0.5361 GB, free: 9.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.4367, allocations: 331.3 kB / 0.5364 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.975e-05/0.4367, allocations: 22.95 kB / 0.5365 GB, free: 9.023 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.446e-05/0.4368, allocations: 35.48 kB / 0.5365 GB, free: 8.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.4369, allocations: 58.81 kB / 0.5366 GB, free: 8.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4369, allocations: 192 / 0.5366 GB, free: 8.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000215/0.4372, allocations: 111.8 kB / 0.5367 GB, free: 8.883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.4372, allocations: 9.938 kB / 0.5367 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.4372, allocations: 0 / 0.5367 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.4372, allocations: 1.25 kB / 0.5367 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.4373, allocations: 17.83 kB / 0.5367 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.4374, allocations: 3.938 kB / 0.5367 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.957e-05/0.4374, allocations: 11.19 kB / 0.5367 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.4374, allocations: 2.656 kB / 0.5367 GB, free: 8.863 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 (10): * Single equations (assignments): 10 * 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.0001267/0.4376, allocations: 123.8 kB / 0.5368 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.4376, allocations: 13.44 kB / 0.5368 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.947e-05/0.4377, allocations: 19.72 kB / 0.5369 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4377, allocations: 1.031 kB / 0.5369 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.4377, allocations: 0 / 0.5369 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.4377, allocations: 7.922 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005228/0.4382, allocations: 395.9 kB / 0.5372 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4382, allocations: 1.062 kB / 0.5372 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.206e-05/0.4383, allocations: 6.594 kB / 0.5373 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.4383, allocations: 9.484 kB / 0.5373 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.4383, allocations: 6.562 kB / 0.5373 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4383, allocations: 0 / 0.5373 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4383, allocations: 1.344 kB / 0.5373 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.4386, allocations: 204.8 kB / 0.5375 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.489e-05/0.4387, allocations: 87.48 kB / 0.5375 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.4387, allocations: 7.062 kB / 0.5376 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.899e-05/0.4388, allocations: 9.328 kB / 0.5376 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.4388, allocations: 12.03 kB / 0.5376 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.4389, allocations: 2.469 kB / 0.5376 GB, free: 8.016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001657/0.439, allocations: 158.8 kB / 0.5377 GB, free: 7.906 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.439, allocations: 0 / 0.5377 GB, free: 7.906 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.4393, allocations: 25.92 kB / 0.5378 GB, free: 7.898 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.00125/0.4406, allocations: 461.2 kB / 0.5382 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000216/0.4408, allocations: 65.3 kB / 0.5383 GB, free: 7.633 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4408, allocations: 1.094 kB / 0.5383 GB, free: 7.633 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.616e-05/0.4409, allocations: 29.59 kB / 0.5383 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.4413, allocations: 38.55 kB / 0.5383 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005834/0.4419, allocations: 233.3 kB / 0.5385 GB, free: 7.422 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.4422, allocations: 0.7081 MB / 0.5392 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.082e-05/0.4423, allocations: 17.64 kB / 0.5393 GB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.4423, allocations: 22.75 kB / 0.5393 GB, free: 6.684 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4424, allocations: 1 kB / 0.5393 GB, free: 6.684 MB / 398.1 MB Notification: Performance of Templates: time 0.00607/0.4484, allocations: 1.768 MB / 0.541 GB, free: 5.781 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches