Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001261/0.001261, allocations: 115 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001448/0.001448, allocations: 216.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.4 MB / 247.6 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.2327/0.2327, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 83.88 kB / 482.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3991, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003529/0.4027, allocations: 1.731 MB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.4045, allocations: 1.019 MB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.943e-05/0.4046, allocations: 0 / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003878/0.405, allocations: 90.06 kB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003368/0.4054, allocations: 107.5 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.4056, allocations: 78.92 kB / 0.5347 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.4058, allocations: 121.1 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.4059, allocations: 10.88 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.4061, allocations: 57.75 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.4062, allocations: 64.58 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.4062, allocations: 4.125 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.4063, allocations: 42.73 kB / 0.535 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.4064, allocations: 24.42 kB / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.509e-05/0.4065, allocations: 40.34 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.4067, allocations: 124.4 kB / 0.5352 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4067, allocations: 1.062 kB / 0.5352 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4067, allocations: 0 / 0.5352 GB, free: 11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.4067, allocations: 0 / 0.5352 GB, free: 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006093/0.4074, allocations: 433.4 kB / 0.5356 GB, free: 10.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.4074, allocations: 8.969 kB / 0.5356 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.995e-05/0.4075, allocations: 18.73 kB / 0.5356 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.4078, allocations: 216.6 kB / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.4078, allocations: 3 kB / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.4078, allocations: 9.375 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.408, allocations: 50.7 kB / 0.5359 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.408, allocations: 0 / 0.5359 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.4081, allocations: 5.125 kB / 0.5359 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.4081, allocations: 4 kB / 0.5359 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.962e-05/0.4082, allocations: 22.64 kB / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.4086, allocations: 285.1 kB / 0.5362 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.4088, allocations: 57.05 kB / 0.5362 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.555e-05/0.4089, allocations: 18.08 kB / 0.5362 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.4089, allocations: 13.08 kB / 0.5363 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.4091, allocations: 65.11 kB / 0.5363 GB, free: 9.812 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.532e-06/0.4091, allocations: 0 / 0.5363 GB, free: 9.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000592/0.4097, allocations: 171.2 kB / 0.5365 GB, free: 9.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.4098, allocations: 56.45 kB / 0.5365 GB, free: 9.648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.41, allocations: 221.8 kB / 0.5367 GB, free: 9.488 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.4101, allocations: 35.05 kB / 0.5368 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.272e-05/0.4101, allocations: 105.5 kB / 0.5369 GB, free: 9.348 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.4102, allocations: 24.42 kB / 0.5369 GB, free: 9.328 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.4102, allocations: 20.12 kB / 0.5369 GB, free: 9.309 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.4104, allocations: 331.3 kB / 0.5372 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.195e-05/0.4105, allocations: 18.39 kB / 0.5373 GB, free: 8.973 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.6e-05/0.4105, allocations: 39.8 kB / 0.5373 GB, free: 8.941 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.4107, allocations: 70.53 kB / 0.5374 GB, free: 8.891 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.4107, allocations: 5.25 kB / 0.5374 GB, free: 8.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002171/0.4109, allocations: 99.75 kB / 0.5375 GB, free: 8.824 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.411, allocations: 7.344 kB / 0.5375 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.411, allocations: 1.406 kB / 0.5375 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.411, allocations: 0 / 0.5375 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.4111, allocations: 16.86 kB / 0.5375 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.4111, allocations: 6 kB / 0.5375 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.044e-05/0.4112, allocations: 14.09 kB / 0.5375 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.4112, allocations: 2.031 kB / 0.5375 GB, free: 8.805 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.000131/0.4113, allocations: 132.6 kB / 0.5376 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.4113, allocations: 9.312 kB / 0.5376 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.566e-05/0.4114, allocations: 19.8 kB / 0.5377 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.4114, allocations: 1.406 kB / 0.5377 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4114, allocations: 0 / 0.5377 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.4114, allocations: 3.938 kB / 0.5377 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000531/0.412, allocations: 400.5 kB / 0.538 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.412, allocations: 1.062 kB / 0.538 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.207e-05/0.412, allocations: 15.58 kB / 0.5381 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.412, allocations: 1.031 kB / 0.5381 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.4121, allocations: 5.094 kB / 0.5381 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.4121, allocations: 1.219 kB / 0.5381 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.4121, allocations: 0.9375 kB / 0.5381 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.4124, allocations: 200.6 kB / 0.5383 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.449e-05/0.4124, allocations: 88.33 kB / 0.5383 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.4125, allocations: 14.17 kB / 0.5384 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.789e-05/0.4125, allocations: 1.125 kB / 0.5384 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.4126, allocations: 8.375 kB / 0.5384 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.4126, allocations: 11.19 kB / 0.5384 GB, free: 7.957 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002037/0.4128, allocations: 165.1 kB / 0.5385 GB, free: 7.848 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4129, allocations: 0 / 0.5385 GB, free: 7.848 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.4131, allocations: 28.97 kB / 0.5386 GB, free: 7.836 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.001216/0.4144, allocations: 470.1 kB / 0.539 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002242/0.4146, allocations: 61.31 kB / 0.5391 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4146, allocations: 1.188 kB / 0.5391 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.604e-05/0.4147, allocations: 29.36 kB / 0.5391 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.4151, allocations: 32.91 kB / 0.5391 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006686/0.4158, allocations: 282.5 kB / 0.5394 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.4162, allocations: 0.7087 MB / 0.5401 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.414e-05/0.4162, allocations: 19.83 kB / 0.5401 GB, free: 6.586 MB / 398.1 MB Notification: Performance of SimCode: time 1.9e-07/0.4163, allocations: 0 / 0.5401 GB, free: 6.586 MB / 398.1 MB Notification: Performance of Templates: time 0.004899/0.4212, allocations: 2.013 MB / 0.5421 GB, free: 5.547 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches