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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001954/0.001954, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001491/0.001491, allocations: 216 kB / 23.73 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 230.5 MB / 257.4 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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=5032,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=5032,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 63.91 kB / 378.2 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2595, allocations: 53.4 MB / 431.6 MB, free: 6.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004535/0.264, allocations: 2.602 MB / 434.2 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.2655, allocations: 0.7129 MB / 434.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.2656, allocations: 4 kB / 435 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.2658, allocations: 39.58 kB / 435 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002862/0.2661, allocations: 91.2 kB / 435.1 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003638/0.2664, allocations: 115.8 kB / 435.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004555/0.2669, allocations: 390.5 kB / 435.6 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.2671, allocations: 55.42 kB / 435.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003072/0.2674, allocations: 163.5 kB / 435.8 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/0.2676, allocations: 159.3 kB / 435.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.875e-05/0.2677, allocations: 32 kB / 436 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.144e-05/0.2678, allocations: 36 kB / 436 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.647e-05/0.2678, allocations: 75.8 kB / 436.1 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.268, allocations: 131.4 kB / 436.2 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004591/0.2685, allocations: 378.2 kB / 436.6 MB, free: 1.578 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2685, allocations: 3.938 kB / 436.6 MB, free: 1.574 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2685, allocations: 0 / 436.6 MB, free: 1.574 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.2685, allocations: 0 / 436.6 MB, free: 1.574 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.001615/0.2701, allocations: 0.6165 MB / 437.2 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.2701, allocations: 11.98 kB / 437.2 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001878/0.2703, allocations: 40.73 kB / 437.3 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.2707, allocations: 221 kB / 437.5 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.2708, allocations: 16.75 kB / 437.5 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.376e-05/0.2708, allocations: 24.36 kB / 437.5 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008169/0.2716, allocations: 339.8 kB / 437.8 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.2716, allocations: 3.938 kB / 437.8 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.2717, allocations: 8 kB / 437.9 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.2717, allocations: 4 kB / 437.9 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.2727, allocations: 297.6 kB / 438.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001764/0.2745, allocations: 0.8202 MB / 439 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002994/0.2775, allocations: 498.1 kB / 439.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006651/0.2781, allocations: 196.7 kB / 439.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.49e-05/0.2782, allocations: 4 kB / 439.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006865/0.2788, allocations: 270.9 kB / 439.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.663e-06/0.2788, allocations: 0 / 439.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001715/0.2806, allocations: 480.2 kB / 440.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.573e-05/0.2807, allocations: 110.8 kB / 440.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.2809, allocations: 225 kB / 440.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/0.281, allocations: 33.73 kB / 440.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.2811, allocations: 172.4 kB / 440.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.2812, allocations: 79.31 kB / 441 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.2813, allocations: 45.94 kB / 441 MB, free: 12.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002282/0.2816, allocations: 330.8 kB / 441.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005716/0.2821, allocations: 178 kB / 441.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005594/0.2827, allocations: 235.6 kB / 441.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009646/0.2837, allocations: 320.7 kB / 442.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2837, allocations: 0 / 442.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001192/0.2849, allocations: 440.6 kB / 442.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.807e-05/0.2849, allocations: 29.7 kB / 442.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.2849, allocations: 4 kB / 442.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.2849, allocations: 11.94 kB / 442.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001763/0.2867, allocations: 267.7 kB / 442.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005007/0.2917, allocations: 3.178 MB / 446 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/0.2921, allocations: 52.06 kB / 446 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.2921, allocations: 11.98 kB / 446.1 MB, free: 7.617 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.0002016/0.2923, allocations: 137.8 kB / 446.2 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.016e-05/0.2924, allocations: 27.8 kB / 446.2 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.079e-05/0.2924, allocations: 30.11 kB / 446.2 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2924, allocations: 4 kB / 446.2 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.2924, allocations: 4 kB / 446.3 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.2924, allocations: 4 kB / 446.3 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.2943, allocations: 0.8058 MB / 447.1 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2943, allocations: 0 / 447.1 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/0.296, allocations: 263.7 kB / 447.3 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.296, allocations: 3.938 kB / 447.3 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/0.296, allocations: 11.98 kB / 447.3 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00514/0.3012, allocations: 3.175 MB / 450.5 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.419e-05/0.3012, allocations: 4.25 kB / 450.5 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.3029, allocations: 0.6091 MB / 451.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.428e-05/0.303, allocations: 27.91 kB / 451.2 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.474e-05/0.303, allocations: 8 kB / 451.2 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003516/0.3034, allocations: 35.95 kB / 451.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.3035, allocations: 35.89 kB / 451.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.3035, allocations: 4 kB / 451.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001752/0.3037, allocations: 168.5 kB / 451.4 MB, free: 1.996 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3037, allocations: 0 / 451.4 MB, free: 1.996 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004978/0.3042, allocations: 91.83 kB / 451.5 MB, free: 1.906 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.0001478/0.3043, allocations: 107.2 kB / 451.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002627/0.3069, allocations: 0.5826 MB / 452.2 MB, free: 1.188 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3069, allocations: 4.062 kB / 452.2 MB, free: 1.184 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002006/0.3089, allocations: 375.7 kB / 452.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.3094, allocations: 36.36 kB / 452.6 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.3111, allocations: 0.7008 MB / 453.3 MB, free: 52 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001626/0.3113, allocations: 150.1 kB / 453.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001368/0.3114, allocations: 29.92 kB / 453.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.374e-05/0.3115, allocations: 19.44 kB / 453.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3115, allocations: 0 / 453.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of Templates: time 0.009075/0.3206, allocations: 4.282 MB / 457.8 MB, free: 11.61 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.878506176173687]