Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001391/0.001391, allocations: 99.25 kB / 21.93 MB, free: 5.203 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.001547/0.001547, allocations: 203.2 kB / 25.22 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 207.7 MB / 236.1 MB, free: 9.777 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 62.59 kB / 348.5 MB, free: 9.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2956, allocations: 49.14 MB / 397.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004905/0.3005, allocations: 2.534 MB / 400.1 MB, free: 7.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.3023, allocations: 0.7102 MB / 400.8 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001979/0.3025, allocations: 2.406 kB / 400.8 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.3026, allocations: 40.12 kB / 400.9 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002471/0.3029, allocations: 86.08 kB / 401 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000427/0.3033, allocations: 114.1 kB / 401.1 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000524/0.3038, allocations: 380.2 kB / 401.4 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002052/0.3041, allocations: 63.95 kB / 401.5 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003078/0.3044, allocations: 147 kB / 401.6 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003083/0.3047, allocations: 158.9 kB / 401.8 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.331e-05/0.3048, allocations: 32.31 kB / 401.8 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.982e-05/0.3048, allocations: 33.31 kB / 401.9 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.719e-05/0.3049, allocations: 69.27 kB / 401.9 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.3051, allocations: 130.9 kB / 402.1 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000522/0.3056, allocations: 369.8 kB / 402.4 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.3056, allocations: 0 / 402.4 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3056, allocations: 0 / 402.4 MB, free: 6.414 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.3056, allocations: 0 / 402.4 MB, free: 6.414 MB / 318.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.001901/0.3075, allocations: 0.6017 MB / 403 MB, free: 5.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3076, allocations: 13.73 kB / 403 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.3077, allocations: 32.91 kB / 403.1 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004732/0.3082, allocations: 208.5 kB / 403.3 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.025e-05/0.3082, allocations: 20.97 kB / 403.3 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.918e-05/0.3083, allocations: 22.19 kB / 403.3 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009925/0.3093, allocations: 332.9 kB / 403.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.3093, allocations: 0 / 403.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.381e-05/0.3093, allocations: 14.92 kB / 403.7 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.3094, allocations: 20.52 kB / 403.7 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.3107, allocations: 289 kB / 404 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.3127, allocations: 0.8226 MB / 404.8 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003757/0.3165, allocations: 484.2 kB / 405.3 MB, free: 4.812 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008643/0.3174, allocations: 200.8 kB / 405.5 MB, free: 4.754 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.494e-05/0.3174, allocations: 3.703 kB / 405.5 MB, free: 4.754 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008276/0.3182, allocations: 265.2 kB / 405.7 MB, free: 4.605 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.304e-06/0.3182, allocations: 0 / 405.7 MB, free: 4.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.002162/0.3204, allocations: 460.1 kB / 406.2 MB, free: 4.465 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.3204, allocations: 115.2 kB / 406.3 MB, free: 4.332 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/0.3207, allocations: 232.1 kB / 406.5 MB, free: 4.184 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.3208, allocations: 30.92 kB / 406.5 MB, free: 4.148 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.3209, allocations: 159.4 kB / 406.7 MB, free: 4.012 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.335e-05/0.321, allocations: 69.77 kB / 406.8 MB, free: 3.957 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.3211, allocations: 46 kB / 406.8 MB, free: 3.93 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.329e-05/0.3212, allocations: 335 kB / 407.1 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006969/0.3219, allocations: 165.2 kB / 407.3 MB, free: 3.539 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007196/0.3226, allocations: 237.8 kB / 407.5 MB, free: 3.398 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.3239, allocations: 312.8 kB / 407.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.3239, allocations: 1.375 kB / 407.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001618/0.3255, allocations: 436.8 kB / 408.3 MB, free: 3.066 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/0.3255, allocations: 32.7 kB / 408.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.3256, allocations: 5.312 kB / 408.3 MB, free: 3.031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/0.3256, allocations: 1.375 kB / 408.3 MB, free: 3.031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002498/0.3281, allocations: 240.6 kB / 408.5 MB, free: 3.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005565/0.3336, allocations: 3.145 MB / 411.7 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006316/0.3343, allocations: 53.03 kB / 411.7 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/0.3343, allocations: 7.25 kB / 411.7 MB, free: 136 kB / 318.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.0002523/0.3346, allocations: 142.7 kB / 411.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.95e-05/0.3346, allocations: 26.7 kB / 411.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.957e-05/0.3347, allocations: 31.17 kB / 411.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3347, allocations: 2.781 kB / 411.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.3347, allocations: 1.125 kB / 411.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.3348, allocations: 0 / 411.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002729/0.3375, allocations: 0.7937 MB / 412.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3375, allocations: 0 / 412.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002483/0.34, allocations: 231 kB / 413 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/0.34, allocations: 5.172 kB / 413 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-05/0.34, allocations: 6.156 kB / 413 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006302/0.3463, allocations: 3.143 MB / 416.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3463, allocations: 1.062 kB / 416.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/0.3482, allocations: 0.603 MB / 416.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.405e-05/0.3483, allocations: 35.08 kB / 416.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.204e-05/0.3484, allocations: 7.531 kB / 416.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003593/0.3487, allocations: 38.8 kB / 416.8 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.985e-05/0.3488, allocations: 38.05 kB / 416.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.3488, allocations: 8.953 kB / 416.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001804/0.349, allocations: 165 kB / 417 MB, free: 11.72 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.349, allocations: 0 / 417 MB, free: 11.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005101/0.3495, allocations: 79.02 kB / 417.1 MB, free: 11.71 MB / 334.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.0001412/0.3497, allocations: 108.9 kB / 417.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002552/0.3522, allocations: 0.5547 MB / 417.7 MB, free: 11.31 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3522, allocations: 0 / 417.7 MB, free: 11.31 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00192/0.3541, allocations: 341.6 kB / 418.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.3546, allocations: 30.81 kB / 418.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.3565, allocations: 0.715 MB / 418.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.3566, allocations: 141.6 kB / 419 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.3567, allocations: 28.23 kB / 419 MB, free: 10.53 MB / 334.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3567, allocations: 3.938 kB / 419 MB, free: 10.52 MB / 334.1 MB Notification: Performance of Templates: time 0.009506/0.3662, allocations: 5.505 MB / 424.5 MB, free: 7.438 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.834087073802948]