Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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) 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(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001122/0.001122, allocations: 121.8 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.001109/0.001109, allocations: 204.6 kB / 18.74 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.514/1.514, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 59.89 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.444/0.4452, allocations: 50.55 MB / 409.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004875/0.4502, allocations: 2.765 MB / 412 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.4516, allocations: 0.7478 MB / 412.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.4517, allocations: 4 kB / 412.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.4519, allocations: 43.56 kB / 412.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.4521, allocations: 87.2 kB / 412.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000372/0.4525, allocations: 115.8 kB / 413 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005626/0.453, allocations: 382.5 kB / 413.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.4532, allocations: 80.67 kB / 413.5 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003032/0.4536, allocations: 167.5 kB / 413.6 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.4538, allocations: 171.3 kB / 413.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.417e-05/0.4539, allocations: 32 kB / 413.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.21e-05/0.454, allocations: 36 kB / 413.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.171e-05/0.454, allocations: 75.73 kB / 413.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.4542, allocations: 155.2 kB / 414.1 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004192/0.4546, allocations: 375.9 kB / 414.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.4546, allocations: 0 / 414.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.828e-06/0.4547, allocations: 0 / 414.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.4547, allocations: 0 / 414.5 MB, free: 12.32 MB / 334.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.001767/0.4565, allocations: 0.6843 MB / 415.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/0.4565, allocations: 12.03 kB / 415.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002292/0.4568, allocations: 44.48 kB / 415.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004626/0.4572, allocations: 270.7 kB / 415.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.4573, allocations: 12.81 kB / 415.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002663/0.4575, allocations: 24.38 kB / 415.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007802/0.4583, allocations: 310 kB / 415.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.4583, allocations: 0 / 415.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.4584, allocations: 15.98 kB / 415.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.4584, allocations: 4 kB / 415.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009711/0.4594, allocations: 301.5 kB / 416.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.4611, allocations: 0.9608 MB / 417.1 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002858/0.464, allocations: 0.4943 MB / 417.6 MB, free: 9.031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000683/0.4647, allocations: 212.7 kB / 417.8 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.4648, allocations: 4 kB / 417.8 MB, free: 8.816 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007102/0.4655, allocations: 249.2 kB / 418 MB, free: 8.555 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/0.4655, allocations: 4 kB / 418 MB, free: 8.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001629/0.4671, allocations: 475.7 kB / 418.5 MB, free: 8.082 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.912e-05/0.4672, allocations: 110.8 kB / 418.6 MB, free: 7.949 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.4675, allocations: 233 kB / 418.8 MB, free: 7.715 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.4675, allocations: 33.7 kB / 418.9 MB, free: 7.676 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.4677, allocations: 156.2 kB / 419 MB, free: 7.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.13e-05/0.4678, allocations: 70.98 kB / 419.1 MB, free: 7.449 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.4679, allocations: 45.94 kB / 419.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.468, allocations: 338.8 kB / 419.5 MB, free: 7.059 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004883/0.4685, allocations: 144.3 kB / 419.6 MB, free: 6.918 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005022/0.469, allocations: 180.2 kB / 419.8 MB, free: 6.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009314/0.47, allocations: 324 kB / 420.1 MB, free: 6.398 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.47, allocations: 4 kB / 420.1 MB, free: 6.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001133/0.4711, allocations: 410.8 kB / 420.5 MB, free: 5.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.47e-05/0.4712, allocations: 41.64 kB / 420.5 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4712, allocations: 0 / 420.5 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.4713, allocations: 3.938 kB / 420.5 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00172/0.473, allocations: 271.7 kB / 420.8 MB, free: 5.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004908/0.4779, allocations: 3.443 MB / 424.2 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003696/0.4783, allocations: 55.77 kB / 424.3 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.4783, allocations: 8 kB / 424.3 MB, free: 1.883 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.0002089/0.4785, allocations: 149.7 kB / 424.5 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.4786, allocations: 27.78 kB / 424.5 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.257e-05/0.4787, allocations: 30.17 kB / 424.5 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.4787, allocations: 4 kB / 424.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4787, allocations: 0 / 424.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.4787, allocations: 7.922 kB / 424.5 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.4805, allocations: 0.9076 MB / 425.4 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.4805, allocations: 4 kB / 425.4 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/0.4822, allocations: 263.7 kB / 425.7 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4822, allocations: 3.984 kB / 425.7 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.4823, allocations: 8 kB / 425.7 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004852/0.4871, allocations: 3.436 MB / 429.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.4872, allocations: 3.938 kB / 429.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.4887, allocations: 0.6023 MB / 429.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-05/0.4889, allocations: 96.86 kB / 429.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/0.4889, allocations: 15.92 kB / 429.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003333/0.4892, allocations: 35.95 kB / 429.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.4894, allocations: 32.03 kB / 429.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.4894, allocations: 4 kB / 429.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001919/0.4896, allocations: 176.4 kB / 430.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4896, allocations: 0 / 430.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004921/0.4901, allocations: 83.84 kB / 430.2 MB, free: 11.62 MB / 350.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.0002156/0.4903, allocations: 107.2 kB / 430.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002586/0.4929, allocations: 0.577 MB / 430.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4929, allocations: 0 / 430.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001999/0.4949, allocations: 383.8 kB / 431.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.4954, allocations: 56.31 kB / 431.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.4972, allocations: 0.6846 MB / 432 MB, free: 9.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.4975, allocations: 0.7558 MB / 432.7 MB, free: 8.984 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001351/0.4977, allocations: 25.94 kB / 432.8 MB, free: 8.961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.694e-05/0.4978, allocations: 19.44 kB / 432.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4978, allocations: 0 / 432.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of Templates: time 0.007732/0.5055, allocations: 3.968 MB / 436.7 MB, free: 5.008 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches