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.001566/0.001566, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001987/0.001987, allocations: 216.4 kB / 24.48 MB, free: 3.941 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.461/1.461, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.00246/0.00246, allocations: 51.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2543, allocations: 53.37 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003843/0.2581, allocations: 2.583 MB / 434.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.2593, allocations: 0.7206 MB / 435.7 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.2595, allocations: 4 kB / 435.7 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.2596, allocations: 35.58 kB / 435.7 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.2598, allocations: 95.19 kB / 435.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.2601, allocations: 115.8 kB / 435.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004084/0.2605, allocations: 386.5 kB / 436.3 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.2607, allocations: 60.56 kB / 436.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000274/0.261, allocations: 163.5 kB / 436.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.2612, allocations: 175.3 kB / 436.7 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.858e-05/0.2612, allocations: 36 kB / 436.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.441e-05/0.2613, allocations: 36 kB / 436.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.946e-05/0.2614, allocations: 67.75 kB / 436.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.2615, allocations: 139.4 kB / 436.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004341/0.262, allocations: 385.5 kB / 437.3 MB, free: 1.719 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.262, allocations: 0 / 437.3 MB, free: 1.719 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.262, allocations: 0 / 437.3 MB, free: 1.719 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.262, allocations: 0 / 437.3 MB, free: 1.719 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.00165/0.2636, allocations: 0.6087 MB / 437.9 MB, free: 1.074 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.2637, allocations: 12.03 kB / 437.9 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.2638, allocations: 40.73 kB / 438 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/0.2642, allocations: 225 kB / 438.2 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.2642, allocations: 16.81 kB / 438.2 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.531e-05/0.2643, allocations: 16.38 kB / 438.2 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008301/0.2651, allocations: 347.7 kB / 438.6 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.2651, allocations: 4 kB / 438.6 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/0.2652, allocations: 4 kB / 438.6 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.2652, allocations: 4 kB / 438.6 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009672/0.2661, allocations: 297.5 kB / 438.9 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.2679, allocations: 0.8241 MB / 439.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003329/0.2712, allocations: 494.2 kB / 440.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006458/0.2718, allocations: 204.7 kB / 440.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.2719, allocations: 4 kB / 440.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006539/0.2725, allocations: 263.5 kB / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.2725, allocations: 0 / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001577/0.2741, allocations: 473.5 kB / 441.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.557e-05/0.2742, allocations: 106.8 kB / 441.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.2744, allocations: 229 kB / 441.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/0.2745, allocations: 33.7 kB / 441.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.2746, allocations: 164.4 kB / 441.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.429e-05/0.2747, allocations: 75.33 kB / 441.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.2748, allocations: 53.92 kB / 441.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.2749, allocations: 342.7 kB / 442.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005049/0.2754, allocations: 170.1 kB / 442.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005354/0.276, allocations: 235.6 kB / 442.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009317/0.2769, allocations: 316.1 kB / 442.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2769, allocations: 0 / 442.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001159/0.2781, allocations: 448.6 kB / 443.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.04e-05/0.2781, allocations: 37.64 kB / 443.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.2781, allocations: 3.938 kB / 443.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.2781, allocations: 4 kB / 443.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002036/0.2802, allocations: 267.6 kB / 443.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005023/0.2852, allocations: 3.182 MB / 446.7 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/0.2856, allocations: 51.88 kB / 446.8 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.2856, allocations: 16.16 kB / 446.8 MB, free: 7.758 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.0001613/0.2858, allocations: 144.5 kB / 446.9 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-05/0.2858, allocations: 27.8 kB / 446.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.722e-05/0.2859, allocations: 26.12 kB / 447 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.2859, allocations: 7.984 kB / 447 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.2859, allocations: 0 / 447 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.2859, allocations: 0 / 447 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.2877, allocations: 0.8032 MB / 447.8 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2877, allocations: 0 / 447.8 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001988/0.2897, allocations: 263.7 kB / 448 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.2897, allocations: 4 kB / 448 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.2897, allocations: 3.984 kB / 448 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005072/0.2948, allocations: 3.179 MB / 451.2 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2948, allocations: 0 / 451.2 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.2964, allocations: 0.6102 MB / 451.8 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.2964, allocations: 23.89 kB / 451.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/0.2965, allocations: 4 kB / 451.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003826/0.2968, allocations: 51.94 kB / 451.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.93e-05/0.2969, allocations: 27.95 kB / 451.9 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.2969, allocations: 4 kB / 451.9 MB, free: 2.309 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001749/0.2971, allocations: 172.5 kB / 452.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2971, allocations: 0 / 452.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004929/0.2976, allocations: 83.83 kB / 452.2 MB, free: 2.055 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.0001366/0.2978, allocations: 103.2 kB / 452.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002876/0.3006, allocations: 0.5903 MB / 452.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3006, allocations: 0 / 452.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002315/0.3029, allocations: 383.7 kB / 453.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.3034, allocations: 44.34 kB / 453.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.3052, allocations: 0.7032 MB / 454 MB, free: 188 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.3054, allocations: 142.2 kB / 454.1 MB, free: 28 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001242/0.3055, allocations: 21.95 kB / 454.2 MB, free: 4 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.3056, allocations: 23.47 kB / 454.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3056, allocations: 0 / 454.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of Templates: time 0.008861/0.3145, allocations: 4.334 MB / 458.5 MB, free: 11.71 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/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.667896323007881]