Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001394/0.001394, allocations: 113 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001564/0.001564, allocations: 208.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2172/0.2172, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 75.88 kB / 482.1 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3522, allocations: 62.44 MB / 0.5317 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003079/0.3554, allocations: 1.73 MB / 0.5334 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.3571, allocations: 1.023 MB / 0.5344 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.928e-05/0.3572, allocations: 3.938 kB / 0.5344 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.3576, allocations: 57.91 kB / 0.5345 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003285/0.3579, allocations: 94.52 kB / 0.5346 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.3581, allocations: 79.03 kB / 0.5347 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.3583, allocations: 105 kB / 0.5348 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.3584, allocations: 10.86 kB / 0.5348 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.396e-05/0.3585, allocations: 48.22 kB / 0.5348 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.826e-05/0.3586, allocations: 34.8 kB / 0.5348 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.3586, allocations: 8.062 kB / 0.5349 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.408e-05/0.3587, allocations: 43.47 kB / 0.5349 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.246e-05/0.3588, allocations: 26.92 kB / 0.5349 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.146e-05/0.3589, allocations: 45.28 kB / 0.535 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.3591, allocations: 138.9 kB / 0.5351 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3591, allocations: 0 / 0.5351 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3591, allocations: 0 / 0.5351 GB, free: 11.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.3591, allocations: 0 / 0.5351 GB, free: 11.25 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.0006039/0.3597, allocations: 457.1 kB / 0.5355 GB, free: 10.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.3598, allocations: 8.25 kB / 0.5355 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.155e-05/0.3598, allocations: 15.62 kB / 0.5356 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.3601, allocations: 220.2 kB / 0.5358 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.3602, allocations: 5.75 kB / 0.5358 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.3602, allocations: 6.875 kB / 0.5358 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.3603, allocations: 54.05 kB / 0.5358 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3604, allocations: 0 / 0.5358 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3604, allocations: 1.375 kB / 0.5358 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.3604, allocations: 4 kB / 0.5358 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.752e-05/0.3605, allocations: 26.86 kB / 0.5359 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.3609, allocations: 295.4 kB / 0.5361 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.361, allocations: 57.61 kB / 0.5362 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.37e-05/0.3611, allocations: 18.17 kB / 0.5362 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.3611, allocations: 5.094 kB / 0.5362 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/0.3613, allocations: 76.75 kB / 0.5363 GB, free: 10.03 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.3613, allocations: 0 / 0.5363 GB, free: 10.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000557/0.3619, allocations: 176.6 kB / 0.5365 GB, free: 9.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.3619, allocations: 52.56 kB / 0.5365 GB, free: 9.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.3622, allocations: 275.9 kB / 0.5368 GB, free: 9.684 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.3622, allocations: 30.77 kB / 0.5368 GB, free: 9.648 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.08e-05/0.3623, allocations: 116 kB / 0.5369 GB, free: 9.539 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.3623, allocations: 22.94 kB / 0.5369 GB, free: 9.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.3624, allocations: 24.55 kB / 0.537 GB, free: 9.496 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3625, allocations: 332.3 kB / 0.5373 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.854e-05/0.3626, allocations: 18.2 kB / 0.5373 GB, free: 9.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.769e-05/0.3627, allocations: 39.48 kB / 0.5373 GB, free: 9.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.3628, allocations: 67.58 kB / 0.5374 GB, free: 9.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3628, allocations: 0 / 0.5374 GB, free: 9.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000194/0.363, allocations: 100.9 kB / 0.5375 GB, free: 9.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.363, allocations: 8.375 kB / 0.5375 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.363, allocations: 0 / 0.5375 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.363, allocations: 2.25 kB / 0.5375 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.503e-05/0.3631, allocations: 24.02 kB / 0.5375 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3632, allocations: 1.125 kB / 0.5375 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.723e-05/0.3632, allocations: 10.19 kB / 0.5375 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.3632, allocations: 3.469 kB / 0.5375 GB, free: 9 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.0001045/0.3633, allocations: 133 kB / 0.5377 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.3634, allocations: 14.81 kB / 0.5377 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.175e-05/0.3634, allocations: 21.7 kB / 0.5377 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.3634, allocations: 1.125 kB / 0.5377 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3634, allocations: 0 / 0.5377 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3635, allocations: 3.938 kB / 0.5377 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/0.3639, allocations: 413.2 kB / 0.5381 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3639, allocations: 0 / 0.5381 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.364, allocations: 12.38 kB / 0.5381 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.364, allocations: 3.938 kB / 0.5381 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.364, allocations: 10.27 kB / 0.5381 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.364, allocations: 1.5 kB / 0.5381 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.364, allocations: 0 / 0.5381 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.3643, allocations: 206.5 kB / 0.5383 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.807e-05/0.3643, allocations: 84.95 kB / 0.5384 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.3644, allocations: 18.05 kB / 0.5384 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.021e-05/0.3644, allocations: 5.266 kB / 0.5384 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.3645, allocations: 4.062 kB / 0.5384 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.3645, allocations: 2.531 kB / 0.5384 GB, free: 8.145 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000194/0.3647, allocations: 208 kB / 0.5386 GB, free: 8.016 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3647, allocations: 0 / 0.5386 GB, free: 8.016 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000262/0.365, allocations: 25.75 kB / 0.5387 GB, free: 8.008 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.001061/0.366, allocations: 464.8 kB / 0.5391 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.3662, allocations: 65.3 kB / 0.5392 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3662, allocations: 0 / 0.5392 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.34e-05/0.3663, allocations: 29.58 kB / 0.5392 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.3667, allocations: 28.86 kB / 0.5392 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005652/0.3672, allocations: 315.6 kB / 0.5395 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.3676, allocations: 0.7249 MB / 0.5402 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.3676, allocations: 19.25 kB / 0.5402 GB, free: 6.742 MB / 398.1 MB Notification: Performance of SimCode: time 1.91e-07/0.3676, allocations: 1.156 kB / 0.5402 GB, free: 6.742 MB / 398.1 MB Notification: Performance of Templates: time 0.004182/0.3718, allocations: 2.126 MB / 0.5423 GB, free: 5.637 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches