Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001181/0.001181, allocations: 122.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001432/0.001432, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.4 MB / 246.9 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.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 79.88 kB / 481.4 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.409, allocations: 62.44 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002933/0.412, allocations: 1.723 MB / 0.5328 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.4137, allocations: 1.018 MB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.59e-05/0.4138, allocations: 1.375 kB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.414, allocations: 40.02 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.4143, allocations: 95.09 kB / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.4144, allocations: 74.92 kB / 0.534 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.4146, allocations: 109.3 kB / 0.5341 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.212e-05/0.4146, allocations: 7 kB / 0.5341 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.154e-05/0.4147, allocations: 44.61 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.998e-05/0.4148, allocations: 45.3 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.4148, allocations: 3.844 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.471e-05/0.4149, allocations: 39.92 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.872e-05/0.415, allocations: 17.45 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.369e-05/0.415, allocations: 32.14 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.4152, allocations: 115.3 kB / 0.5344 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.4152, allocations: 1.25 kB / 0.5344 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.4152, allocations: 0 / 0.5344 GB, free: 11.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.4152, allocations: 0 / 0.5344 GB, free: 11.08 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004417/0.4157, allocations: 416.7 kB / 0.5348 GB, free: 10.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.803e-05/0.4157, allocations: 8.906 kB / 0.5348 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.4157, allocations: 9.188 kB / 0.5348 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.416, allocations: 211.6 kB / 0.535 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.416, allocations: 1.469 kB / 0.535 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.416, allocations: 7.438 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.4161, allocations: 54.08 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.4162, allocations: 0 / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.4162, allocations: 4 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.4162, allocations: 1.25 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.088e-05/0.4163, allocations: 25.98 kB / 0.5351 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003078/0.4166, allocations: 289.4 kB / 0.5353 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.4167, allocations: 58.14 kB / 0.5354 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.427e-05/0.4168, allocations: 21.45 kB / 0.5354 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.4168, allocations: 5 kB / 0.5354 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000128/0.417, allocations: 66.08 kB / 0.5355 GB, free: 9.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.417, allocations: 0 / 0.5355 GB, free: 9.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004823/0.4175, allocations: 180.8 kB / 0.5357 GB, free: 9.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.4175, allocations: 52.41 kB / 0.5357 GB, free: 9.738 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.4177, allocations: 181 kB / 0.5359 GB, free: 9.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.4177, allocations: 27.02 kB / 0.5359 GB, free: 9.559 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.948e-05/0.4178, allocations: 95.98 kB / 0.536 GB, free: 9.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.4179, allocations: 23.8 kB / 0.536 GB, free: 9.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.4179, allocations: 20.59 kB / 0.536 GB, free: 9.426 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.418, allocations: 325.5 kB / 0.5363 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.301e-05/0.4181, allocations: 22.98 kB / 0.5364 GB, free: 9.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.307e-05/0.4182, allocations: 39.45 kB / 0.5364 GB, free: 9.059 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.4183, allocations: 59.75 kB / 0.5365 GB, free: 9.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.4183, allocations: 3.938 kB / 0.5365 GB, free: 9.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001947/0.4185, allocations: 102.5 kB / 0.5366 GB, free: 8.949 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.4185, allocations: 5.562 kB / 0.5366 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.4185, allocations: 1.031 kB / 0.5366 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.4186, allocations: 1.281 kB / 0.5366 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.006e-05/0.4186, allocations: 16.11 kB / 0.5366 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.4187, allocations: 5.25 kB / 0.5366 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.341e-05/0.4187, allocations: 10.56 kB / 0.5366 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.4187, allocations: 2.438 kB / 0.5366 GB, free: 8.934 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 (10): * Single equations (assignments): 10 * 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.0001144/0.4188, allocations: 125.7 kB / 0.5367 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.4189, allocations: 12.06 kB / 0.5367 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.4189, allocations: 13.75 kB / 0.5368 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4189, allocations: 1.25 kB / 0.5368 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4189, allocations: 0 / 0.5368 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.4189, allocations: 7.875 kB / 0.5368 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005284/0.4195, allocations: 392.5 kB / 0.5371 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4195, allocations: 1.531 kB / 0.5371 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.738e-05/0.4195, allocations: 11.44 kB / 0.5371 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4195, allocations: 1.281 kB / 0.5371 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.4196, allocations: 8.938 kB / 0.5372 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4196, allocations: 1.062 kB / 0.5372 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.4196, allocations: 1.188 kB / 0.5372 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.4198, allocations: 199.4 kB / 0.5373 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.4199, allocations: 88.41 kB / 0.5374 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.4199, allocations: 10.12 kB / 0.5374 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.626e-05/0.42, allocations: 1.312 kB / 0.5374 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-05/0.42, allocations: 15.31 kB / 0.5375 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.42, allocations: 7.25 kB / 0.5375 GB, free: 8.094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.4202, allocations: 133.2 kB / 0.5376 GB, free: 7.992 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4202, allocations: 0.9688 kB / 0.5376 GB, free: 7.992 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002476/0.4204, allocations: 20.41 kB / 0.5376 GB, free: 7.988 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: 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 (8): * Single equations (assignments): 6 * 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.0009853/0.4214, allocations: 463.8 kB / 0.5381 GB, free: 7.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001679/0.4216, allocations: 62.02 kB / 0.5381 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.4216, allocations: 0 / 0.5381 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.427e-05/0.4217, allocations: 33.34 kB / 0.5381 GB, free: 7.707 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.422, allocations: 29.52 kB / 0.5382 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/0.4224, allocations: 207.6 kB / 0.5384 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.4227, allocations: 0.6997 MB / 0.5391 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.112e-05/0.4228, allocations: 14.34 kB / 0.5391 GB, free: 6.805 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.4228, allocations: 19.61 kB / 0.5391 GB, free: 6.793 MB / 398.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4228, allocations: 0 / 0.5391 GB, free: 6.793 MB / 398.1 MB Notification: Performance of Templates: time 0.004423/0.4273, allocations: 1.723 MB / 0.5408 GB, free: 5.922 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches