Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007098/0.0007098, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009986/0.001708, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0006807/0.0006807, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008768/0.001557, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.002/1.002, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09196/1.094, allocations: 53.86 MB / 243.9 MB, free: 14.88 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.885e-05/2.047e-05, allocations: 5.828 kB / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003483/0.003503, allocations: 2.804 MB / 248 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.004725, allocations: 0.7552 MB / 248.8 MB, free: 9.992 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.004859, allocations: 4 kB / 248.8 MB, free: 9.988 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.004965, allocations: 43.58 kB / 248.8 MB, free: 9.945 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.00513, allocations: 95.12 kB / 248.9 MB, free: 9.852 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.005418, allocations: 119.7 kB / 249 MB, free: 9.734 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003709/0.005789, allocations: 394.3 kB / 249.4 MB, free: 9.348 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.005929, allocations: 66.7 kB / 249.5 MB, free: 9.285 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003895/0.006319, allocations: 263.9 kB / 249.7 MB, free: 9.027 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.006501, allocations: 131.6 kB / 249.9 MB, free: 8.898 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.821e-05/0.006549, allocations: 32 kB / 249.9 MB, free: 8.867 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.905e-05/0.006638, allocations: 36 kB / 249.9 MB, free: 8.832 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.112e-05/0.006689, allocations: 47.81 kB / 250 MB, free: 8.785 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.389e-05/0.006783, allocations: 95.81 kB / 250.1 MB, free: 8.691 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.007073, allocations: 219.2 kB / 250.3 MB, free: 8.477 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/0.007084, allocations: 0 / 250.3 MB, free: 8.477 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.007085, allocations: 7.938 kB / 250.3 MB, free: 8.469 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.007095, allocations: 0 / 250.3 MB, free: 8.469 MB / 250.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.0009756/0.008071, allocations: 0.6109 MB / 250.9 MB, free: 7.828 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.008103, allocations: 8.031 kB / 250.9 MB, free: 7.82 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/0.008282, allocations: 122 kB / 251 MB, free: 7.684 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.008552, allocations: 184.8 kB / 251.2 MB, free: 7.477 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.008575, allocations: 12.88 kB / 251.2 MB, free: 7.465 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.119e-05/0.008616, allocations: 24.38 kB / 251.2 MB, free: 7.441 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.008989, allocations: 261.6 kB / 251.5 MB, free: 7.164 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.008999, allocations: 192 / 251.5 MB, free: 7.164 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.009022, allocations: 12.36 kB / 251.5 MB, free: 7.152 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.009031, allocations: 7.938 kB / 251.5 MB, free: 7.145 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.009162, allocations: 59.47 kB / 251.6 MB, free: 7.09 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000977/0.01014, allocations: 0.6177 MB / 252.2 MB, free: 6.438 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007692/0.01091, allocations: 210.3 kB / 252.4 MB, free: 6.223 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.01109, allocations: 100.8 kB / 252.5 MB, free: 6.125 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.01111, allocations: 11.94 kB / 252.5 MB, free: 6.113 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/0.01132, allocations: 159.5 kB / 252.7 MB, free: 5.93 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.01132, allocations: 0 / 252.7 MB, free: 5.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002909/0.01161, allocations: 149.5 kB / 252.8 MB, free: 5.777 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.01165, allocations: 81.11 kB / 252.9 MB, free: 5.68 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.0118, allocations: 213 kB / 253.1 MB, free: 5.461 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.01182, allocations: 33.7 kB / 253.1 MB, free: 5.422 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.701e-05/0.01189, allocations: 140.9 kB / 253.3 MB, free: 5.281 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.483e-05/0.01195, allocations: 79.36 kB / 253.4 MB, free: 5.203 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.799e-05/0.01202, allocations: 53.84 kB / 253.4 MB, free: 5.145 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.948e-05/0.01211, allocations: 342.6 kB / 253.7 MB, free: 4.801 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.01232, allocations: 58.28 kB / 253.8 MB, free: 4.738 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.88e-05/0.01242, allocations: 115.8 kB / 253.9 MB, free: 4.602 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.01257, allocations: 132.8 kB / 254 MB, free: 4.457 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.01257, allocations: 0 / 254 MB, free: 4.457 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002247/0.0128, allocations: 200.8 kB / 254.2 MB, free: 4.242 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/0.01283, allocations: 40.83 kB / 254.3 MB, free: 4.199 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.01284, allocations: 4.094 kB / 254.3 MB, free: 4.195 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.01285, allocations: 0 / 254.3 MB, free: 4.195 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007145/0.01357, allocations: 171.8 kB / 254.4 MB, free: 4.027 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.01542, allocations: 2.644 MB / 257.1 MB, free: 1.215 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.01559, allocations: 43.8 kB / 257.1 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.01561, allocations: 4 kB / 257.1 MB, free: 1.168 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.0001061/0.01571, allocations: 129.9 kB / 257.3 MB, free: 1.031 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.01575, allocations: 19.97 kB / 257.3 MB, free: 1.012 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002854/0.01604, allocations: 34.11 kB / 257.3 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.01604, allocations: 4 kB / 257.3 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.01605, allocations: 0 / 257.3 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.01605, allocations: 3.938 kB / 257.3 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005843/0.01664, allocations: 486.6 kB / 257.8 MB, free: 480 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.01664, allocations: 8.031 kB / 257.8 MB, free: 472 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006561/0.01729, allocations: 155.2 kB / 258 MB, free: 320 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.135e-05/0.01733, allocations: 27.78 kB / 258 MB, free: 292 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.01733, allocations: 7.938 kB / 258 MB, free: 284 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.01735, allocations: 8 kB / 258 MB, free: 276 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001704/0.01905, allocations: 2.643 MB / 260.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.01905, allocations: 7.938 kB / 260.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.01935, allocations: 277.2 kB / 260.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.01938, allocations: 4 kB / 260.9 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.01954, allocations: 31.97 kB / 261 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.01961, allocations: 23.95 kB / 261 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.01962, allocations: 11.98 kB / 261 MB, free: 13.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.801e-05/0.01969, allocations: 70.72 kB / 261.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01969, allocations: 0 / 261.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003789/0.02007, allocations: 79.89 kB / 261.1 MB, free: 12.94 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.0001213/0.02019, allocations: 92.39 kB / 261.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007721/0.02097, allocations: 319.3 kB / 261.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/0.02098, allocations: 8.188 kB / 261.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006329/0.02161, allocations: 194.4 kB / 261.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.02199, allocations: 345.6 kB / 262.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.02474, allocations: 0.5458 MB / 262.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.145e-05/0.0248, allocations: 84.56 kB / 262.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.02491, allocations: 25.95 kB / 262.7 MB, free: 11.19 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.02506, allocations: 91.34 kB / 262.8 MB, free: 11.1 MB / 266.7 MB Notification: Performance of SimCode: time 1.172e-06/0.02506, allocations: 0 / 262.8 MB, free: 11.1 MB / 266.7 MB Notification: Performance of Templates: time 0.007216/0.03227, allocations: 4.088 MB / 266.9 MB, free: 7.066 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5521750636398792]