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.001269/0.001269, allocations: 85.91 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001054/0.001054, allocations: 159 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.9389/0.9389, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.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.092e-06/1.092e-06, allocations: 0 / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.96e-05, allocations: 2.312 kB / 274.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003276/0.003296, allocations: 2.738 MB / 276.9 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008275/0.004123, allocations: 0.7302 MB / 277.6 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.973e-05/0.004213, allocations: 4 kB / 277.6 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.004314, allocations: 43.5 kB / 277.6 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.004437, allocations: 100.8 kB / 277.7 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.00467, allocations: 113.2 kB / 277.9 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.00495, allocations: 398.3 kB / 278.2 MB, free: 164 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.005063, allocations: 57.62 kB / 278.3 MB, free: 104 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.005312, allocations: 231.5 kB / 278.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.005448, allocations: 131.6 kB / 278.7 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.005483, allocations: 32 kB / 278.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.251e-05/0.005536, allocations: 40 kB / 278.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.112e-05/0.005587, allocations: 67.75 kB / 278.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.005696, allocations: 107.7 kB / 278.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.005938, allocations: 259.1 kB / 279.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.00594, allocations: 0 / 279.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.005941, allocations: 4 kB / 279.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.005945, allocations: 0 / 279.1 MB, free: 15.24 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.0007565/0.006701, allocations: 0.6812 MB / 279.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.51e-05/0.006726, allocations: 8.031 kB / 279.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.006844, allocations: 48.75 kB / 279.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.007055, allocations: 223.6 kB / 280.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.007073, allocations: 12.88 kB / 280.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.007105, allocations: 24.38 kB / 280.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.007416, allocations: 255.2 kB / 280.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.007425, allocations: 192 / 280.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.007444, allocations: 12.38 kB / 280.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.007451, allocations: 7.938 kB / 280.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.007573, allocations: 79.38 kB / 280.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000836/0.008409, allocations: 0.8156 MB / 281.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006816/0.00909, allocations: 242.8 kB / 281.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.009234, allocations: 99.61 kB / 281.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.009251, allocations: 4 kB / 281.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.009426, allocations: 184.6 kB / 281.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.092e-06/0.009427, allocations: 4 kB / 281.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002772/0.009705, allocations: 183.7 kB / 282 MB, free: 12.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.009746, allocations: 110.8 kB / 282.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.009875, allocations: 272.2 kB / 282.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.009898, allocations: 33.7 kB / 282.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.546e-05/0.009983, allocations: 211.1 kB / 282.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.269e-05/0.01004, allocations: 71.5 kB / 282.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.4e-05/0.01013, allocations: 59.55 kB / 282.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.01026, allocations: 0.5079 MB / 283.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.586e-05/0.01034, allocations: 66.08 kB / 283.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.01044, allocations: 131 kB / 283.4 MB, free: 10.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.01058, allocations: 134.4 kB / 283.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01058, allocations: 4 kB / 283.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002502/0.01083, allocations: 237.7 kB / 283.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.01086, allocations: 37.7 kB / 283.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.01087, allocations: 0 / 283.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.01087, allocations: 4 kB / 283.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000575/0.01145, allocations: 163.8 kB / 284 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.01343, allocations: 3.908 MB / 287.9 MB, free: 5.918 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.01357, allocations: 47.94 kB / 288 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.01359, allocations: 11.94 kB / 288 MB, free: 5.859 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.0001112/0.0137, allocations: 176.5 kB / 288.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.01374, allocations: 31.86 kB / 288.2 MB, free: 5.645 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.935e-05/0.01377, allocations: 26.11 kB / 288.2 MB, free: 5.617 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.01377, allocations: 4 kB / 288.2 MB, free: 5.613 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.01377, allocations: 0 / 288.2 MB, free: 5.613 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.01378, allocations: 3.984 kB / 288.2 MB, free: 5.609 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005852/0.01436, allocations: 0.655 MB / 288.9 MB, free: 4.914 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.01437, allocations: 4 kB / 288.9 MB, free: 4.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005382/0.0149, allocations: 151.8 kB / 289 MB, free: 4.762 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.01491, allocations: 4 kB / 289 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.01492, allocations: 4 kB / 289 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/0.01668, allocations: 3.916 MB / 292.9 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01668, allocations: 0 / 292.9 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.01699, allocations: 375 kB / 293.3 MB, free: 228 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.01701, allocations: 31.83 kB / 293.3 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.01703, allocations: 4 kB / 293.3 MB, free: 192 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.01716, allocations: 23.97 kB / 293.4 MB, free: 168 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.01721, allocations: 39.83 kB / 293.4 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.01722, allocations: 0 / 293.4 MB, free: 128 kB / 266.7 MB Notification: Performance of sorting global known variables: time 8.292e-05/0.01731, allocations: 193.1 kB / 293.6 MB, free: 15.94 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01731, allocations: 3.938 kB / 293.6 MB, free: 15.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002757/0.01758, allocations: 83.92 kB / 293.7 MB, free: 15.85 MB / 282.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.9e-05/0.01767, allocations: 103.2 kB / 293.8 MB, free: 15.74 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006538/0.01833, allocations: 309.1 kB / 294.1 MB, free: 15.42 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01833, allocations: 0 / 294.1 MB, free: 15.42 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005098/0.01884, allocations: 179.4 kB / 294.3 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.01907, allocations: 52.66 kB / 294.3 MB, free: 15.19 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008989/0.01997, allocations: 0.5709 MB / 294.9 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.795e-05/0.02002, allocations: 88.17 kB / 295 MB, free: 14.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.435e-05/0.0201, allocations: 21.95 kB / 295 MB, free: 14.46 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.02022, allocations: 110.2 kB / 295.1 MB, free: 14.35 MB / 282.7 MB Notification: Performance of SimCode: time 4.11e-07/0.02022, allocations: 0 / 295.1 MB, free: 14.35 MB / 282.7 MB Notification: Performance of Templates: time 0.005351/0.02557, allocations: 4.241 MB / 299.3 MB, free: 10.18 MB / 282.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.869072856847197]