Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002353/0.002353, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002598/0.002598, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.52/1.52, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5032,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5032,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 51.92 kB / 373.5 MB, free: 9.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.112, allocations: 53.31 MB / 426.8 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004453/0.1164, allocations: 2.787 MB / 429.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.118, allocations: 0.7595 MB / 430.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.1182, allocations: 4 kB / 430.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.1183, allocations: 35.58 kB / 430.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.1186, allocations: 91.2 kB / 430.5 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.119, allocations: 119.8 kB / 430.6 MB, free: 448 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000559/0.1195, allocations: 378.5 kB / 431 MB, free: 68 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2481/0.3676, allocations: 61.52 kB / 431 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006077/0.3682, allocations: 161 kB / 431.2 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.3685, allocations: 170.3 kB / 431.4 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.472e-05/0.3685, allocations: 33.72 kB / 431.4 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.3686, allocations: 36.5 kB / 431.4 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.891e-05/0.3687, allocations: 79.12 kB / 431.5 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.3689, allocations: 151.5 kB / 431.6 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004632/0.3693, allocations: 372.8 kB / 432 MB, free: 8.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3693, allocations: 1.906 kB / 432 MB, free: 8.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3693, allocations: 0 / 432 MB, free: 8.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.3693, allocations: 0 / 432 MB, free: 8.105 MB / 350.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.001596/0.3709, allocations: 0.6959 MB / 432.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.371, allocations: 9.656 kB / 432.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.3712, allocations: 46.5 kB / 432.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.3715, allocations: 270.7 kB / 433 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.3715, allocations: 21.56 kB / 433.1 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.016e-05/0.3716, allocations: 25.02 kB / 433.1 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007804/0.3724, allocations: 309.9 kB / 433.4 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3724, allocations: 5.594 kB / 433.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.3724, allocations: 7.453 kB / 433.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.3724, allocations: 8.344 kB / 433.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009822/0.3734, allocations: 299.1 kB / 433.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.3751, allocations: 0.9576 MB / 434.6 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003156/0.3782, allocations: 498.9 kB / 435.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007145/0.3789, allocations: 202.4 kB / 435.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.379, allocations: 6.797 kB / 435.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006853/0.3797, allocations: 237.1 kB / 435.6 MB, free: 6.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.954e-06/0.3797, allocations: 3.938 kB / 435.6 MB, free: 6.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001757/0.3814, allocations: 477.5 kB / 436 MB, free: 6.676 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.3815, allocations: 108.4 kB / 436.1 MB, free: 6.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.3817, allocations: 236.6 kB / 436.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.3817, allocations: 31.17 kB / 436.4 MB, free: 6.418 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.18e-05/0.3818, allocations: 165.3 kB / 436.6 MB, free: 6.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.809e-05/0.3819, allocations: 80.72 kB / 436.6 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.382, allocations: 47.45 kB / 436.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.864e-05/0.3821, allocations: 334.9 kB / 437 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005418/0.3826, allocations: 140.3 kB / 437.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005779/0.3832, allocations: 176.2 kB / 437.3 MB, free: 5.895 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.3843, allocations: 320.2 kB / 437.6 MB, free: 5.832 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.3843, allocations: 1.25 kB / 437.6 MB, free: 5.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001309/0.3856, allocations: 414.1 kB / 438 MB, free: 5.742 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.595e-05/0.3857, allocations: 37.44 kB / 438.1 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.3857, allocations: 0 / 438.1 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.3857, allocations: 3.266 kB / 438.1 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001924/0.3876, allocations: 270.1 kB / 438.4 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00468/0.3923, allocations: 3.433 MB / 441.8 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005419/0.3928, allocations: 51.47 kB / 441.8 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.3929, allocations: 16.81 kB / 441.9 MB, free: 2.668 MB / 350.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.0001767/0.3931, allocations: 145.8 kB / 442 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.467e-05/0.3931, allocations: 23.92 kB / 442 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.919e-05/0.3932, allocations: 34.8 kB / 442.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.3932, allocations: 2.922 kB / 442.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3932, allocations: 3.219 kB / 442.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.3932, allocations: 4.594 kB / 442.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.3952, allocations: 0.9044 MB / 443 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.3952, allocations: 1.812 kB / 443 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001858/0.397, allocations: 260.3 kB / 443.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.397, allocations: 2.969 kB / 443.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.3971, allocations: 7.469 kB / 443.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004866/0.4019, allocations: 3.451 MB / 446.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.4019, allocations: 4.781 kB / 446.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.4039, allocations: 0.5997 MB / 447.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.4041, allocations: 102.6 kB / 447.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.786e-05/0.4042, allocations: 10.53 kB / 447.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004063/0.4046, allocations: 46.27 kB / 447.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.4047, allocations: 26.97 kB / 447.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.4047, allocations: 7.797 kB / 447.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000245/0.405, allocations: 172.1 kB / 447.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.405, allocations: 0 / 447.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006004/0.4056, allocations: 84.08 kB / 447.7 MB, free: 14.26 MB / 366.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.0002012/0.4058, allocations: 109.3 kB / 447.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002936/0.4087, allocations: 0.5639 MB / 448.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4087, allocations: 0 / 448.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002119/0.4108, allocations: 384.1 kB / 448.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.4113, allocations: 43.72 kB / 448.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.4135, allocations: 0.6917 MB / 449.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.414, allocations: 0.7521 MB / 450.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001382/0.4141, allocations: 23.7 kB / 450.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.823e-05/0.4142, allocations: 21.3 kB / 450.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4142, allocations: 0 / 450.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of Templates: time 0.009461/0.4237, allocations: 3.893 MB / 454.2 MB, free: 12.2 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.979760009795427]