Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001229/0.001229, allocations: 106.2 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00157/0.00157, allocations: 216.4 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 230.2 MB / 256.2 MB, free: 8.562 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.248/0.248, allocations: 46.91 MB / 359.4 MB, free: 4.961 MB / 286.1 MB " [Timeout remaining time 179] 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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002349/0.002349, allocations: 75.88 kB / 0.4947 GB, free: 8.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.4001, allocations: 66 MB / 0.5592 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003987/0.4041, allocations: 2.302 MB / 0.5614 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002912/0.407, allocations: 1.342 MB / 0.5628 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.4072, allocations: 8 kB / 0.5628 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005135/0.4077, allocations: 135.3 kB / 0.5629 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006636/0.4083, allocations: 258.9 kB / 0.5631 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004626/0.4088, allocations: 191.5 kB / 0.5633 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005953/0.4094, allocations: 462.6 kB / 0.5638 GB, free: 348 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.4096, allocations: 51.72 kB / 0.5638 GB, free: 296 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004567/0.41, allocations: 343 kB / 0.5641 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.4103, allocations: 171.1 kB / 0.5643 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.652e-05/0.4103, allocations: 20 kB / 0.5643 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.4105, allocations: 67.97 kB / 0.5644 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000185/0.4107, allocations: 155.4 kB / 0.5645 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.4109, allocations: 202.3 kB / 0.5647 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005963/0.4115, allocations: 489.1 kB / 0.5652 GB, free: 14.87 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.4115, allocations: 0 / 0.5652 GB, free: 14.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4115, allocations: 4 kB / 0.5652 GB, free: 14.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.4115, allocations: 4 kB / 0.5652 GB, free: 14.86 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001276/0.4127, allocations: 0.9132 MB / 0.5661 GB, free: 13.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.4128, allocations: 8.031 kB / 0.5661 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.4129, allocations: 72.47 kB / 0.5662 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006374/0.4135, allocations: 448.8 kB / 0.5666 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.4136, allocations: 8.375 kB / 0.5666 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.991e-05/0.4136, allocations: 28.31 kB / 0.5666 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004031/0.414, allocations: 197.2 kB / 0.5668 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.414, allocations: 0 / 0.5668 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.4141, allocations: 11.98 kB / 0.5668 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.4141, allocations: 0 / 0.5668 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002389/0.4143, allocations: 91.88 kB / 0.5669 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.4153, allocations: 0.825 MB / 0.5677 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007326/0.416, allocations: 234.5 kB / 0.568 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.4162, allocations: 87.52 kB / 0.568 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.547e-05/0.4163, allocations: 8.219 kB / 0.568 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003915/0.4167, allocations: 192.2 kB / 0.5682 GB, free: 11.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.673e-06/0.4167, allocations: 11.88 kB / 0.5682 GB, free: 11.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002641/0.4193, allocations: 1.194 MB / 0.5694 GB, free: 10.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.389e-05/0.4194, allocations: 140.4 kB / 0.5695 GB, free: 10.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.4205, allocations: 0.9614 MB / 0.5705 GB, free: 9.164 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.4206, allocations: 37.7 kB / 0.5705 GB, free: 9.121 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002429/0.4208, allocations: 273 kB / 0.5708 GB, free: 8.852 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.4209, allocations: 142.8 kB / 0.5709 GB, free: 8.711 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.4211, allocations: 82.08 kB / 0.571 GB, free: 8.621 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.4212, allocations: 325.9 kB / 0.5713 GB, free: 8.297 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.4215, allocations: 112.8 kB / 0.5714 GB, free: 8.188 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.4218, allocations: 183.2 kB / 0.5716 GB, free: 7.988 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000552/0.4223, allocations: 319 kB / 0.5719 GB, free: 7.652 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4223, allocations: 0 / 0.5719 GB, free: 7.652 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007846/0.4231, allocations: 448.8 kB / 0.5723 GB, free: 7.207 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.4231, allocations: 8 kB / 0.5723 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4231, allocations: 128 / 0.5723 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.4232, allocations: 8 kB / 0.5723 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/0.4235, allocations: 95.83 kB / 0.5724 GB, free: 7.098 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.4235, allocations: 4 kB / 0.5724 GB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.4236, allocations: 23.97 kB / 0.5724 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.4237, allocations: 16 kB / 0.5725 GB, free: 7.055 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002867/0.4239, allocations: 251.9 kB / 0.5727 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.424, allocations: 79.48 kB / 0.5728 GB, free: 6.719 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.4251, allocations: 0.5081 MB / 0.5733 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.138e-06/0.4251, allocations: 8 kB / 0.5733 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4251, allocations: 0 / 0.5733 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.4251, allocations: 0 / 0.5733 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/0.4269, allocations: 1.353 MB / 0.5746 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.4269, allocations: 4 kB / 0.5746 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.4271, allocations: 59.91 kB / 0.5747 GB, free: 4.691 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.4271, allocations: 4.25 kB / 0.5747 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.4271, allocations: 19.98 kB / 0.5747 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.4271, allocations: 4 kB / 0.5747 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.4271, allocations: 4 kB / 0.5747 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009686/0.4281, allocations: 0.7967 MB / 0.5755 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.4283, allocations: 184.6 kB / 0.5756 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.611e-05/0.4284, allocations: 20 kB / 0.5757 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002814/0.4287, allocations: 15.98 kB / 0.5757 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.43e-05/0.4287, allocations: 43.83 kB / 0.5757 GB, free: 3.539 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/0.4288, allocations: 16 kB / 0.5757 GB, free: 3.523 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007986/0.4296, allocations: 0.706 MB / 0.5764 GB, free: 2.824 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4296, allocations: 0 / 0.5764 GB, free: 2.824 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005552/0.4301, allocations: 95.92 kB / 0.5765 GB, free: 2.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002029/0.4322, allocations: 0.533 MB / 0.577 GB, free: 2.375 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006589/0.4328, allocations: 287.6 kB / 0.5773 GB, free: 2.094 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.4328, allocations: 4 kB / 0.5773 GB, free: 2.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003064/0.4331, allocations: 148 kB / 0.5775 GB, free: 1.945 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009629/0.4341, allocations: 132.5 kB / 0.5776 GB, free: 1.828 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.4362, allocations: 1.231 MB / 0.5788 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006063/0.4368, allocations: 0.9133 MB / 0.5797 GB, free: 15.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002199/0.4371, allocations: 79.28 kB / 0.5798 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.4372, allocations: 55.36 kB / 0.5798 GB, free: 15.46 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4372, allocations: 4 kB / 0.5798 GB, free: 15.46 MB / 430.1 MB Notification: Performance of Templates: time 0.0116/0.4488, allocations: 5.653 MB / 0.5853 GB, free: 9.852 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.627953137271106]