Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001393/0.001393, allocations: 118.2 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.001708/0.001708, allocations: 201.2 kB / 18.73 MB, free: 4.34 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.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2131/0.2131, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 76.09 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.349, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002619/0.3517, allocations: 1.625 MB / 0.5326 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009224/0.3526, allocations: 0.5326 MB / 0.5331 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.204e-05/0.3527, allocations: 1.438 kB / 0.5331 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002683/0.353, allocations: 77.39 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002735/0.3532, allocations: 101 kB / 0.5333 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.3535, allocations: 103.4 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.3537, allocations: 84.86 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.3538, allocations: 12.47 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.241e-05/0.3539, allocations: 30.88 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.354, allocations: 56.59 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.354, allocations: 10.47 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.074e-05/0.3541, allocations: 46.27 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.501e-05/0.3542, allocations: 22.78 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.059e-05/0.3542, allocations: 29.25 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.3544, allocations: 106.1 kB / 0.5338 GB, free: 11.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3544, allocations: 3.984 kB / 0.5338 GB, free: 11.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3544, allocations: 0 / 0.5338 GB, free: 11.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.3544, allocations: 1.375 kB / 0.5338 GB, free: 11.52 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004656/0.3549, allocations: 409.5 kB / 0.5342 GB, free: 11.1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.3549, allocations: 12.25 kB / 0.5342 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.355, allocations: 14.28 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.3552, allocations: 205.2 kB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.3552, allocations: 5.75 kB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.3552, allocations: 1.75 kB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.3554, allocations: 55.55 kB / 0.5344 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.3554, allocations: 7.891 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3554, allocations: 4 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3554, allocations: 1.375 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.424e-05/0.3555, allocations: 31.09 kB / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000349/0.3559, allocations: 290.9 kB / 0.5348 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.356, allocations: 47 kB / 0.5348 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.505e-05/0.356, allocations: 13.11 kB / 0.5348 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.3561, allocations: 8.016 kB / 0.5348 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.3561, allocations: 39.94 kB / 0.5349 GB, free: 10.37 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.3561, allocations: 3.938 kB / 0.5349 GB, free: 10.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008301/0.3569, allocations: 221.5 kB / 0.5351 GB, free: 10.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.357, allocations: 60.78 kB / 0.5351 GB, free: 10.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.3572, allocations: 210.9 kB / 0.5353 GB, free: 10.03 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.3572, allocations: 25.7 kB / 0.5354 GB, free: 10 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.3573, allocations: 106.5 kB / 0.5355 GB, free: 9.898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.3573, allocations: 30.8 kB / 0.5355 GB, free: 9.871 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.3574, allocations: 19.03 kB / 0.5355 GB, free: 9.852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3575, allocations: 323.3 kB / 0.5358 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.5e-05/0.3576, allocations: 25.2 kB / 0.5358 GB, free: 9.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.801e-05/0.3576, allocations: 35.28 kB / 0.5359 GB, free: 9.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.3578, allocations: 59.5 kB / 0.5359 GB, free: 9.469 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3578, allocations: 0 / 0.5359 GB, free: 9.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002019/0.358, allocations: 104.3 kB / 0.536 GB, free: 9.402 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.358, allocations: 5.281 kB / 0.536 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.358, allocations: 0 / 0.536 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3581, allocations: 1.25 kB / 0.536 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.591e-05/0.3582, allocations: 25.92 kB / 0.5361 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3582, allocations: 0 / 0.5361 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.391e-05/0.3582, allocations: 11.11 kB / 0.5361 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.3582, allocations: 2.156 kB / 0.5361 GB, free: 9.383 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 (8): * Single equations (assignments): 8 * 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 8.332e-05/0.3583, allocations: 124.7 kB / 0.5362 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.3584, allocations: 13.34 kB / 0.5362 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002616/0.3586, allocations: 120.5 kB / 0.5363 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3586, allocations: 0.9688 kB / 0.5363 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3586, allocations: 0 / 0.5363 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/0.3587, allocations: 7.922 kB / 0.5363 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004746/0.3591, allocations: 407.7 kB / 0.5367 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3592, allocations: 0 / 0.5367 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.856e-05/0.3592, allocations: 18.2 kB / 0.5367 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.3592, allocations: 9.219 kB / 0.5367 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.3593, allocations: 1.062 kB / 0.5368 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3593, allocations: 1.094 kB / 0.5368 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3593, allocations: 1.125 kB / 0.5368 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.3595, allocations: 204.2 kB / 0.5369 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.913e-05/0.3596, allocations: 88.08 kB / 0.537 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.3596, allocations: 9.25 kB / 0.537 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.886e-05/0.3597, allocations: 3.062 kB / 0.537 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.3597, allocations: 7.766 kB / 0.5371 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.3597, allocations: 6.172 kB / 0.5371 GB, free: 8.465 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.3598, allocations: 175.7 kB / 0.5372 GB, free: 8.344 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3599, allocations: 0 / 0.5372 GB, free: 8.344 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002406/0.3601, allocations: 26.14 kB / 0.5372 GB, free: 8.332 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001008/0.3611, allocations: 464.2 kB / 0.5377 GB, free: 8.086 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.3613, allocations: 58.28 kB / 0.5377 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3613, allocations: 0 / 0.5377 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.972e-05/0.3614, allocations: 45.62 kB / 0.5378 GB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.3618, allocations: 23.06 kB / 0.5378 GB, free: 8.035 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.3623, allocations: 257 kB / 0.5381 GB, free: 7.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.3625, allocations: 0.7078 MB / 0.5387 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.605e-05/0.3626, allocations: 16.44 kB / 0.5388 GB, free: 7.121 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.3626, allocations: 13.25 kB / 0.5388 GB, free: 7.113 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3626, allocations: 0 / 0.5388 GB, free: 7.113 MB / 398.1 MB Notification: Performance of Templates: time 0.003795/0.3664, allocations: 1.355 MB / 0.5401 GB, free: 6.422 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches