Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 118.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001519/0.001519, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2154/0.2154, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 76.2 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.356, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.00288/0.3589, allocations: 1.599 MB / 0.5326 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009698/0.3599, allocations: 0.5196 MB / 0.5331 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.806e-05/0.36, allocations: 5.312 kB / 0.5331 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002408/0.3602, allocations: 34.7 kB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.3605, allocations: 73.81 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.3608, allocations: 95.19 kB / 0.5333 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.3609, allocations: 57.97 kB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.641e-05/0.361, allocations: 14.86 kB / 0.5333 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.375e-05/0.3611, allocations: 28.05 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.724e-05/0.3612, allocations: 21.36 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.3612, allocations: 2.75 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.205e-05/0.3613, allocations: 40.61 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.971e-05/0.3613, allocations: 17.42 kB / 0.5334 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.983e-05/0.3614, allocations: 29.23 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.3615, allocations: 76.67 kB / 0.5335 GB, free: 11.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3615, allocations: 1.375 kB / 0.5335 GB, free: 11.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.997e-06/0.3615, allocations: 0 / 0.5335 GB, free: 11.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.3615, allocations: 3.938 kB / 0.5336 GB, free: 11.65 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004564/0.362, allocations: 396.1 kB / 0.5339 GB, free: 11.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.362, allocations: 9.625 kB / 0.5339 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.3621, allocations: 12.97 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.3623, allocations: 199.4 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.3623, allocations: 1.75 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.3623, allocations: 5.312 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.3624, allocations: 56.59 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3625, allocations: 0 / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.3625, allocations: 4 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3625, allocations: 1.375 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.054e-05/0.3626, allocations: 20.36 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003189/0.3629, allocations: 277.5 kB / 0.5345 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.3631, allocations: 43 kB / 0.5345 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.521e-05/0.3632, allocations: 19.81 kB / 0.5346 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.3632, allocations: 1.375 kB / 0.5346 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.3632, allocations: 30.56 kB / 0.5346 GB, free: 10.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.3633, allocations: 4 kB / 0.5346 GB, free: 10.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005457/0.3638, allocations: 146.5 kB / 0.5347 GB, free: 10.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.3639, allocations: 52.69 kB / 0.5348 GB, free: 10.4 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.3641, allocations: 178 kB / 0.5349 GB, free: 10.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.3641, allocations: 27.2 kB / 0.535 GB, free: 10.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/0.3641, allocations: 104.1 kB / 0.5351 GB, free: 10.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.3642, allocations: 21.2 kB / 0.5351 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.3642, allocations: 14.34 kB / 0.5351 GB, free: 10.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3644, allocations: 329.6 kB / 0.5354 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.43e-05/0.3644, allocations: 14.45 kB / 0.5354 GB, free: 9.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.719e-05/0.3645, allocations: 18.89 kB / 0.5355 GB, free: 9.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.3646, allocations: 51.64 kB / 0.5355 GB, free: 9.719 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3646, allocations: 4 kB / 0.5355 GB, free: 9.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001773/0.3648, allocations: 77.86 kB / 0.5356 GB, free: 9.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3648, allocations: 4.656 kB / 0.5356 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3649, allocations: 0 / 0.5356 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.3649, allocations: 4.969 kB / 0.5356 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.378e-05/0.3649, allocations: 14.05 kB / 0.5356 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.365, allocations: 256 / 0.5356 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.422e-05/0.365, allocations: 15.3 kB / 0.5356 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.365, allocations: 10.34 kB / 0.5356 GB, free: 9.637 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 (5): * Single equations (assignments): 5 * 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.647e-05/0.3651, allocations: 115.3 kB / 0.5357 GB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.3652, allocations: 12.62 kB / 0.5357 GB, free: 9.512 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.3654, allocations: 97.59 kB / 0.5358 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3654, allocations: 1.125 kB / 0.5358 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.3654, allocations: 1.031 kB / 0.5358 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3654, allocations: 3.938 kB / 0.5358 GB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000392/0.3658, allocations: 348.4 kB / 0.5362 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3658, allocations: 1.156 kB / 0.5362 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.59e-05/0.3659, allocations: 13.58 kB / 0.5362 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3659, allocations: 0 / 0.5362 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.3659, allocations: 5.219 kB / 0.5362 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3659, allocations: 0 / 0.5362 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3659, allocations: 1.219 kB / 0.5362 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.3661, allocations: 183.4 kB / 0.5364 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.3662, allocations: 83.36 kB / 0.5365 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.3662, allocations: 9.188 kB / 0.5365 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.778e-05/0.3663, allocations: 6.141 kB / 0.5365 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.3663, allocations: 2.156 kB / 0.5365 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.3663, allocations: 6.125 kB / 0.5365 GB, free: 8.801 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.3665, allocations: 136.2 kB / 0.5366 GB, free: 8.703 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3665, allocations: 4 kB / 0.5366 GB, free: 8.699 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002318/0.3667, allocations: 15.23 kB / 0.5366 GB, free: 8.695 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0009453/0.3677, allocations: 406.8 kB / 0.537 GB, free: 8.477 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.3679, allocations: 44.66 kB / 0.5371 GB, free: 8.461 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3679, allocations: 0 / 0.5371 GB, free: 8.461 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.093e-05/0.3679, allocations: 26.77 kB / 0.5371 GB, free: 8.449 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.3683, allocations: 19.95 kB / 0.5371 GB, free: 8.438 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004431/0.3687, allocations: 194.5 kB / 0.5373 GB, free: 8.281 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.369, allocations: 0.7014 MB / 0.538 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.922e-05/0.3691, allocations: 13 kB / 0.538 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.3691, allocations: 19.47 kB / 0.538 GB, free: 7.551 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3691, allocations: 0 / 0.538 GB, free: 7.551 MB / 398.1 MB Notification: Performance of Templates: time 0.003589/0.3727, allocations: 1.117 MB / 0.5391 GB, free: 6.98 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches