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.001228/0.001228, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001226/0.001226, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001296, allocations: 63.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3555, allocations: 50.55 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004133/0.3596, allocations: 2.761 MB / 412.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.3609, allocations: 0.7439 MB / 413.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.3611, allocations: 4 kB / 413.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.3612, allocations: 39.58 kB / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.3614, allocations: 87.2 kB / 413.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.3618, allocations: 115.8 kB / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004073/0.3622, allocations: 394.5 kB / 414.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002068/0.3624, allocations: 84.69 kB / 414.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000286/0.3627, allocations: 151.5 kB / 414.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.3629, allocations: 175.3 kB / 414.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.895e-05/0.363, allocations: 32 kB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.194e-05/0.3631, allocations: 36 kB / 414.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.327e-05/0.3632, allocations: 75.73 kB / 414.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.3634, allocations: 159.2 kB / 414.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004157/0.3638, allocations: 375.9 kB / 415.1 MB, free: 12.37 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3638, allocations: 0 / 415.1 MB, free: 12.37 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3638, allocations: 4 kB / 415.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.3638, allocations: 0 / 415.1 MB, free: 12.36 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.001581/0.3654, allocations: 0.6804 MB / 415.8 MB, free: 11.63 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3655, allocations: 8.031 kB / 415.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.3656, allocations: 44.48 kB / 415.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.3661, allocations: 278.7 kB / 416.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.3661, allocations: 16.81 kB / 416.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.122e-05/0.3662, allocations: 16.38 kB / 416.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000764/0.3669, allocations: 318 kB / 416.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3669, allocations: 3.938 kB / 416.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.367, allocations: 4 kB / 416.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.367, allocations: 8 kB / 416.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000908/0.3679, allocations: 301.5 kB / 416.8 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.3696, allocations: 0.9608 MB / 417.8 MB, free: 9.574 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003051/0.3727, allocations: 0.502 MB / 418.3 MB, free: 9.062 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006196/0.3733, allocations: 212.7 kB / 418.5 MB, free: 8.852 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.3733, allocations: 8 kB / 418.5 MB, free: 8.844 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006174/0.374, allocations: 238.8 kB / 418.7 MB, free: 8.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.984e-06/0.374, allocations: 0 / 418.7 MB, free: 8.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001529/0.3755, allocations: 475.8 kB / 419.2 MB, free: 8.121 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/0.3756, allocations: 106.8 kB / 419.3 MB, free: 7.992 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.3758, allocations: 237 kB / 419.5 MB, free: 7.754 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.3759, allocations: 29.7 kB / 419.5 MB, free: 7.719 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.376, allocations: 164.2 kB / 419.7 MB, free: 7.555 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.853e-05/0.3761, allocations: 75 kB / 419.8 MB, free: 7.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.3762, allocations: 41.94 kB / 419.8 MB, free: 7.434 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3764, allocations: 334.8 kB / 420.1 MB, free: 7.098 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004637/0.3768, allocations: 144.3 kB / 420.3 MB, free: 6.957 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004825/0.3773, allocations: 188.2 kB / 420.5 MB, free: 6.762 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009114/0.3782, allocations: 316.1 kB / 420.8 MB, free: 6.438 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3783, allocations: 0 / 420.8 MB, free: 6.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001085/0.3794, allocations: 410.8 kB / 421.2 MB, free: 6.023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.886e-05/0.3794, allocations: 40.3 kB / 421.2 MB, free: 5.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3794, allocations: 0 / 421.2 MB, free: 5.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3794, allocations: 4 kB / 421.2 MB, free: 5.977 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/0.3814, allocations: 275.6 kB / 421.5 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005058/0.3864, allocations: 3.443 MB / 424.9 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003904/0.3868, allocations: 59.81 kB / 425 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.3869, allocations: 8 kB / 425 MB, free: 1.922 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.0001764/0.3871, allocations: 149.2 kB / 425.1 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.847e-05/0.3871, allocations: 23.72 kB / 425.2 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.242e-05/0.3872, allocations: 30.17 kB / 425.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.3872, allocations: 7.938 kB / 425.2 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3872, allocations: 0 / 425.2 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.3873, allocations: 100.8 kB / 425.3 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/0.3874, allocations: 4 kB / 425.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003654/0.3878, allocations: 47.89 kB / 425.4 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.572e-05/0.3879, allocations: 27.91 kB / 425.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003105/0.391, allocations: 0.7806 MB / 426.2 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001571/0.3926, allocations: 0.7319 MB / 426.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004832/0.3931, allocations: 171.8 kB / 427.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001679/0.3933, allocations: 172.5 kB / 427.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of Backend: time 5.51e-07/0.3933, allocations: 0 / 427.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002701/0.396, allocations: 0.5287 MB / 427.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of SimCode: time 0.001304/0.3973, allocations: 1.018 MB / 428.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of Templates: time 0.008699/0.406, allocations: 4.429 MB / 433.2 MB, free: 9.621 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