Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001406/0.001406, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001659/0.00166, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2303/0.2303, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 75.88 kB / 482 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4107, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003435/0.4142, allocations: 1.835 MB / 0.5335 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.4162, allocations: 1.096 MB / 0.5346 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.893e-05/0.4163, allocations: 5.375 kB / 0.5346 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005479/0.4169, allocations: 300 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005009/0.4174, allocations: 259.8 kB / 0.5351 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.4177, allocations: 105 kB / 0.5352 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003593/0.4181, allocations: 263.2 kB / 0.5355 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.84e-05/0.4181, allocations: 9.656 kB / 0.5355 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.4183, allocations: 133.7 kB / 0.5356 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002636/0.4186, allocations: 196.5 kB / 0.5358 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.4186, allocations: 5.812 kB / 0.5358 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.4188, allocations: 51.11 kB / 0.5358 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.419, allocations: 150.8 kB / 0.536 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.4191, allocations: 147 kB / 0.5361 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004474/0.4196, allocations: 373.9 kB / 0.5365 GB, free: 10.19 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4196, allocations: 0 / 0.5365 GB, free: 10.19 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4196, allocations: 0 / 0.5365 GB, free: 10.19 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.4196, allocations: 0 / 0.5365 GB, free: 10.19 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.001022/0.4206, allocations: 0.7415 MB / 0.5372 GB, free: 9.527 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.4207, allocations: 9.062 kB / 0.5372 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.781e-05/0.4208, allocations: 55.03 kB / 0.5373 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006692/0.4215, allocations: 455.9 kB / 0.5377 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.4215, allocations: 6.781 kB / 0.5377 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.4215, allocations: 10.67 kB / 0.5377 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.4217, allocations: 87.64 kB / 0.5378 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.4218, allocations: 0 / 0.5378 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.4218, allocations: 1.25 kB / 0.5378 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.4218, allocations: 5.125 kB / 0.5378 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.4219, allocations: 32 kB / 0.5378 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004876/0.4224, allocations: 378.6 kB / 0.5382 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/0.4227, allocations: 109.1 kB / 0.5383 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.4228, allocations: 46.09 kB / 0.5384 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.4229, allocations: 0.9375 kB / 0.5384 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/0.4231, allocations: 108.7 kB / 0.5385 GB, free: 8.484 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.4231, allocations: 4 kB / 0.5385 GB, free: 8.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005105/0.4236, allocations: 200.9 kB / 0.5386 GB, free: 8.367 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/0.4237, allocations: 86.38 kB / 0.5387 GB, free: 8.266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.425, allocations: 1.05 MB / 0.5398 GB, free: 7.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.425, allocations: 30.73 kB / 0.5398 GB, free: 7.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.4252, allocations: 234.2 kB / 0.54 GB, free: 7.551 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.504e-05/0.4253, allocations: 37.11 kB / 0.54 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-05/0.4254, allocations: 25.81 kB / 0.5401 GB, free: 7.496 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.4255, allocations: 374.5 kB / 0.5404 GB, free: 7.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.932e-05/0.4256, allocations: 26.95 kB / 0.5405 GB, free: 7.129 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.4258, allocations: 57.3 kB / 0.5405 GB, free: 7.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.426, allocations: 94.5 kB / 0.5406 GB, free: 7.012 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.426, allocations: 0 / 0.5406 GB, free: 7.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003241/0.4263, allocations: 171.1 kB / 0.5408 GB, free: 6.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.4263, allocations: 5.281 kB / 0.5408 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.4263, allocations: 1.062 kB / 0.5408 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.4264, allocations: 2 kB / 0.5408 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.4265, allocations: 21.61 kB / 0.5408 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.4265, allocations: 2.375 kB / 0.5408 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.4266, allocations: 16.45 kB / 0.5408 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.4266, allocations: 3.938 kB / 0.5408 GB, free: 6.895 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002399/0.4269, allocations: 222.3 kB / 0.541 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.343e-05/0.427, allocations: 57.98 kB / 0.5411 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.294e-05/0.4271, allocations: 59.77 kB / 0.5411 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.4271, allocations: 1.312 kB / 0.5411 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4271, allocations: 1.469 kB / 0.5411 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4271, allocations: 0 / 0.5411 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000377/0.4275, allocations: 358.5 kB / 0.5415 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.4275, allocations: 1 kB / 0.5415 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.631e-05/0.4275, allocations: 6.156 kB / 0.5415 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.4276, allocations: 1.25 kB / 0.5415 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.4276, allocations: 14.14 kB / 0.5415 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.4276, allocations: 1.125 kB / 0.5415 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4276, allocations: 0 / 0.5415 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003766/0.428, allocations: 205.3 kB / 0.5417 GB, free: 6.199 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.4281, allocations: 142.3 kB / 0.5418 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/0.4282, allocations: 2.406 kB / 0.5418 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.77e-05/0.4283, allocations: 11.17 kB / 0.5418 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.4283, allocations: 15.48 kB / 0.5419 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.4284, allocations: 4.938 kB / 0.5419 GB, free: 6.047 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009251/0.4293, allocations: 0.785 MB / 0.5426 GB, free: 5.684 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4293, allocations: 0 / 0.5426 GB, free: 5.684 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002941/0.4296, allocations: 44.88 kB / 0.5427 GB, free: 5.676 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.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.001023/0.4306, allocations: 412.8 kB / 0.5431 GB, free: 5.457 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002774/0.4309, allocations: 79.48 kB / 0.5431 GB, free: 5.426 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4309, allocations: 0 / 0.5431 GB, free: 5.426 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.431, allocations: 42.2 kB / 0.5432 GB, free: 5.406 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.4315, allocations: 76.64 kB / 0.5433 GB, free: 5.371 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.4328, allocations: 0.9132 MB / 0.5442 GB, free: 4.699 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/0.4333, allocations: 0.8542 MB / 0.545 GB, free: 3.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.088e-05/0.4334, allocations: 31.44 kB / 0.545 GB, free: 3.793 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4334, allocations: 0 / 0.545 GB, free: 3.793 MB / 398.1 MB Notification: Performance of Templates: time 0.008188/0.4416, allocations: 5.198 MB / 0.5501 GB, free: 14.59 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches