Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001456/0.001456, allocations: 111.7 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001722/0.001722, allocations: 209.9 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2388/0.2388, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 79.88 kB / 482 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4116, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003346/0.415, allocations: 1.831 MB / 0.5335 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.417, allocations: 1.093 MB / 0.5346 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.33e-05/0.4171, allocations: 1.375 kB / 0.5346 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000628/0.4177, allocations: 295.5 kB / 0.5349 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005191/0.4183, allocations: 261.2 kB / 0.5351 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.4186, allocations: 104.1 kB / 0.5352 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003531/0.4189, allocations: 261.9 kB / 0.5354 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.657e-05/0.419, allocations: 14.3 kB / 0.5355 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.4192, allocations: 132.1 kB / 0.5356 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.4194, allocations: 189.9 kB / 0.5358 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.4195, allocations: 6.688 kB / 0.5358 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.4196, allocations: 47.33 kB / 0.5358 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.4198, allocations: 140.8 kB / 0.536 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.4199, allocations: 142.8 kB / 0.5361 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004371/0.4204, allocations: 377.9 kB / 0.5365 GB, free: 10.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4204, allocations: 0.875 kB / 0.5365 GB, free: 10.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4204, allocations: 0 / 0.5365 GB, free: 10.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.4204, allocations: 0 / 0.5365 GB, free: 10.22 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.0009605/0.4214, allocations: 0.7272 MB / 0.5372 GB, free: 9.574 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.4214, allocations: 9.406 kB / 0.5372 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.314e-05/0.4215, allocations: 50 kB / 0.5372 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000643/0.4222, allocations: 457 kB / 0.5377 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.4222, allocations: 6.469 kB / 0.5377 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.4222, allocations: 6.219 kB / 0.5377 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.4224, allocations: 84.08 kB / 0.5377 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.4225, allocations: 1.125 kB / 0.5377 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.4225, allocations: 0 / 0.5377 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.4225, allocations: 1.25 kB / 0.5377 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.4226, allocations: 31.73 kB / 0.5378 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.423, allocations: 376.3 kB / 0.5381 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.4233, allocations: 100.8 kB / 0.5382 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.939e-05/0.4234, allocations: 49.81 kB / 0.5383 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.4235, allocations: 9.844 kB / 0.5383 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002247/0.4237, allocations: 108.1 kB / 0.5384 GB, free: 8.539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 3.697e-06/0.4237, allocations: 3.984 kB / 0.5384 GB, free: 8.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004923/0.4242, allocations: 200.8 kB / 0.5386 GB, free: 8.422 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.4243, allocations: 82.14 kB / 0.5387 GB, free: 8.324 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.4254, allocations: 1.023 MB / 0.5397 GB, free: 7.855 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.4255, allocations: 30.8 kB / 0.5397 GB, free: 7.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.4257, allocations: 234.2 kB / 0.5399 GB, free: 7.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.072e-05/0.4257, allocations: 24.33 kB / 0.5399 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/0.4258, allocations: 26.19 kB / 0.54 GB, free: 7.574 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.4259, allocations: 374.6 kB / 0.5403 GB, free: 7.219 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.484e-05/0.426, allocations: 34.45 kB / 0.5404 GB, free: 7.199 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.927e-05/0.4261, allocations: 57.42 kB / 0.5404 GB, free: 7.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.4263, allocations: 90.31 kB / 0.5405 GB, free: 7.086 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4263, allocations: 0 / 0.5405 GB, free: 7.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002974/0.4266, allocations: 176 kB / 0.5407 GB, free: 6.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.4267, allocations: 4.938 kB / 0.5407 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.4267, allocations: 1.094 kB / 0.5407 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.4267, allocations: 2.281 kB / 0.5407 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.4268, allocations: 28.58 kB / 0.5407 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.4268, allocations: 2.125 kB / 0.5407 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.623e-05/0.4269, allocations: 16.11 kB / 0.5407 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.427, allocations: 8.891 kB / 0.5407 GB, free: 6.953 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.0002274/0.4272, allocations: 224 kB / 0.5409 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-05/0.4273, allocations: 46.59 kB / 0.541 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.499e-05/0.4274, allocations: 57.53 kB / 0.541 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4274, allocations: 5.109 kB / 0.541 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4274, allocations: 1.094 kB / 0.541 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.4274, allocations: 1.125 kB / 0.541 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003329/0.4277, allocations: 348.5 kB / 0.5414 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4277, allocations: 0 / 0.5414 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.776e-05/0.4278, allocations: 11.09 kB / 0.5414 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.4278, allocations: 5.125 kB / 0.5414 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.4278, allocations: 5.188 kB / 0.5414 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.4278, allocations: 1.125 kB / 0.5414 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4278, allocations: 1.125 kB / 0.5414 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003452/0.4282, allocations: 212.3 kB / 0.5416 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.4283, allocations: 137.9 kB / 0.5417 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.4284, allocations: 1.25 kB / 0.5417 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.911e-05/0.4285, allocations: 11.28 kB / 0.5417 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.4285, allocations: 8.828 kB / 0.5418 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.4286, allocations: 4.5 kB / 0.5418 GB, free: 6.121 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008784/0.4294, allocations: 0.7646 MB / 0.5425 GB, free: 5.766 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4294, allocations: 0 / 0.5425 GB, free: 5.766 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002816/0.4297, allocations: 39.66 kB / 0.5425 GB, free: 5.762 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.0009819/0.4307, allocations: 409.6 kB / 0.5429 GB, free: 5.547 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002593/0.431, allocations: 87.02 kB / 0.543 GB, free: 5.508 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.431, allocations: 1.094 kB / 0.543 GB, free: 5.508 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.4311, allocations: 38.42 kB / 0.5431 GB, free: 5.492 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.4316, allocations: 78.98 kB / 0.5431 GB, free: 5.449 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.4329, allocations: 0.8935 MB / 0.544 GB, free: 4.867 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.4333, allocations: 0.8504 MB / 0.5448 GB, free: 3.992 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.84e-05/0.4334, allocations: 31.44 kB / 0.5449 GB, free: 3.965 MB / 398.1 MB Notification: Performance of SimCode: time 1.583e-06/0.4334, allocations: 0 / 0.5449 GB, free: 3.965 MB / 398.1 MB Notification: Performance of Templates: time 0.008162/0.4415, allocations: 5.096 MB / 0.5498 GB, free: 14.87 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches