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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 104.5 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 192.2 kB / 22.76 MB, free: 5.723 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 225.6 MB / 251.4 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 51.91 kB / 369.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2623, allocations: 52.13 MB / 421.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.00412/0.2664, allocations: 2.762 MB / 424 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.2677, allocations: 0.7012 MB / 424.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.2679, allocations: 7.938 kB / 424.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.268, allocations: 35.64 kB / 424.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.2682, allocations: 95.2 kB / 424.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.2685, allocations: 103.8 kB / 425 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004422/0.269, allocations: 386.5 kB / 425.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.2691, allocations: 52.72 kB / 425.4 MB, free: 11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002468/0.2694, allocations: 151.5 kB / 425.6 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.2696, allocations: 167.3 kB / 425.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.827e-05/0.2697, allocations: 32 kB / 425.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.682e-05/0.2697, allocations: 39.94 kB / 425.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.034e-05/0.2698, allocations: 75.67 kB / 425.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.27, allocations: 151.3 kB / 426 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000414/0.2704, allocations: 367.8 kB / 426.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2704, allocations: 0 / 426.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2704, allocations: 0 / 426.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.2704, allocations: 0 / 426.4 MB, free: 10.04 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.001695/0.2721, allocations: 0.6801 MB / 427.1 MB, free: 9.301 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.2722, allocations: 15.89 kB / 427.1 MB, free: 9.285 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.69e-05/0.2722, allocations: 32.75 kB / 427.1 MB, free: 9.254 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.2726, allocations: 268.9 kB / 427.4 MB, free: 8.949 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.084e-05/0.2727, allocations: 16.81 kB / 427.4 MB, free: 8.934 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.283e-05/0.2727, allocations: 24.31 kB / 427.4 MB, free: 8.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007785/0.2735, allocations: 310 kB / 427.7 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.2735, allocations: 0 / 427.7 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.2735, allocations: 12 kB / 427.7 MB, free: 8.582 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.2736, allocations: 4 kB / 427.7 MB, free: 8.578 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009344/0.2745, allocations: 293.5 kB / 428 MB, free: 8.289 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001804/0.2763, allocations: 0.9649 MB / 429 MB, free: 7.258 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003049/0.2793, allocations: 482.2 kB / 429.4 MB, free: 6.777 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006544/0.28, allocations: 199.6 kB / 429.6 MB, free: 6.582 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.28, allocations: 4 kB / 429.6 MB, free: 6.578 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006419/0.2807, allocations: 237.7 kB / 429.9 MB, free: 6.324 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.723e-06/0.2807, allocations: 0 / 429.9 MB, free: 6.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001549/0.2822, allocations: 469.6 kB / 430.3 MB, free: 5.859 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.857e-05/0.2823, allocations: 102.8 kB / 430.4 MB, free: 5.734 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.2826, allocations: 233 kB / 430.7 MB, free: 5.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.2826, allocations: 33.7 kB / 430.7 MB, free: 5.461 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.2827, allocations: 164.3 kB / 430.9 MB, free: 5.297 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.318e-05/0.2828, allocations: 75.34 kB / 430.9 MB, free: 5.223 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.2829, allocations: 49.89 kB / 431 MB, free: 5.164 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.2831, allocations: 334.8 kB / 431.3 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004734/0.2835, allocations: 140.4 kB / 431.4 MB, free: 4.691 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005125/0.2841, allocations: 177.7 kB / 431.6 MB, free: 4.508 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009074/0.285, allocations: 316 kB / 431.9 MB, free: 4.184 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.285, allocations: 0 / 431.9 MB, free: 4.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001131/0.2861, allocations: 403 kB / 432.3 MB, free: 3.777 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.286e-05/0.2861, allocations: 33.64 kB / 432.4 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.2862, allocations: 7.984 kB / 432.4 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.2862, allocations: 0 / 432.4 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/0.288, allocations: 239.6 kB / 432.6 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005141/0.2932, allocations: 3.408 MB / 436 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004341/0.2936, allocations: 55.81 kB / 436.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.2936, allocations: 4 kB / 436.1 MB, free: 15.75 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.0001948/0.2938, allocations: 145.8 kB / 436.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.654e-05/0.2939, allocations: 23.86 kB / 436.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.791e-05/0.2939, allocations: 34.17 kB / 436.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2939, allocations: 0 / 436.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2939, allocations: 4 kB / 436.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.2939, allocations: 0 / 436.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.2958, allocations: 0.9 MB / 437.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2958, allocations: 0 / 437.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001732/0.2975, allocations: 227.8 kB / 437.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.2975, allocations: 4 kB / 437.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.2975, allocations: 7.984 kB / 437.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004982/0.3025, allocations: 3.416 MB / 440.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.3025, allocations: 3.984 kB / 440.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.3041, allocations: 0.5964 MB / 441.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.702e-05/0.3042, allocations: 97 kB / 441.5 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.514e-05/0.3042, allocations: 12 kB / 441.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.3046, allocations: 39.95 kB / 441.6 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.3047, allocations: 27.95 kB / 441.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.3047, allocations: 8 kB / 441.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001757/0.3049, allocations: 168.5 kB / 441.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3049, allocations: 4 kB / 441.8 MB, free: 9.672 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004947/0.3054, allocations: 83.89 kB / 441.8 MB, free: 9.59 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.000162/0.3056, allocations: 103.2 kB / 441.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002619/0.3082, allocations: 0.5262 MB / 442.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3082, allocations: 128 / 442.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002012/0.3102, allocations: 351.6 kB / 442.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004762/0.3107, allocations: 52.28 kB / 442.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.3125, allocations: 0.709 MB / 443.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.3129, allocations: 0.7519 MB / 444.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.609e-05/0.313, allocations: 23.44 kB / 444.4 MB, free: 6.992 MB / 350.1 MB Notification: Performance of SimCode: time 1.202e-06/0.313, allocations: 0 / 444.4 MB, free: 6.992 MB / 350.1 MB Notification: Performance of Templates: time 0.008309/0.3213, allocations: 5.458 MB / 449.8 MB, free: 1.543 MB / 350.1 MB [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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