Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001534/0.001533, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 105.4 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001001/0.001001, allocations: 39.94 kB / 350 MB, free: 76 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2885, allocations: 49.44 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003354/0.2919, allocations: 2.768 MB / 402.2 MB, free: 30.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.293, allocations: 0.7091 MB / 402.9 MB, free: 29.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.2932, allocations: 4 kB / 402.9 MB, free: 29.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.2933, allocations: 35.69 kB / 403 MB, free: 29.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.2935, allocations: 75.39 kB / 403.1 MB, free: 29.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.2938, allocations: 83.91 kB / 403.1 MB, free: 29.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002753/0.2941, allocations: 358.5 kB / 403.5 MB, free: 29.33 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.2942, allocations: 80.97 kB / 403.6 MB, free: 29.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.2944, allocations: 131.5 kB / 403.7 MB, free: 29.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.2946, allocations: 159.3 kB / 403.9 MB, free: 28.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.27e-05/0.2947, allocations: 20 kB / 403.9 MB, free: 28.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.508e-05/0.2947, allocations: 20 kB / 403.9 MB, free: 28.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.693e-05/0.2948, allocations: 59.75 kB / 404 MB, free: 28.87 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.2949, allocations: 143.2 kB / 404.1 MB, free: 28.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.2951, allocations: 344.4 kB / 404.4 MB, free: 28.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.2952, allocations: 3.938 kB / 404.4 MB, free: 28.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2952, allocations: 7.938 kB / 404.4 MB, free: 28.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.2952, allocations: 0 / 404.4 MB, free: 28.38 MB / 298.7 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.001408/0.2966, allocations: 0.6687 MB / 405.1 MB, free: 27.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.2966, allocations: 12.03 kB / 405.1 MB, free: 27.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.028e-05/0.2967, allocations: 32.56 kB / 405.2 MB, free: 27.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.297, allocations: 260.8 kB / 405.4 MB, free: 27.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.297, allocations: 16.81 kB / 405.4 MB, free: 27.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.614e-05/0.297, allocations: 20.38 kB / 405.4 MB, free: 27.28 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006312/0.2977, allocations: 318 kB / 405.8 MB, free: 26.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.2977, allocations: 0 / 405.8 MB, free: 26.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.2977, allocations: 8 kB / 405.8 MB, free: 26.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.2978, allocations: 8 kB / 405.8 MB, free: 26.94 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008151/0.2986, allocations: 289.5 kB / 406.1 MB, free: 26.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.3, allocations: 0.9647 MB / 407 MB, free: 25.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/0.3026, allocations: 0.4943 MB / 407.5 MB, free: 25.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005582/0.3032, allocations: 208.7 kB / 407.7 MB, free: 24.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.367e-05/0.3032, allocations: 7.938 kB / 407.7 MB, free: 24.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006111/0.3038, allocations: 241.7 kB / 408 MB, free: 24.65 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.255e-06/0.3038, allocations: 0 / 408 MB, free: 24.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.001396/0.3052, allocations: 460.2 kB / 408.4 MB, free: 24.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.3053, allocations: 110.8 kB / 408.5 MB, free: 24.06 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.3055, allocations: 237 kB / 408.7 MB, free: 23.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.3055, allocations: 29.7 kB / 408.8 MB, free: 23.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.733e-05/0.3056, allocations: 160.2 kB / 408.9 MB, free: 23.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.776e-05/0.3057, allocations: 71 kB / 409 MB, free: 23.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.604e-05/0.3058, allocations: 49.92 kB / 409 MB, free: 23.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.014e-05/0.3058, allocations: 330.8 kB / 409.4 MB, free: 23.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/0.3063, allocations: 140.4 kB / 409.5 MB, free: 23.03 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004236/0.3067, allocations: 173.9 kB / 409.7 MB, free: 22.85 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008098/0.3075, allocations: 312.7 kB / 410 MB, free: 22.53 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3075, allocations: 4 kB / 410 MB, free: 22.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009793/0.3085, allocations: 399.7 kB / 410.4 MB, free: 22.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.3086, allocations: 41.62 kB / 410.4 MB, free: 22.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.3086, allocations: 0 / 410.4 MB, free: 22.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3086, allocations: 0 / 410.4 MB, free: 22.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/0.3101, allocations: 247.6 kB / 410.7 MB, free: 21.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003495/0.3136, allocations: 3.096 MB / 413.8 MB, free: 18.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/0.314, allocations: 55.98 kB / 413.8 MB, free: 18.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.314, allocations: 8 kB / 413.8 MB, free: 18.41 MB / 298.7 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.000138/0.3142, allocations: 145.9 kB / 414 MB, free: 18.26 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.3142, allocations: 23.72 kB / 414 MB, free: 18.24 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.371e-05/0.3143, allocations: 34.11 kB / 414 MB, free: 18.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3143, allocations: 7.938 kB / 414 MB, free: 18.19 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3143, allocations: 4 kB / 414 MB, free: 18.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3143, allocations: 0 / 414 MB, free: 18.19 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.3158, allocations: 0.9049 MB / 414.9 MB, free: 17.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3158, allocations: 0 / 414.9 MB, free: 17.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001538/0.3174, allocations: 227.8 kB / 415.2 MB, free: 17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3174, allocations: 3.938 kB / 415.2 MB, free: 16.99 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.3174, allocations: 8 kB / 415.2 MB, free: 16.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003378/0.3208, allocations: 3.114 MB / 418.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3208, allocations: 0 / 418.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01117/0.332, allocations: 3.089 MB / 421.4 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.3321, allocations: 104.8 kB / 421.5 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.3321, allocations: 8 kB / 421.5 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/0.3325, allocations: 44.02 kB / 421.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.3326, allocations: 23.91 kB / 421.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.3326, allocations: 11.98 kB / 421.6 MB, free: 10.17 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00012/0.3327, allocations: 168.5 kB / 421.7 MB, free: 10.01 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3327, allocations: 0 / 421.7 MB, free: 10.01 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005609/0.3333, allocations: 107.9 kB / 421.8 MB, free: 9.906 MB / 298.7 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.0001262/0.3334, allocations: 111.1 kB / 421.9 MB, free: 9.789 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002247/0.3357, allocations: 0.5378 MB / 422.5 MB, free: 9.238 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3357, allocations: 0 / 422.5 MB, free: 9.238 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001786/0.3375, allocations: 362.2 kB / 422.8 MB, free: 8.887 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.3379, allocations: 43.48 kB / 422.9 MB, free: 8.848 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.3395, allocations: 0.9477 MB / 423.8 MB, free: 7.848 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.3397, allocations: 0.7482 MB / 424.6 MB, free: 7.074 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001872/0.3399, allocations: 29.94 kB / 424.6 MB, free: 7.043 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.34, allocations: 27.52 kB / 424.6 MB, free: 7.016 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.34, allocations: 3.938 kB / 424.6 MB, free: 7.012 MB / 298.7 MB Notification: Performance of Templates: time 0.007406/0.3474, allocations: 5.021 MB / 429.7 MB, free: 2.008 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches