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.001126/0.001126, allocations: 71.77 kB / 21.69 MB, free: 2.848 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.001244/0.001244, allocations: 166.3 kB / 24.99 MB, free: 9.324 MB / 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 0.9632/0.9632, allocations: 177.1 MB / 205.3 MB, free: 5.633 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 1.222e-06/1.222e-06, allocations: 0 / 273.1 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.482e-05, allocations: 2.312 kB / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.002693/0.002708, allocations: 2.758 MB / 275.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.00375, allocations: 0.7361 MB / 276.6 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.003857, allocations: 7.938 kB / 276.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.003976, allocations: 39.62 kB / 276.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001333/0.004109, allocations: 99.14 kB / 276.7 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.004415, allocations: 119.6 kB / 276.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000324/0.004739, allocations: 398.3 kB / 277.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.004878, allocations: 60.88 kB / 277.3 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002926/0.005171, allocations: 219.5 kB / 277.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.005333, allocations: 139.6 kB / 277.6 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.661e-05/0.005379, allocations: 36 kB / 277.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.665e-05/0.005446, allocations: 39.94 kB / 277.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.794e-05/0.005504, allocations: 71.73 kB / 277.8 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.005618, allocations: 111.7 kB / 277.9 MB, free: 13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003371/0.005955, allocations: 259.1 kB / 278.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.005957, allocations: 0 / 278.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.005958, allocations: 0 / 278.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.005965, allocations: 4 kB / 278.1 MB, free: 12.74 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.001017/0.006981, allocations: 0.6852 MB / 278.8 MB, free: 12.01 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.007017, allocations: 8.031 kB / 278.8 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.007162, allocations: 52.75 kB / 278.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.007405, allocations: 219.5 kB / 279.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.00743, allocations: 24.88 kB / 279.1 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.007465, allocations: 16.38 kB / 279.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003874/0.007852, allocations: 279.3 kB / 279.4 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.007862, allocations: 192 / 279.4 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.007886, allocations: 12.36 kB / 279.4 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.007899, allocations: 7.938 kB / 279.4 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.008092, allocations: 94.94 kB / 279.5 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.009273, allocations: 0.858 MB / 280.4 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.01032, allocations: 298.8 kB / 280.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.01053, allocations: 115.6 kB / 280.8 MB, free: 9.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.01056, allocations: 4 kB / 280.8 MB, free: 9.926 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.01077, allocations: 185.7 kB / 281 MB, free: 9.711 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.323e-06/0.01078, allocations: 0 / 281 MB, free: 9.711 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003829/0.01116, allocations: 209 kB / 281.2 MB, free: 9.504 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.01122, allocations: 114.8 kB / 281.3 MB, free: 9.367 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.01139, allocations: 276.3 kB / 281.6 MB, free: 9.078 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.01141, allocations: 29.83 kB / 281.6 MB, free: 9.043 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.82e-05/0.01151, allocations: 215.1 kB / 281.8 MB, free: 8.828 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.991e-05/0.01157, allocations: 75.36 kB / 281.9 MB, free: 8.754 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.914e-05/0.01164, allocations: 51.59 kB / 281.9 MB, free: 8.695 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.01176, allocations: 0.5079 MB / 282.4 MB, free: 8.176 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.01186, allocations: 66.14 kB / 282.5 MB, free: 8.105 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.012, allocations: 147 kB / 282.6 MB, free: 7.934 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.01219, allocations: 147.3 kB / 282.8 MB, free: 7.773 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01219, allocations: 4.031 kB / 282.8 MB, free: 7.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003016/0.01249, allocations: 253.4 kB / 283 MB, free: 7.504 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.01253, allocations: 41.69 kB / 283.1 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.01253, allocations: 0 / 283.1 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.01254, allocations: 0 / 283.1 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006525/0.0132, allocations: 207.8 kB / 283.3 MB, free: 7.254 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002509/0.0157, allocations: 4.008 MB / 287.3 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.01586, allocations: 43.8 kB / 287.3 MB, free: 2.965 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.01588, allocations: 8 kB / 287.3 MB, free: 2.957 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.0001114/0.01599, allocations: 172.5 kB / 287.5 MB, free: 2.777 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.01603, allocations: 31.86 kB / 287.5 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.204e-05/0.01606, allocations: 34.17 kB / 287.6 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.01606, allocations: 11.88 kB / 287.6 MB, free: 2.699 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.01607, allocations: 0 / 287.6 MB, free: 2.699 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.01607, allocations: 0 / 287.6 MB, free: 2.699 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006967/0.01677, allocations: 0.7103 MB / 288.3 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.01677, allocations: 0 / 288.3 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006266/0.0174, allocations: 187.7 kB / 288.5 MB, free: 1.754 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.0174, allocations: 4 kB / 288.5 MB, free: 1.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.01742, allocations: 8 kB / 288.5 MB, free: 1.742 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002173/0.01959, allocations: 3.997 MB / 292.5 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.01959, allocations: 4 kB / 292.5 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.01997, allocations: 402.1 kB / 292.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.01999, allocations: 27.84 kB / 292.9 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.02002, allocations: 4 kB / 292.9 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.02015, allocations: 27.97 kB / 292.9 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.523e-05/0.02021, allocations: 27.95 kB / 293 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.02023, allocations: 4 kB / 293 MB, free: 13 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.522e-05/0.02032, allocations: 201.1 kB / 293.2 MB, free: 12.8 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02032, allocations: 0 / 293.2 MB, free: 12.8 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002945/0.02062, allocations: 83.92 kB / 293.2 MB, free: 12.72 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 9.568e-05/0.02071, allocations: 103.2 kB / 293.3 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008087/0.02152, allocations: 372.6 kB / 293.7 MB, free: 12.23 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.02152, allocations: 0 / 293.7 MB, free: 12.23 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006156/0.02214, allocations: 226.7 kB / 293.9 MB, free: 12 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.0224, allocations: 44.45 kB / 294 MB, free: 11.96 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.02352, allocations: 0.5831 MB / 294.6 MB, free: 11.34 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.162e-05/0.02357, allocations: 84.31 kB / 294.6 MB, free: 11.24 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.683e-05/0.02365, allocations: 21.95 kB / 294.7 MB, free: 11.22 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.098e-05/0.02371, allocations: 20.5 kB / 294.7 MB, free: 11.2 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.02371, allocations: 0 / 294.7 MB, free: 11.2 MB / 282.7 MB Notification: Performance of Templates: time 0.005592/0.0293, allocations: 4.011 MB / 298.7 MB, free: 7.23 MB / 282.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: 2.9525919158477336]