Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001173/0.001173, allocations: 112.4 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001353/0.001353, allocations: 208 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.223/0.223, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 76.09 kB / 482.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4085, allocations: 62.43 MB / 0.5318 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003301/0.4118, allocations: 1.754 MB / 0.5335 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.4135, allocations: 1.02 MB / 0.5345 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.064e-05/0.4136, allocations: 9.312 kB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.414, allocations: 90.12 kB / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.4143, allocations: 116.8 kB / 0.5347 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.4145, allocations: 82.91 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.4147, allocations: 120.5 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.4148, allocations: 15.05 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.415, allocations: 56.56 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.4151, allocations: 68.41 kB / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.4151, allocations: 3.031 kB / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.4152, allocations: 67.27 kB / 0.5351 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.648e-05/0.4153, allocations: 29.55 kB / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.557e-05/0.4154, allocations: 36.38 kB / 0.5351 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.4156, allocations: 143.2 kB / 0.5353 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.4156, allocations: 3.984 kB / 0.5353 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.91e-06/0.4156, allocations: 1.219 kB / 0.5353 GB, free: 10.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.4156, allocations: 7.875 kB / 0.5353 GB, free: 10.93 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006365/0.4163, allocations: 439.7 kB / 0.5357 GB, free: 10.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.4163, allocations: 9.094 kB / 0.5357 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.4164, allocations: 11.72 kB / 0.5357 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.4168, allocations: 219.5 kB / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.4168, allocations: 6.562 kB / 0.5359 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.4169, allocations: 6.438 kB / 0.5359 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.417, allocations: 60.94 kB / 0.536 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.417, allocations: 3.938 kB / 0.536 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.4171, allocations: 1.188 kB / 0.536 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.4171, allocations: 5.062 kB / 0.536 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.077e-05/0.4172, allocations: 20.36 kB / 0.536 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004253/0.4176, allocations: 304.8 kB / 0.5363 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.4178, allocations: 66 kB / 0.5364 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.287e-05/0.4179, allocations: 26 kB / 0.5364 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.418, allocations: 5.062 kB / 0.5364 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.4181, allocations: 70.53 kB / 0.5365 GB, free: 9.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.4181, allocations: 1.062 kB / 0.5365 GB, free: 9.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008203/0.4189, allocations: 246.6 kB / 0.5367 GB, free: 9.578 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.419, allocations: 56.47 kB / 0.5368 GB, free: 9.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.4192, allocations: 240 kB / 0.537 GB, free: 9.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.4193, allocations: 27.39 kB / 0.537 GB, free: 9.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.069e-05/0.4193, allocations: 110.5 kB / 0.5371 GB, free: 9.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.273e-05/0.4194, allocations: 33.27 kB / 0.5372 GB, free: 9.184 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.4195, allocations: 25.66 kB / 0.5372 GB, free: 9.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.4196, allocations: 328.3 kB / 0.5375 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.317e-05/0.4197, allocations: 26.3 kB / 0.5375 GB, free: 8.824 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.522e-05/0.4198, allocations: 52.12 kB / 0.5376 GB, free: 8.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.4199, allocations: 76.34 kB / 0.5376 GB, free: 8.738 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4199, allocations: 0 / 0.5376 GB, free: 8.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002682/0.4202, allocations: 138.9 kB / 0.5378 GB, free: 8.652 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.4202, allocations: 5.5 kB / 0.5378 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4202, allocations: 0 / 0.5378 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.4203, allocations: 1.25 kB / 0.5378 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.244e-05/0.4204, allocations: 21.39 kB / 0.5378 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.4204, allocations: 9.375 kB / 0.5378 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.4204, allocations: 2.375 kB / 0.5378 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.4204, allocations: 7.219 kB / 0.5378 GB, free: 8.637 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 (13): * Single equations (assignments): 13 * 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.0001155/0.4206, allocations: 138.4 kB / 0.538 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.4206, allocations: 14.91 kB / 0.538 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.4207, allocations: 20.3 kB / 0.538 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4207, allocations: 1.281 kB / 0.538 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.4207, allocations: 5.219 kB / 0.538 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4208, allocations: 0 / 0.538 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005492/0.4213, allocations: 470.9 kB / 0.5384 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4213, allocations: 1.156 kB / 0.5384 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.855e-05/0.4214, allocations: 15.89 kB / 0.5385 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.4214, allocations: 1.094 kB / 0.5385 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.4214, allocations: 2.062 kB / 0.5385 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.4214, allocations: 1.094 kB / 0.5385 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4214, allocations: 1.125 kB / 0.5385 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.4217, allocations: 239.1 kB / 0.5387 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.057e-05/0.4218, allocations: 92.59 kB / 0.5388 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.4218, allocations: 2.312 kB / 0.5388 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-05/0.4219, allocations: 2.719 kB / 0.5388 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.4219, allocations: 11.95 kB / 0.5388 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.422, allocations: 9.312 kB / 0.5388 GB, free: 7.715 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001642/0.4221, allocations: 177.4 kB / 0.539 GB, free: 7.598 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4221, allocations: 0 / 0.539 GB, free: 7.598 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.4224, allocations: 24.22 kB / 0.539 GB, free: 7.594 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001221/0.4236, allocations: 0.5116 MB / 0.5395 GB, free: 7.324 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000225/0.4239, allocations: 82.44 kB / 0.5396 GB, free: 7.289 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4239, allocations: 4.062 kB / 0.5396 GB, free: 7.285 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.035e-05/0.424, allocations: 40.45 kB / 0.5396 GB, free: 7.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.4244, allocations: 39.36 kB / 0.5397 GB, free: 7.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005524/0.4249, allocations: 317 kB / 0.54 GB, free: 7.004 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.4252, allocations: 0.7165 MB / 0.5407 GB, free: 6.289 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.83e-05/0.4253, allocations: 24.14 kB / 0.5407 GB, free: 6.273 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4253, allocations: 1.281 kB / 0.5407 GB, free: 6.273 MB / 398.1 MB Notification: Performance of Templates: time 0.004358/0.4297, allocations: 2.277 MB / 0.5429 GB, free: 5.098 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches