Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001573/0.001573, allocations: 116.1 kB / 21.18 MB, free: 0.5898 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.001767/0.001767, allocations: 209.9 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.432/1.432, allocations: 230.5 MB / 258.1 MB, free: 8.148 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 75.81 kB / 378.8 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2841, allocations: 53.31 MB / 432.1 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004448/0.2885, allocations: 2.797 MB / 434.9 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.29, allocations: 0.7557 MB / 435.6 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.2902, allocations: 4 kB / 435.6 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.2903, allocations: 39.56 kB / 435.7 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.2905, allocations: 91.2 kB / 435.7 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003635/0.2909, allocations: 115.8 kB / 435.9 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004432/0.2913, allocations: 390.5 kB / 436.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.2915, allocations: 60.64 kB / 436.3 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002799/0.2918, allocations: 159.5 kB / 436.5 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.292, allocations: 167.3 kB / 436.6 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.568e-05/0.2921, allocations: 36 kB / 436.7 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.505e-05/0.2921, allocations: 43.98 kB / 436.7 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.202e-05/0.2922, allocations: 63.75 kB / 436.8 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.2924, allocations: 155.2 kB / 436.9 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004439/0.2928, allocations: 380.5 kB / 437.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2928, allocations: 0 / 437.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2928, allocations: 4 kB / 437.3 MB, free: 2.156 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.2928, allocations: 0 / 437.3 MB, free: 2.156 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.001638/0.2945, allocations: 0.6879 MB / 438 MB, free: 1.414 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.2945, allocations: 12.03 kB / 438 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.2947, allocations: 40.73 kB / 438 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004351/0.2951, allocations: 274.9 kB / 438.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.2952, allocations: 24.81 kB / 438.3 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.013e-05/0.2952, allocations: 20.33 kB / 438.3 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000787/0.296, allocations: 310 kB / 438.6 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.296, allocations: 11.98 kB / 438.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/0.296, allocations: 4 kB / 438.7 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.296, allocations: 4 kB / 438.7 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000969/0.297, allocations: 301.5 kB / 439 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001813/0.2988, allocations: 0.9648 MB / 439.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002965/0.3018, allocations: 494.2 kB / 440.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006724/0.3025, allocations: 200.7 kB / 440.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.3025, allocations: 7.984 kB / 440.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006891/0.3032, allocations: 245.7 kB / 440.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.673e-06/0.3032, allocations: 0 / 440.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001633/0.3048, allocations: 480.8 kB / 441.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.592e-05/0.3049, allocations: 102.8 kB / 441.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.3052, allocations: 237 kB / 441.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/0.3052, allocations: 29.7 kB / 441.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.3054, allocations: 168.3 kB / 441.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.938e-05/0.3054, allocations: 67.39 kB / 441.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.3055, allocations: 53.92 kB / 442 MB, free: 13.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.3057, allocations: 330.8 kB / 442.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005032/0.3062, allocations: 144.3 kB / 442.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005329/0.3068, allocations: 180.2 kB / 442.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009752/0.3077, allocations: 316.7 kB / 442.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3077, allocations: 0 / 442.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001155/0.3089, allocations: 418.8 kB / 443.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.019e-05/0.3089, allocations: 37.7 kB / 443.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3089, allocations: 3.938 kB / 443.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.309, allocations: 7.938 kB / 443.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/0.3108, allocations: 271.6 kB / 443.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005012/0.3158, allocations: 3.444 MB / 447.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004003/0.3162, allocations: 51.84 kB / 447.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.3162, allocations: 8 kB / 447.1 MB, free: 7.723 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.0001819/0.3164, allocations: 145.8 kB / 447.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.358e-05/0.3164, allocations: 27.84 kB / 447.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.563e-05/0.3165, allocations: 30.19 kB / 447.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3165, allocations: 3.938 kB / 447.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.3165, allocations: 0 / 447.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.3165, allocations: 7.984 kB / 447.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.3184, allocations: 0.9012 MB / 448.2 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3184, allocations: 0 / 448.2 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/0.3201, allocations: 263.7 kB / 448.5 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3201, allocations: 0 / 448.5 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.3202, allocations: 8 kB / 448.5 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004949/0.3251, allocations: 3.452 MB / 452 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3251, allocations: 4.062 kB / 452 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.3267, allocations: 0.6022 MB / 452.6 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.3268, allocations: 100.9 kB / 452.7 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.284e-05/0.3269, allocations: 15.92 kB / 452.7 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003601/0.3272, allocations: 40.02 kB / 452.7 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.475e-05/0.3273, allocations: 27.97 kB / 452.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.3273, allocations: 4 kB / 452.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001888/0.3275, allocations: 172.5 kB / 452.9 MB, free: 1.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3275, allocations: 0 / 452.9 MB, free: 1.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000495/0.328, allocations: 83.89 kB / 453 MB, free: 1.461 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.0001732/0.3282, allocations: 115.2 kB / 453.1 MB, free: 1.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002568/0.3308, allocations: 0.559 MB / 453.7 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3308, allocations: 0 / 453.7 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001988/0.3328, allocations: 379.7 kB / 454 MB, free: 408 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.3332, allocations: 52.28 kB / 454.1 MB, free: 356 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.3351, allocations: 0.7285 MB / 454.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.3355, allocations: 0.7519 MB / 455.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.591e-05/0.3355, allocations: 23.42 kB / 455.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3356, allocations: 0 / 455.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of Templates: time 0.008183/0.3437, allocations: 5.532 MB / 461.1 MB, free: 9.27 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.7955695991404355]