Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001103/0.001103, allocations: 83.69 kB / 21.18 MB, free: 3.395 MB / 18.57 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.001063/0.001063, allocations: 165 kB / 24.56 MB, free: 24 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.008/1.008, allocations: 177.1 MB / 205 MB, free: 5.238 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 273 MB, free: 1.371 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.795e-05/4.012e-05, allocations: 2.312 kB / 273 MB, free: 1.367 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003476/0.003517, allocations: 2.77 MB / 275.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.004893, allocations: 0.7361 MB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.005049, allocations: 7.938 kB / 276.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.005209, allocations: 39.64 kB / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001869/0.005396, allocations: 87.14 kB / 276.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005359/0.005932, allocations: 131.6 kB / 276.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000431/0.006363, allocations: 398.3 kB / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.006532, allocations: 48.91 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003975/0.006929, allocations: 235.5 kB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.00711, allocations: 127.7 kB / 277.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.911e-05/0.007159, allocations: 36 kB / 277.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.182e-05/0.007231, allocations: 35.98 kB / 277.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.007284, allocations: 75.67 kB / 277.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.897e-05/0.007383, allocations: 111.7 kB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.007701, allocations: 267.1 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.007705, allocations: 0 / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.007706, allocations: 0 / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.007712, allocations: 0 / 278.1 MB, free: 12.27 MB / 266.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.001068/0.00878, allocations: 0.6852 MB / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.008833, allocations: 8.031 kB / 278.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002075/0.009041, allocations: 52.73 kB / 278.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.009368, allocations: 219.6 kB / 279 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/0.0094, allocations: 12.88 kB / 279 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.923e-05/0.009449, allocations: 28.36 kB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004942/0.009943, allocations: 279.3 kB / 279.3 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.009955, allocations: 192 / 279.3 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.009981, allocations: 12.38 kB / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.009997, allocations: 7.938 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.01019, allocations: 90.94 kB / 279.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.01137, allocations: 0.8697 MB / 280.3 MB, free: 9.871 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.01241, allocations: 294.9 kB / 280.6 MB, free: 9.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.01264, allocations: 103.6 kB / 280.7 MB, free: 9.465 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.01268, allocations: 7.984 kB / 280.7 MB, free: 9.457 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002635/0.01294, allocations: 193.7 kB / 280.9 MB, free: 9.234 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.325e-06/0.01294, allocations: 0 / 280.9 MB, free: 9.234 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004435/0.01339, allocations: 217.7 kB / 281.1 MB, free: 9.016 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.01345, allocations: 110.8 kB / 281.2 MB, free: 8.883 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.01362, allocations: 272.3 kB / 281.5 MB, free: 8.598 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.01364, allocations: 29.7 kB / 281.5 MB, free: 8.562 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.01375, allocations: 219.1 kB / 281.7 MB, free: 8.344 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.01379, allocations: 71.33 kB / 281.8 MB, free: 8.273 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.053e-05/0.01387, allocations: 55.58 kB / 281.8 MB, free: 8.211 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.01401, allocations: 0.4963 MB / 282.3 MB, free: 7.703 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.01412, allocations: 78.14 kB / 282.4 MB, free: 7.621 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.01425, allocations: 143 kB / 282.6 MB, free: 7.453 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.01445, allocations: 151.3 kB / 282.7 MB, free: 7.289 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01446, allocations: 0 / 282.7 MB, free: 7.289 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00033/0.01479, allocations: 257.4 kB / 283 MB, free: 7.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.694e-05/0.01482, allocations: 29.8 kB / 283 MB, free: 6.984 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.01483, allocations: 8 kB / 283 MB, free: 6.977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.01485, allocations: 0 / 283 MB, free: 6.977 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006975/0.01555, allocations: 199.7 kB / 283.2 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002641/0.01819, allocations: 4.008 MB / 287.2 MB, free: 2.535 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.01835, allocations: 40.05 kB / 287.2 MB, free: 2.496 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.01837, allocations: 11.98 kB / 287.3 MB, free: 2.484 MB / 266.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.0001212/0.01849, allocations: 172.5 kB / 287.4 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.01853, allocations: 31.8 kB / 287.5 MB, free: 2.273 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.302e-05/0.01856, allocations: 30.11 kB / 287.5 MB, free: 2.242 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.01857, allocations: 11.92 kB / 287.5 MB, free: 2.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.01857, allocations: 4 kB / 287.5 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01858, allocations: 0 / 287.5 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007387/0.01932, allocations: 0.7169 MB / 288.2 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.01932, allocations: 0 / 288.2 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006151/0.01994, allocations: 191.7 kB / 288.4 MB, free: 1.273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.01994, allocations: 0 / 288.4 MB, free: 1.273 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.01996, allocations: 11.98 kB / 288.4 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.151/0.171, allocations: 3.983 MB / 292.4 MB, free: 22.03 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.171, allocations: 1.969 kB / 292.4 MB, free: 22.03 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006095/0.1716, allocations: 396.6 kB / 292.8 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.1716, allocations: 21.19 kB / 292.8 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.1717, allocations: 10.06 kB / 292.8 MB, free: 21.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.1718, allocations: 29.92 kB / 292.8 MB, free: 21.81 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.172, allocations: 27.05 kB / 292.9 MB, free: 21.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.172, allocations: 9.078 kB / 292.9 MB, free: 21.81 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001325/0.1721, allocations: 196.6 kB / 293.1 MB, free: 21.69 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1721, allocations: 0.8125 kB / 293.1 MB, free: 21.69 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004286/0.1725, allocations: 86.92 kB / 293.2 MB, free: 21.69 MB / 266.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.0001452/0.1727, allocations: 106.3 kB / 293.3 MB, free: 21.6 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.1737, allocations: 368.3 kB / 293.6 MB, free: 21.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1737, allocations: 1.094 kB / 293.6 MB, free: 21.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007508/0.1745, allocations: 222.2 kB / 293.8 MB, free: 21.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.1749, allocations: 46.06 kB / 293.9 MB, free: 21.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.1765, allocations: 0.5676 MB / 294.5 MB, free: 21.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.775e-05/0.1766, allocations: 90.89 kB / 294.5 MB, free: 21.13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000114/0.1767, allocations: 27.64 kB / 294.6 MB, free: 21.13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.152e-05/0.1768, allocations: 22.38 kB / 294.6 MB, free: 21.12 MB / 266.7 MB Notification: Performance of SimCode: time 8.41e-07/0.1768, allocations: 0 / 294.6 MB, free: 21.12 MB / 266.7 MB Notification: Performance of Templates: time 0.008869/0.1856, allocations: 4.006 MB / 298.6 MB, free: 20.75 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2728762668557465]