Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001366/0.001366, allocations: 109 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: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2466/0.2466, allocations: 46.1 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 80.2 kB / 482.1 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4115, allocations: 62.44 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003378/0.415, allocations: 1.734 MB / 0.5334 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.4168, allocations: 1.014 MB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.812e-05/0.4169, allocations: 1.375 kB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003282/0.4172, allocations: 42.77 kB / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003431/0.4176, allocations: 99.03 kB / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.4179, allocations: 78.91 kB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.4181, allocations: 110.3 kB / 0.5347 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.4182, allocations: 6.875 kB / 0.5347 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.4183, allocations: 44.28 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.534e-05/0.4184, allocations: 37.41 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.4184, allocations: 4.125 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.957e-05/0.4185, allocations: 39.48 kB / 0.5349 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.045e-05/0.4186, allocations: 22.78 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.134e-05/0.4187, allocations: 35.94 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.4189, allocations: 126.7 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.4189, allocations: 3.984 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4189, allocations: 0 / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.419, allocations: 1.281 kB / 0.535 GB, free: 11.07 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.0005735/0.4195, allocations: 414.3 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.4196, allocations: 10.25 kB / 0.5355 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.255e-05/0.4196, allocations: 12.64 kB / 0.5355 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.4199, allocations: 212.9 kB / 0.5357 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.42, allocations: 5.812 kB / 0.5357 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.42, allocations: 10.81 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.4202, allocations: 54.33 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.4202, allocations: 3.906 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.4202, allocations: 5 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.4202, allocations: 1.375 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.423e-05/0.4203, allocations: 21.97 kB / 0.5358 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.4207, allocations: 286.6 kB / 0.536 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.4209, allocations: 65.61 kB / 0.5361 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.8e-05/0.421, allocations: 17.27 kB / 0.5361 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.421, allocations: 2.219 kB / 0.5361 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.4212, allocations: 69.05 kB / 0.5362 GB, free: 9.891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.4212, allocations: 4 kB / 0.5362 GB, free: 9.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006027/0.4218, allocations: 170.5 kB / 0.5364 GB, free: 9.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.4219, allocations: 52.47 kB / 0.5364 GB, free: 9.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.4221, allocations: 196 kB / 0.5366 GB, free: 9.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.4221, allocations: 26.83 kB / 0.5366 GB, free: 9.551 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.09e-05/0.4222, allocations: 100.8 kB / 0.5367 GB, free: 9.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.4222, allocations: 28.27 kB / 0.5367 GB, free: 9.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.4223, allocations: 24.53 kB / 0.5368 GB, free: 9.406 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4224, allocations: 330.3 kB / 0.5371 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.639e-05/0.4225, allocations: 26.52 kB / 0.5371 GB, free: 9.062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.1e-05/0.4226, allocations: 36.2 kB / 0.5371 GB, free: 9.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.4227, allocations: 59.17 kB / 0.5372 GB, free: 8.996 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.4227, allocations: 0 / 0.5372 GB, free: 8.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002232/0.423, allocations: 107.7 kB / 0.5373 GB, free: 8.926 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.423, allocations: 9.25 kB / 0.5373 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.423, allocations: 0 / 0.5373 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.423, allocations: 5.156 kB / 0.5373 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.4232, allocations: 17.05 kB / 0.5373 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.4232, allocations: 1.25 kB / 0.5373 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.661e-05/0.4232, allocations: 6.375 kB / 0.5373 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.4232, allocations: 2.969 kB / 0.5373 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.000114/0.4233, allocations: 130.6 kB / 0.5375 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.4234, allocations: 17.62 kB / 0.5375 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.855e-05/0.4234, allocations: 14.75 kB / 0.5375 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4235, allocations: 1.5 kB / 0.5375 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4235, allocations: 0 / 0.5375 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4235, allocations: 7.922 kB / 0.5375 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004797/0.424, allocations: 394.6 kB / 0.5379 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.424, allocations: 1.25 kB / 0.5379 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.22e-05/0.424, allocations: 6.781 kB / 0.5379 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.424, allocations: 1.531 kB / 0.5379 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.424, allocations: 13.47 kB / 0.5379 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.4241, allocations: 5.578 kB / 0.5379 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4241, allocations: 384 / 0.5379 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.4243, allocations: 196.3 kB / 0.5381 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.748e-05/0.4244, allocations: 88.11 kB / 0.5382 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.4244, allocations: 14.12 kB / 0.5382 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.94e-05/0.4245, allocations: 5.219 kB / 0.5382 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.4245, allocations: 8.328 kB / 0.5382 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.4246, allocations: 3.094 kB / 0.5382 GB, free: 8.059 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000142/0.4247, allocations: 152.3 kB / 0.5384 GB, free: 7.949 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4247, allocations: 0 / 0.5384 GB, free: 7.949 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.425, allocations: 25.75 kB / 0.5384 GB, free: 7.941 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.001175/0.4262, allocations: 460 kB / 0.5388 GB, free: 7.707 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002026/0.4264, allocations: 57.44 kB / 0.5389 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4264, allocations: 1.438 kB / 0.5389 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.976e-05/0.4265, allocations: 32.92 kB / 0.5389 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.4269, allocations: 35.14 kB / 0.5389 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005625/0.4274, allocations: 262.3 kB / 0.5392 GB, free: 7.434 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.4278, allocations: 0.7027 MB / 0.5399 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.727e-05/0.4278, allocations: 23.92 kB / 0.5399 GB, free: 6.715 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4278, allocations: 0 / 0.5399 GB, free: 6.715 MB / 398.1 MB Notification: Performance of Templates: time 0.004808/0.4326, allocations: 1.96 MB / 0.5418 GB, free: 5.703 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches