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.0009368/0.0009368, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001498/0.001498, allocations: 164 kB / 25.75 MB, free: 8.945 MB / 18.57 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 0.9323/0.9323, allocations: 158.6 MB / 187.5 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 251.1 MB, free: 7.805 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.468e-05/1.575e-05, allocations: 2.312 kB / 251.1 MB, free: 7.801 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.002717/0.002733, allocations: 2.695 MB / 253.8 MB, free: 5.09 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.004095, allocations: 0.7331 MB / 254.5 MB, free: 4.344 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.004214, allocations: 4 kB / 254.5 MB, free: 4.34 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.004344, allocations: 39.58 kB / 254.6 MB, free: 4.301 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.00448, allocations: 87.2 kB / 254.7 MB, free: 4.215 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.004762, allocations: 107.7 kB / 254.8 MB, free: 4.109 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003661/0.005128, allocations: 398.3 kB / 255.2 MB, free: 3.719 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.0053, allocations: 56.77 kB / 255.2 MB, free: 3.66 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003057/0.005605, allocations: 219.5 kB / 255.4 MB, free: 3.445 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.00579, allocations: 131.6 kB / 255.6 MB, free: 3.316 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.469e-05/0.005845, allocations: 36 kB / 255.6 MB, free: 3.281 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.347e-05/0.005888, allocations: 32 kB / 255.6 MB, free: 3.25 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.589e-05/0.005964, allocations: 71.73 kB / 255.7 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.006091, allocations: 111.7 kB / 255.8 MB, free: 3.07 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.006372, allocations: 255 kB / 256 MB, free: 2.82 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.006377, allocations: 4 kB / 256.1 MB, free: 2.816 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.006378, allocations: 4 kB / 256.1 MB, free: 2.812 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.006384, allocations: 0 / 256.1 MB, free: 2.812 MB / 234.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.0009534/0.007337, allocations: 0.6658 MB / 256.7 MB, free: 2.105 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.007373, allocations: 15.98 kB / 256.7 MB, free: 2.09 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.287e-05/0.007456, allocations: 52.73 kB / 256.8 MB, free: 2.039 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.007694, allocations: 209.2 kB / 257 MB, free: 1.805 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.00772, allocations: 20.88 kB / 257 MB, free: 1.781 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.007755, allocations: 16.38 kB / 257 MB, free: 1.766 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/0.008158, allocations: 275.3 kB / 257.3 MB, free: 1.473 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.008167, allocations: 4.188 kB / 257.3 MB, free: 1.469 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.00819, allocations: 12.38 kB / 257.3 MB, free: 1.457 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.008199, allocations: 7.938 kB / 257.3 MB, free: 1.449 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.008397, allocations: 90.94 kB / 257.4 MB, free: 1.363 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.009499, allocations: 0.8657 MB / 258.3 MB, free: 456 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.01051, allocations: 306.8 kB / 258.6 MB, free: 136 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.01071, allocations: 99.62 kB / 258.7 MB, free: 32 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.01073, allocations: 4 kB / 258.7 MB, free: 28 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.01096, allocations: 186 kB / 258.9 MB, free: 15.81 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.443e-06/0.01096, allocations: 0 / 258.9 MB, free: 15.81 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004023/0.01137, allocations: 217.5 kB / 259.1 MB, free: 15.59 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.01142, allocations: 110.8 kB / 259.2 MB, free: 15.46 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.01159, allocations: 272.3 kB / 259.4 MB, free: 15.18 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.01162, allocations: 37.69 kB / 259.5 MB, free: 15.13 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.779e-05/0.0117, allocations: 199.2 kB / 259.7 MB, free: 14.93 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.01175, allocations: 75.38 kB / 259.8 MB, free: 14.86 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.965e-05/0.01182, allocations: 51.58 kB / 259.8 MB, free: 14.8 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.01194, allocations: 0.5079 MB / 260.3 MB, free: 14.28 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.01205, allocations: 62.16 kB / 260.4 MB, free: 14.21 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.01218, allocations: 151.1 kB / 260.5 MB, free: 14.04 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.01237, allocations: 160.5 kB / 260.7 MB, free: 13.86 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.01237, allocations: 0 / 260.7 MB, free: 13.86 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005618/0.01293, allocations: 256.8 kB / 260.9 MB, free: 13.59 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.01296, allocations: 33.7 kB / 261 MB, free: 13.55 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01296, allocations: 4 kB / 261 MB, free: 13.55 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.01298, allocations: 0 / 261 MB, free: 13.55 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006337/0.01361, allocations: 183.8 kB / 261.1 MB, free: 13.37 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/0.01577, allocations: 3.985 MB / 265.1 MB, free: 9.156 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.01592, allocations: 39.86 kB / 265.2 MB, free: 9.117 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.01593, allocations: 4 kB / 265.2 MB, free: 9.113 MB / 250.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.0001054/0.01604, allocations: 176.7 kB / 265.3 MB, free: 8.93 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.01608, allocations: 31.86 kB / 265.4 MB, free: 8.898 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.178e-05/0.01611, allocations: 26.11 kB / 265.4 MB, free: 8.867 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.01611, allocations: 7.938 kB / 265.4 MB, free: 8.859 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.01611, allocations: 0 / 265.4 MB, free: 8.859 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.01612, allocations: 0 / 265.4 MB, free: 8.859 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006657/0.01678, allocations: 0.7104 MB / 266.1 MB, free: 8.098 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.01678, allocations: 4.062 kB / 266.1 MB, free: 8.094 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006014/0.01739, allocations: 171.7 kB / 266.3 MB, free: 7.926 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.01739, allocations: 4 kB / 266.3 MB, free: 7.922 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.01741, allocations: 11.98 kB / 266.3 MB, free: 7.91 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002239/0.01964, allocations: 3.984 MB / 270.3 MB, free: 3.691 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.01965, allocations: 0 / 270.3 MB, free: 3.691 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/0.02004, allocations: 407.8 kB / 270.7 MB, free: 3.266 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.076e-05/0.02006, allocations: 23.8 kB / 270.7 MB, free: 3.242 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.02008, allocations: 8 kB / 270.7 MB, free: 3.234 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.02022, allocations: 23.97 kB / 270.7 MB, free: 3.211 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.655e-05/0.02029, allocations: 27.95 kB / 270.8 MB, free: 3.184 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.0203, allocations: 8 kB / 270.8 MB, free: 3.176 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.865e-05/0.0204, allocations: 197.1 kB / 271 MB, free: 2.98 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0204, allocations: 0 / 271 MB, free: 2.98 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002883/0.02069, allocations: 79.92 kB / 271 MB, free: 2.902 MB / 250.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 8.6e-05/0.02077, allocations: 111.2 kB / 271.2 MB, free: 2.785 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007959/0.02157, allocations: 344.4 kB / 271.5 MB, free: 2.426 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.02157, allocations: 4 kB / 271.5 MB, free: 2.422 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000608/0.02218, allocations: 207.7 kB / 271.7 MB, free: 2.215 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.02242, allocations: 44.77 kB / 271.7 MB, free: 2.172 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.02349, allocations: 0.5909 MB / 272.3 MB, free: 1.543 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.255e-05/0.02354, allocations: 84.56 kB / 272.4 MB, free: 1.441 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.532e-05/0.02361, allocations: 21.94 kB / 272.4 MB, free: 1.418 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.041e-05/0.02367, allocations: 20.5 kB / 272.5 MB, free: 1.398 MB / 250.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02367, allocations: 0 / 272.5 MB, free: 1.398 MB / 250.7 MB Notification: Performance of Templates: time 0.005692/0.02937, allocations: 3.921 MB / 276.4 MB, free: 13.51 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 2.965538020944223]