Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 111.5 kB / 17.06 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 200 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.661/1.661, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 47.92 kB / 351.3 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4405, allocations: 49.43 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.005051/0.4456, allocations: 2.733 MB / 403.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.4472, allocations: 0.6972 MB / 404.2 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.4474, allocations: 4 kB / 404.2 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.4476, allocations: 39.58 kB / 404.2 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001814/0.4477, allocations: 91.2 kB / 404.3 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003442/0.4481, allocations: 107.8 kB / 404.4 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004097/0.4485, allocations: 378.5 kB / 404.8 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.4487, allocations: 88.69 kB / 404.9 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002546/0.449, allocations: 147.4 kB / 405 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.4492, allocations: 175.3 kB / 405.2 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.411e-05/0.4493, allocations: 32 kB / 405.2 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.73e-05/0.4493, allocations: 32 kB / 405.2 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.653e-05/0.4494, allocations: 63.81 kB / 405.3 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.4496, allocations: 167.2 kB / 405.5 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003741/0.45, allocations: 360 kB / 405.8 MB, free: 3.773 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.45, allocations: 0 / 405.8 MB, free: 3.773 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.45, allocations: 7.938 kB / 405.8 MB, free: 3.766 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.4501, allocations: 0 / 405.8 MB, free: 3.766 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001666/0.4517, allocations: 0.6647 MB / 406.5 MB, free: 3.047 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.4518, allocations: 15.89 kB / 406.5 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.204e-05/0.4519, allocations: 32.5 kB / 406.5 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004624/0.4524, allocations: 268.9 kB / 406.8 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.4524, allocations: 16.81 kB / 406.8 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.681e-05/0.4525, allocations: 24.38 kB / 406.8 MB, free: 2.656 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007934/0.4533, allocations: 314 kB / 407.1 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.4533, allocations: 0 / 407.1 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.4533, allocations: 4 kB / 407.1 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.4533, allocations: 12 kB / 407.2 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009701/0.4543, allocations: 285.5 kB / 407.4 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.4561, allocations: 0.9685 MB / 408.4 MB, free: 1.004 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002913/0.459, allocations: 0.4888 MB / 408.9 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006545/0.4597, allocations: 212.7 kB / 409.1 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/0.4597, allocations: 11.92 kB / 409.1 MB, free: 292 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006678/0.4604, allocations: 239.4 kB / 409.3 MB, free: 32 kB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.144e-06/0.4604, allocations: 4 kB / 409.3 MB, free: 28 kB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001651/0.4621, allocations: 460.1 kB / 409.8 MB, free: 15.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.339e-05/0.4622, allocations: 114.8 kB / 409.9 MB, free: 15.44 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.4625, allocations: 233 kB / 410.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.4625, allocations: 29.7 kB / 410.2 MB, free: 15.17 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.4626, allocations: 160.1 kB / 410.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.483e-05/0.4627, allocations: 63.11 kB / 410.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.4628, allocations: 57.83 kB / 410.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.463, allocations: 326.8 kB / 410.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004822/0.4635, allocations: 144.3 kB / 410.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005006/0.464, allocations: 177 kB / 411.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009387/0.4649, allocations: 320 kB / 411.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.465, allocations: 0 / 411.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001137/0.4661, allocations: 398.8 kB / 411.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.076e-05/0.4662, allocations: 41.62 kB / 411.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.4662, allocations: 0 / 411.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.4662, allocations: 0 / 411.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/0.468, allocations: 243.6 kB / 412.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004847/0.4728, allocations: 3.396 MB / 415.4 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004805/0.4733, allocations: 51.89 kB / 415.5 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.4734, allocations: 12 kB / 415.5 MB, free: 9.477 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 (pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002481/0.4736, allocations: 141.7 kB / 415.6 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.388e-05/0.4737, allocations: 27.7 kB / 415.7 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.103e-05/0.4737, allocations: 26.19 kB / 415.7 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.4738, allocations: 4 kB / 415.7 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.4738, allocations: 0 / 415.7 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.4738, allocations: 3.984 kB / 415.7 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/0.4756, allocations: 0.8932 MB / 416.6 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.4756, allocations: 3.938 kB / 416.6 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001686/0.4773, allocations: 231.8 kB / 416.8 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.4773, allocations: 3.938 kB / 416.8 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.4774, allocations: 8 kB / 416.8 MB, free: 8.066 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004984/0.4824, allocations: 3.416 MB / 420.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4824, allocations: 0 / 420.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.4841, allocations: 0.5991 MB / 420.9 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.441e-05/0.4842, allocations: 104.8 kB / 421 MB, free: 3.641 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/0.4843, allocations: 15.92 kB / 421 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003523/0.4846, allocations: 31.95 kB / 421 MB, free: 3.594 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.4848, allocations: 32.03 kB / 421 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.4848, allocations: 4 kB / 421 MB, free: 3.559 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001899/0.485, allocations: 172.5 kB / 421.2 MB, free: 3.395 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.485, allocations: 0 / 421.2 MB, free: 3.395 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005463/0.4855, allocations: 83.84 kB / 421.3 MB, free: 3.312 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (thyristor_v4_1.vControl,inductor.i) * Number of discrete variables: 3 ($whenCondition1,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001858/0.4857, allocations: 115.1 kB / 421.4 MB, free: 3.188 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002617/0.4884, allocations: 0.5302 MB / 421.9 MB, free: 2.645 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.4884, allocations: 0 / 421.9 MB, free: 2.645 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001989/0.4904, allocations: 351.8 kB / 422.3 MB, free: 2.301 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004561/0.4908, allocations: 40.34 kB / 422.3 MB, free: 2.258 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.4928, allocations: 0.6871 MB / 423 MB, free: 1.543 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.4933, allocations: 0.748 MB / 423.8 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001452/0.4934, allocations: 25.94 kB / 423.8 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.4935, allocations: 23.44 kB / 423.8 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of SimCode: time 1.293e-06/0.4935, allocations: 3.938 kB / 423.8 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of Templates: time 0.008485/0.502, allocations: 3.798 MB / 427.6 MB, free: 12.95 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches