Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001217/0.001217, 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.001222/0.001222, 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.428/1.428, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2347/0.2347, allocations: 46.09 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 75.88 kB / 482 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4169, allocations: 62.44 MB / 0.5317 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003154/0.4201, allocations: 1.828 MB / 0.5335 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002641/0.4228, allocations: 1.691 MB / 0.5352 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.55e-05/0.4229, allocations: 1.25 kB / 0.5352 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003405/0.4232, allocations: 54.56 kB / 0.5352 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004829/0.4237, allocations: 142.8 kB / 0.5353 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.424, allocations: 107.7 kB / 0.5354 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002875/0.4243, allocations: 201.2 kB / 0.5356 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.72e-05/0.4244, allocations: 13.84 kB / 0.5357 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.4246, allocations: 89.36 kB / 0.5357 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.4248, allocations: 79.97 kB / 0.5358 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.4248, allocations: 9.031 kB / 0.5358 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002134/0.425, allocations: 118 kB / 0.5359 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.337e-05/0.4251, allocations: 41.23 kB / 0.536 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.4252, allocations: 62.52 kB / 0.536 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003608/0.4256, allocations: 225.3 kB / 0.5362 GB, free: 10.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4256, allocations: 0 / 0.5362 GB, free: 10.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.4256, allocations: 0 / 0.5362 GB, free: 10.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.4256, allocations: 0 / 0.5362 GB, free: 10.31 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.0006839/0.4263, allocations: 499.4 kB / 0.5367 GB, free: 9.828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.4264, allocations: 9.281 kB / 0.5367 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.102e-05/0.4264, allocations: 20.78 kB / 0.5368 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/0.4268, allocations: 261.6 kB / 0.537 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.4269, allocations: 2.406 kB / 0.537 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.4269, allocations: 7.375 kB / 0.537 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.4271, allocations: 103.6 kB / 0.5371 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.4271, allocations: 0 / 0.5371 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.4272, allocations: 5.719 kB / 0.5371 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.4272, allocations: 5.125 kB / 0.5371 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.4273, allocations: 27.67 kB / 0.5371 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002305/0.4275, allocations: 225.9 kB / 0.5374 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/0.4278, allocations: 109.6 kB / 0.5375 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.804e-05/0.4279, allocations: 41.67 kB / 0.5375 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.4279, allocations: 2.5 kB / 0.5375 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002373/0.4282, allocations: 103.9 kB / 0.5376 GB, free: 8.969 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.4282, allocations: 4 kB / 0.5376 GB, free: 8.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004368/0.4286, allocations: 159.1 kB / 0.5378 GB, free: 8.879 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.252e-05/0.4287, allocations: 138.7 kB / 0.5379 GB, free: 8.715 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.429, allocations: 239.3 kB / 0.5381 GB, free: 8.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.429, allocations: 32.27 kB / 0.5382 GB, free: 8.508 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.879e-05/0.4291, allocations: 114.4 kB / 0.5383 GB, free: 8.398 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.4291, allocations: 20.62 kB / 0.5383 GB, free: 8.383 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.856e-05/0.4292, allocations: 40.11 kB / 0.5383 GB, free: 8.348 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002735/0.4295, allocations: 327.3 kB / 0.5386 GB, free: 8.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.672e-05/0.4296, allocations: 30.89 kB / 0.5387 GB, free: 8.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.4297, allocations: 72.69 kB / 0.5387 GB, free: 7.941 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.4299, allocations: 95.45 kB / 0.5388 GB, free: 7.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.4299, allocations: 0 / 0.5388 GB, free: 7.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002887/0.4302, allocations: 141.6 kB / 0.539 GB, free: 7.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.4302, allocations: 5.812 kB / 0.539 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.4302, allocations: 0.6562 kB / 0.539 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.4303, allocations: 1.969 kB / 0.539 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.4304, allocations: 26.27 kB / 0.539 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.4304, allocations: 5.219 kB / 0.539 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.268e-05/0.4305, allocations: 12.34 kB / 0.539 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.4305, allocations: 4.125 kB / 0.539 GB, free: 7.766 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001233/0.4307, allocations: 136.9 kB / 0.5391 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/0.4307, allocations: 21.84 kB / 0.5392 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.338e-05/0.4308, allocations: 23.08 kB / 0.5392 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.4308, allocations: 1.156 kB / 0.5392 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.4308, allocations: 1.062 kB / 0.5392 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.4308, allocations: 5.125 kB / 0.5392 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.431, allocations: 222.9 kB / 0.5394 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.431, allocations: 1.125 kB / 0.5394 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.411e-05/0.4311, allocations: 10.45 kB / 0.5394 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.4311, allocations: 1.312 kB / 0.5394 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.4311, allocations: 5.344 kB / 0.5394 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.4311, allocations: 0.9062 kB / 0.5394 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.4311, allocations: 1.125 kB / 0.5394 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.4314, allocations: 175 kB / 0.5396 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.269e-05/0.4315, allocations: 98.28 kB / 0.5397 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.4315, allocations: 9.375 kB / 0.5397 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.875e-05/0.4316, allocations: 7.891 kB / 0.5397 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.4317, allocations: 4.719 kB / 0.5397 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.4317, allocations: 11.8 kB / 0.5397 GB, free: 7.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001751/0.4319, allocations: 174.7 kB / 0.5399 GB, free: 6.969 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4319, allocations: 0 / 0.5399 GB, free: 6.969 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002951/0.4322, allocations: 66.86 kB / 0.54 GB, free: 6.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001156/0.4333, allocations: 0.491 MB / 0.5404 GB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002622/0.4336, allocations: 78.81 kB / 0.5405 GB, free: 6.648 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4336, allocations: 1.125 kB / 0.5405 GB, free: 6.648 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.4337, allocations: 39.05 kB / 0.5405 GB, free: 6.633 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.4341, allocations: 63.59 kB / 0.5406 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005901/0.4347, allocations: 316.9 kB / 0.5409 GB, free: 6.348 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.4351, allocations: 0.7183 MB / 0.5416 GB, free: 5.633 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.95e-05/0.4351, allocations: 26.14 kB / 0.5416 GB, free: 5.621 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4352, allocations: 1.062 kB / 0.5416 GB, free: 5.621 MB / 398.1 MB Notification: Performance of Templates: time 0.005725/0.4409, allocations: 3.19 MB / 0.5447 GB, free: 3.977 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches