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.001787/0.001787, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.002376/0.002376, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.432/1.432, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.001558/0.001558, allocations: 51.86 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2517, allocations: 53.37 MB / 432.3 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004067/0.2557, allocations: 2.589 MB / 434.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.2572, allocations: 0.7128 MB / 435.6 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.2573, allocations: 4 kB / 435.6 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.2575, allocations: 43.58 kB / 435.7 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.2577, allocations: 91.2 kB / 435.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.258, allocations: 123.7 kB / 435.9 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004348/0.2584, allocations: 382.6 kB / 436.3 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.2586, allocations: 63.84 kB / 436.3 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003015/0.2589, allocations: 163.4 kB / 436.5 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.2592, allocations: 171.3 kB / 436.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.844e-05/0.2592, allocations: 40 kB / 436.7 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.981e-05/0.2593, allocations: 39.94 kB / 436.7 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.232e-05/0.2594, allocations: 71.75 kB / 436.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.2596, allocations: 131.4 kB / 436.9 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004771/0.26, allocations: 382.2 kB / 437.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.26, allocations: 0 / 437.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.26, allocations: 0 / 437.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.26, allocations: 0 / 437.3 MB, free: 1.691 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.001663/0.2617, allocations: 0.6087 MB / 437.9 MB, free: 1.047 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2617, allocations: 12.03 kB / 437.9 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001951/0.2619, allocations: 44.73 kB / 438 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004459/0.2624, allocations: 217 kB / 438.2 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.2624, allocations: 12.81 kB / 438.2 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.828e-05/0.2625, allocations: 28.36 kB / 438.2 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008446/0.2633, allocations: 339.7 kB / 438.6 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.2633, allocations: 4 kB / 438.6 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/0.2634, allocations: 8 kB / 438.6 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.2634, allocations: 4 kB / 438.6 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009364/0.2643, allocations: 297.5 kB / 438.9 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.2661, allocations: 0.8203 MB / 439.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003244/0.2693, allocations: 0.4903 MB / 440.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006525/0.27, allocations: 200.7 kB / 440.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.27, allocations: 0 / 440.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006659/0.2707, allocations: 269.5 kB / 440.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.413e-06/0.2707, allocations: 0 / 440.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001594/0.2723, allocations: 477.5 kB / 441.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.438e-05/0.2723, allocations: 106.8 kB / 441.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.2726, allocations: 229 kB / 441.4 MB, free: 13.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.398e-05/0.2727, allocations: 37.64 kB / 441.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.2728, allocations: 164.4 kB / 441.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.99e-05/0.2729, allocations: 79.34 kB / 441.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.273, allocations: 45.94 kB / 441.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.2731, allocations: 338.8 kB / 442.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004992/0.2736, allocations: 162.1 kB / 442.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005392/0.2742, allocations: 243.6 kB / 442.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009301/0.2751, allocations: 320.1 kB / 442.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2751, allocations: 0 / 442.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001169/0.2763, allocations: 440.6 kB / 443.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.682e-05/0.2764, allocations: 33.7 kB / 443.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.2764, allocations: 3.938 kB / 443.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.2764, allocations: 0 / 443.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001974/0.2784, allocations: 271.7 kB / 443.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005273/0.2836, allocations: 3.186 MB / 446.7 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004486/0.2841, allocations: 60.03 kB / 446.8 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.2841, allocations: 7.984 kB / 446.8 MB, free: 7.734 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.0002125/0.2843, allocations: 144.5 kB / 446.9 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/0.2844, allocations: 31.78 kB / 446.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.014e-05/0.2844, allocations: 30.11 kB / 447 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.2845, allocations: 7.938 kB / 447 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.2845, allocations: 0 / 447 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2845, allocations: 0 / 447 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.2863, allocations: 0.7954 MB / 447.8 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.2863, allocations: 7.938 kB / 447.8 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001983/0.2883, allocations: 255.7 kB / 448 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.2883, allocations: 0 / 448 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/0.2883, allocations: 11.98 kB / 448 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005256/0.2936, allocations: 3.182 MB / 451.2 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2936, allocations: 0 / 451.2 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.2952, allocations: 0.6172 MB / 451.8 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.135e-05/0.2953, allocations: 23.88 kB / 451.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5e-05/0.2953, allocations: 8 kB / 451.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.2957, allocations: 44.02 kB / 451.9 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.2958, allocations: 23.95 kB / 451.9 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.2959, allocations: 8 kB / 452 MB, free: 2.277 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002173/0.2961, allocations: 168.5 kB / 452.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2961, allocations: 0 / 452.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000546/0.2966, allocations: 87.83 kB / 452.2 MB, free: 2.023 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.0001653/0.2968, allocations: 115.2 kB / 452.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002817/0.2996, allocations: 0.5786 MB / 452.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.2996, allocations: 4 kB / 452.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002191/0.3018, allocations: 367.8 kB / 453.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.3022, allocations: 32.42 kB / 453.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.3041, allocations: 0.7449 MB / 454 MB, free: 132 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001579/0.3042, allocations: 142.2 kB / 454.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.3043, allocations: 19.44 kB / 454.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3043, allocations: 0 / 454.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of Templates: time 0.008575/0.3129, allocations: 5.587 MB / 459.8 MB, free: 10.38 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/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: 7.666147570009343]