Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001353/0.001353, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001541/0.001541, allocations: 197.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.603/1.603, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2462/0.2462, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 79.86 kB / 481.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4054, allocations: 62.44 MB / 0.5311 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.004368/0.4098, allocations: 1.735 MB / 0.5328 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.4118, allocations: 1.012 MB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.994e-05/0.4119, allocations: 1.375 kB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.4122, allocations: 42.77 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000327/0.4125, allocations: 99.08 kB / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.4128, allocations: 80.3 kB / 0.534 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.413, allocations: 104.9 kB / 0.5341 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.4132, allocations: 6.875 kB / 0.5341 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.4134, allocations: 52.2 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.4135, allocations: 33.42 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.4135, allocations: 4.125 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.4137, allocations: 40.86 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.752e-05/0.4138, allocations: 22.78 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.103e-05/0.4139, allocations: 36 kB / 0.5343 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003276/0.4142, allocations: 129.8 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.052e-05/0.4142, allocations: 0 / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 6.152e-06/0.4143, allocations: 0 / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.4143, allocations: 3.938 kB / 0.5344 GB, free: 11.06 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.0008853/0.4152, allocations: 414.8 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.998e-05/0.4152, allocations: 9.75 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.81e-05/0.4153, allocations: 9.656 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005295/0.4159, allocations: 212.9 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.4159, allocations: 6.781 kB / 0.535 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.629e-05/0.4159, allocations: 13.67 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.4162, allocations: 49.95 kB / 0.5351 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.4162, allocations: 4.969 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.4162, allocations: 4 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.4162, allocations: 4.906 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.924e-05/0.4163, allocations: 18.55 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004755/0.4168, allocations: 286.7 kB / 0.5354 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.417, allocations: 62.05 kB / 0.5354 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.523e-05/0.4171, allocations: 22.3 kB / 0.5355 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.4172, allocations: 0 / 0.5355 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.4173, allocations: 69.5 kB / 0.5355 GB, free: 9.891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.4174, allocations: 4 kB / 0.5355 GB, free: 9.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000643/0.418, allocations: 166.2 kB / 0.5357 GB, free: 9.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.4181, allocations: 56.5 kB / 0.5357 GB, free: 9.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.4183, allocations: 196.5 kB / 0.5359 GB, free: 9.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.4183, allocations: 30.84 kB / 0.536 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.968e-05/0.4184, allocations: 97.86 kB / 0.5361 GB, free: 9.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.4185, allocations: 30.97 kB / 0.5361 GB, free: 9.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/0.4185, allocations: 24.69 kB / 0.5361 GB, free: 9.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4186, allocations: 330.6 kB / 0.5364 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.963e-05/0.4187, allocations: 22.36 kB / 0.5364 GB, free: 9.062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.172e-05/0.4188, allocations: 35.45 kB / 0.5365 GB, free: 9.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.4189, allocations: 59.05 kB / 0.5365 GB, free: 8.996 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4189, allocations: 0.9375 kB / 0.5365 GB, free: 8.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001965/0.4191, allocations: 111.5 kB / 0.5366 GB, free: 8.922 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4192, allocations: 4.938 kB / 0.5366 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.4192, allocations: 1.062 kB / 0.5366 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.4192, allocations: 5 kB / 0.5366 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.985e-05/0.4193, allocations: 17.98 kB / 0.5367 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.4193, allocations: 384 / 0.5367 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.627e-05/0.4194, allocations: 5.844 kB / 0.5367 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.4194, allocations: 3.219 kB / 0.5367 GB, free: 8.91 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.0001211/0.4195, allocations: 126.7 kB / 0.5368 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.4196, allocations: 17.12 kB / 0.5368 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.022e-05/0.4197, allocations: 15.44 kB / 0.5368 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.4197, allocations: 1.094 kB / 0.5368 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.4197, allocations: 7.922 kB / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.4197, allocations: 5.031 kB / 0.5368 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000475/0.4202, allocations: 389.8 kB / 0.5372 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.4202, allocations: 1.031 kB / 0.5372 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.346e-05/0.4202, allocations: 11.94 kB / 0.5372 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.4202, allocations: 4.031 kB / 0.5372 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.4203, allocations: 14.61 kB / 0.5372 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4203, allocations: 0 / 0.5372 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4203, allocations: 1.281 kB / 0.5372 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.4205, allocations: 192.2 kB / 0.5374 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-05/0.4206, allocations: 88.55 kB / 0.5375 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.4206, allocations: 9.25 kB / 0.5375 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.764e-05/0.4207, allocations: 10.58 kB / 0.5375 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.4208, allocations: 6.75 kB / 0.5375 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.4208, allocations: 4.094 kB / 0.5375 GB, free: 8.062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001513/0.4209, allocations: 156.9 kB / 0.5377 GB, free: 7.949 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4209, allocations: 0 / 0.5377 GB, free: 7.949 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.4212, allocations: 28.23 kB / 0.5377 GB, free: 7.938 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.001074/0.4223, allocations: 460.2 kB / 0.5382 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000214/0.4225, allocations: 58.59 kB / 0.5382 GB, free: 7.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4226, allocations: 3.938 kB / 0.5382 GB, free: 7.676 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.358e-05/0.4226, allocations: 30.33 kB / 0.5382 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.423, allocations: 32.92 kB / 0.5383 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005792/0.4236, allocations: 235.3 kB / 0.5385 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.4239, allocations: 0.7023 MB / 0.5392 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.837e-05/0.424, allocations: 13.72 kB / 0.5392 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.4241, allocations: 19.38 kB / 0.5392 GB, free: 6.73 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4241, allocations: 0 / 0.5392 GB, free: 6.73 MB / 398.1 MB Notification: Performance of Templates: time 0.004834/0.4289, allocations: 1.737 MB / 0.5409 GB, free: 5.852 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches