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.001033/0.001033, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001064/0.001064, allocations: 168.5 kB / 25.33 MB, free: 9.102 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.9178/0.9178, allocations: 158.6 MB / 187.2 MB, free: 2.898 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 3.216e-06/3.216e-06, allocations: 4 kB / 251 MB, free: 7.504 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/2.12e-05, allocations: 2.312 kB / 251 MB, free: 7.5 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.002622/0.002643, allocations: 2.7 MB / 253.8 MB, free: 4.781 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009893/0.003632, allocations: 0.7253 MB / 254.5 MB, free: 4.047 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.00375, allocations: 4 kB / 254.5 MB, free: 4.043 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.003884, allocations: 35.58 kB / 254.5 MB, free: 4.008 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.00403, allocations: 99.12 kB / 254.6 MB, free: 3.91 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.004345, allocations: 107.7 kB / 254.7 MB, free: 3.805 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000333/0.004678, allocations: 390.3 kB / 255.1 MB, free: 3.422 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.004813, allocations: 60.75 kB / 255.2 MB, free: 3.359 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002517/0.005064, allocations: 223.5 kB / 255.4 MB, free: 3.141 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.005204, allocations: 123.7 kB / 255.5 MB, free: 3.02 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.202e-05/0.005246, allocations: 32 kB / 255.5 MB, free: 2.988 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.684e-05/0.005283, allocations: 32 kB / 255.6 MB, free: 2.957 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.86e-05/0.005332, allocations: 71.73 kB / 255.6 MB, free: 2.887 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.966e-05/0.005421, allocations: 103.8 kB / 255.7 MB, free: 2.785 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.005666, allocations: 259.1 kB / 256 MB, free: 2.531 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.005669, allocations: 3.984 kB / 256 MB, free: 2.527 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.00567, allocations: 0 / 256 MB, free: 2.527 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.005675, allocations: 0 / 256 MB, free: 2.527 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.0008847/0.006559, allocations: 0.6696 MB / 256.7 MB, free: 1.816 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.006599, allocations: 11.98 kB / 256.7 MB, free: 1.805 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.16e-05/0.006681, allocations: 44.75 kB / 256.7 MB, free: 1.762 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.006943, allocations: 213.2 kB / 256.9 MB, free: 1.52 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/0.006974, allocations: 16.88 kB / 256.9 MB, free: 1.5 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.007011, allocations: 16.38 kB / 257 MB, free: 1.484 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004199/0.007431, allocations: 279.3 kB / 257.2 MB, free: 1.188 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.007442, allocations: 4.172 kB / 257.2 MB, free: 1.184 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.007465, allocations: 4.375 kB / 257.2 MB, free: 1.18 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.007478, allocations: 11.94 kB / 257.2 MB, free: 1.168 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.007658, allocations: 94.88 kB / 257.3 MB, free: 1.078 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.008664, allocations: 0.8579 MB / 258.2 MB, free: 172 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007833/0.009447, allocations: 247 kB / 258.4 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.009652, allocations: 107.6 kB / 258.5 MB, free: 15.8 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.009675, allocations: 4 kB / 258.5 MB, free: 15.8 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.009882, allocations: 182.1 kB / 258.7 MB, free: 15.59 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.453e-06/0.009883, allocations: 0 / 258.7 MB, free: 15.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003668/0.01025, allocations: 217.5 kB / 258.9 MB, free: 15.37 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.01029, allocations: 110.8 kB / 259 MB, free: 15.24 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.01045, allocations: 272.3 kB / 259.3 MB, free: 14.95 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.01048, allocations: 37.69 kB / 259.3 MB, free: 14.91 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.19e-05/0.01056, allocations: 199.2 kB / 259.5 MB, free: 14.71 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.341e-05/0.0106, allocations: 71.38 kB / 259.6 MB, free: 14.64 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-05/0.01067, allocations: 59.52 kB / 259.7 MB, free: 14.57 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.01079, allocations: 0.5079 MB / 260.2 MB, free: 14.05 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.727e-05/0.01089, allocations: 66.14 kB / 260.2 MB, free: 13.98 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.011, allocations: 143.1 kB / 260.4 MB, free: 13.82 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.01118, allocations: 160.6 kB / 260.5 MB, free: 13.64 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.01118, allocations: 0 / 260.5 MB, free: 13.64 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002944/0.01148, allocations: 256.7 kB / 260.8 MB, free: 13.37 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.0115, allocations: 41.64 kB / 260.8 MB, free: 13.32 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01151, allocations: 0 / 260.8 MB, free: 13.32 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.01152, allocations: 4 kB / 260.8 MB, free: 13.32 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005465/0.01207, allocations: 143.9 kB / 261 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/0.01401, allocations: 3.942 MB / 264.9 MB, free: 9.008 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.01415, allocations: 31.88 kB / 264.9 MB, free: 8.977 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.01417, allocations: 15.98 kB / 265 MB, free: 8.961 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 9.867e-05/0.01426, allocations: 164.5 kB / 265.1 MB, free: 8.789 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.0143, allocations: 31.86 kB / 265.2 MB, free: 8.758 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.01434, allocations: 30.11 kB / 265.2 MB, free: 8.723 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.01434, allocations: 7.938 kB / 265.2 MB, free: 8.715 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.01434, allocations: 0 / 265.2 MB, free: 8.715 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01434, allocations: 4.031 kB / 265.2 MB, free: 8.711 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006357/0.01498, allocations: 0.6987 MB / 265.9 MB, free: 7.961 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01498, allocations: 0 / 265.9 MB, free: 7.961 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005163/0.0155, allocations: 139.8 kB / 266 MB, free: 7.824 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.0155, allocations: 4 kB / 266 MB, free: 7.82 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.01552, allocations: 3.984 kB / 266 MB, free: 7.816 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.01732, allocations: 3.945 MB / 270 MB, free: 3.637 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.01733, allocations: 3.938 kB / 270 MB, free: 3.633 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/0.01769, allocations: 404 kB / 270.4 MB, free: 3.211 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.01771, allocations: 23.8 kB / 270.4 MB, free: 3.188 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.01773, allocations: 4 kB / 270.4 MB, free: 3.184 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.01786, allocations: 27.97 kB / 270.4 MB, free: 3.156 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.981e-05/0.01793, allocations: 27.95 kB / 270.5 MB, free: 3.129 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.01795, allocations: 4 kB / 270.5 MB, free: 3.125 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.2e-05/0.01804, allocations: 193.1 kB / 270.7 MB, free: 2.934 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01804, allocations: 7.969 kB / 270.7 MB, free: 2.926 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002855/0.01832, allocations: 79.89 kB / 270.7 MB, free: 2.848 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 9.063e-05/0.01842, allocations: 103.2 kB / 270.8 MB, free: 2.738 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007143/0.01913, allocations: 316.5 kB / 271.2 MB, free: 2.406 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01913, allocations: 3.938 kB / 271.2 MB, free: 2.402 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005139/0.01964, allocations: 175.4 kB / 271.3 MB, free: 2.227 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.01989, allocations: 52.92 kB / 271.4 MB, free: 2.176 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.021, allocations: 0.5714 MB / 272 MB, free: 1.57 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.944e-05/0.02105, allocations: 80.59 kB / 272 MB, free: 1.473 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.276e-05/0.02112, allocations: 17.95 kB / 272 MB, free: 1.453 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.903e-05/0.02119, allocations: 28.48 kB / 272.1 MB, free: 1.426 MB / 250.7 MB Notification: Performance of SimCode: time 1.142e-06/0.02119, allocations: 8 kB / 272.1 MB, free: 1.418 MB / 250.7 MB Notification: Performance of Templates: time 0.005353/0.02655, allocations: 3.966 MB / 276 MB, free: 13.47 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.767895741853863]