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.00174/0.00174, allocations: 115.8 kB / 18.45 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.002328/0.002328, allocations: 202.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 2.537/2.537, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 63.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.4237, allocations: 50.53 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.006853/0.4306, allocations: 2.769 MB / 412.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002545/0.4332, allocations: 0.7439 MB / 413.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003524/0.4336, allocations: 8 kB / 413.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.434, allocations: 43.56 kB / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004922/0.4345, allocations: 83.2 kB / 413.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007168/0.4353, allocations: 111.8 kB / 413.7 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008774/0.4362, allocations: 394.5 kB / 414.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003152/0.4365, allocations: 84.69 kB / 414.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005249/0.437, allocations: 151.5 kB / 414.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005086/0.4376, allocations: 171.3 kB / 414.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.4377, allocations: 36 kB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.4379, allocations: 40 kB / 414.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.438, allocations: 71.69 kB / 414.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002841/0.4383, allocations: 163.2 kB / 414.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006599/0.439, allocations: 367.9 kB / 415.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.127e-05/0.439, allocations: 4 kB / 415.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.439, allocations: 0 / 415.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.878e-05/0.4391, allocations: 0 / 415.1 MB, free: 12.38 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.002568/0.4416, allocations: 0.6765 MB / 415.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.4417, allocations: 8.031 kB / 415.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003027/0.442, allocations: 44.55 kB / 415.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006961/0.4427, allocations: 282.7 kB / 416.1 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.988e-05/0.4428, allocations: 12.81 kB / 416.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.028e-05/0.4429, allocations: 20.38 kB / 416.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.4442, allocations: 318 kB / 416.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.4443, allocations: 0 / 416.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.4443, allocations: 4 kB / 416.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.4444, allocations: 4 kB / 416.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.4461, allocations: 309.4 kB / 416.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003055/0.4491, allocations: 0.9724 MB / 417.8 MB, free: 9.574 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005115/0.4543, allocations: 0.4904 MB / 418.3 MB, free: 9.074 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/0.4556, allocations: 216.7 kB / 418.5 MB, free: 8.859 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.423e-05/0.4557, allocations: 3.984 kB / 418.5 MB, free: 8.855 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001222/0.4569, allocations: 256 kB / 418.7 MB, free: 8.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 3.827e-06/0.457, allocations: 0 / 418.7 MB, free: 8.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.002961/0.4599, allocations: 467.7 kB / 419.2 MB, free: 8.129 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002025/0.4602, allocations: 110.8 kB / 419.3 MB, free: 7.996 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000502/0.4607, allocations: 241 kB / 419.5 MB, free: 7.754 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.82e-05/0.4608, allocations: 25.7 kB / 419.5 MB, free: 7.723 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.461, allocations: 164.2 kB / 419.7 MB, free: 7.559 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.4611, allocations: 71 kB / 419.8 MB, free: 7.488 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/0.4613, allocations: 49.92 kB / 419.8 MB, free: 7.434 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.4615, allocations: 330.8 kB / 420.1 MB, free: 7.102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009073/0.4624, allocations: 144.4 kB / 420.3 MB, free: 6.961 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009504/0.4634, allocations: 180.2 kB / 420.5 MB, free: 6.773 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/0.4652, allocations: 320 kB / 420.8 MB, free: 6.445 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.4652, allocations: 0 / 420.8 MB, free: 6.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002177/0.4674, allocations: 410.8 kB / 421.2 MB, free: 6.031 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.546e-05/0.4675, allocations: 45.62 kB / 421.2 MB, free: 5.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.4676, allocations: 0 / 421.2 MB, free: 5.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.348e-05/0.4676, allocations: 0 / 421.2 MB, free: 5.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003043/0.4707, allocations: 271.6 kB / 421.5 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008125/0.4788, allocations: 3.439 MB / 424.9 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007262/0.4796, allocations: 59.89 kB / 425 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.127e-05/0.4797, allocations: 8 kB / 425 MB, free: 1.934 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.0003012/0.48, allocations: 145.7 kB / 425.1 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.691e-05/0.4801, allocations: 27.66 kB / 425.2 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.4802, allocations: 30.17 kB / 425.2 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.4803, allocations: 7.938 kB / 425.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.4803, allocations: 7.984 kB / 425.2 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.4803, allocations: 0 / 425.2 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003115/0.4834, allocations: 0.9037 MB / 426.1 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.4835, allocations: 4.062 kB / 426.1 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003005/0.4865, allocations: 259.6 kB / 426.4 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/0.4865, allocations: 4 kB / 426.4 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.704e-05/0.4866, allocations: 3.984 kB / 426.4 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00817/0.4948, allocations: 3.444 MB / 429.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.4948, allocations: 0 / 429.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002708/0.4976, allocations: 0.6022 MB / 430.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.4977, allocations: 104.8 kB / 430.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.7e-05/0.4978, allocations: 11.94 kB / 430.5 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006015/0.4984, allocations: 43.95 kB / 430.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.4986, allocations: 23.97 kB / 430.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.273e-05/0.4986, allocations: 11.98 kB / 430.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002879/0.4989, allocations: 172.5 kB / 430.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.499, allocations: 4 kB / 430.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008862/0.4999, allocations: 83.84 kB / 430.9 MB, free: 11.67 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.0002089/0.5001, allocations: 103.2 kB / 431 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004422/0.5045, allocations: 0.5732 MB / 431.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.5046, allocations: 0 / 431.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003482/0.508, allocations: 379.7 kB / 431.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007804/0.5089, allocations: 47.83 kB / 432 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002923/0.5118, allocations: 0.7175 MB / 432.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.5123, allocations: 0.7558 MB / 433.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.5125, allocations: 19.44 kB / 433.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of SimCode: time 7.92e-07/0.5125, allocations: 4 kB / 433.5 MB, free: 8.992 MB / 350.1 MB Notification: Performance of Templates: time 0.01288/0.5254, allocations: 5.551 MB / 439 MB, free: 3.461 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches