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.001061/0.001061, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001024/0.001024, allocations: 175.1 kB / 25.61 MB, free: 8.883 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.9175/0.9175, allocations: 177.2 MB / 206.1 MB, free: 4.445 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.252e-06/1.252e-06, allocations: 0 / 274.2 MB, free: 4.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/1.92e-05, allocations: 7.094 kB / 274.2 MB, free: 4.371 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003684/0.003703, allocations: 2.739 MB / 276.9 MB, free: 1.629 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009828/0.004686, allocations: 0.7348 MB / 277.7 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.00479, allocations: 4 kB / 277.7 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.004905, allocations: 39.56 kB / 277.7 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.005034, allocations: 97.08 kB / 277.8 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.005314, allocations: 119.6 kB / 277.9 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.005597, allocations: 398.3 kB / 278.3 MB, free: 256 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.005728, allocations: 53.39 kB / 278.4 MB, free: 200 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002767/0.006005, allocations: 232.2 kB / 278.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.00614, allocations: 123.6 kB / 278.7 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.619e-05/0.006176, allocations: 36 kB / 278.8 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.723e-05/0.006243, allocations: 43.98 kB / 278.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.721e-05/0.00629, allocations: 71.73 kB / 278.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.01e-05/0.006371, allocations: 107.7 kB / 279 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.006604, allocations: 251.2 kB / 279.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.006606, allocations: 4 kB / 279.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.006606, allocations: 0 / 279.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.00661, allocations: 0 / 279.2 MB, free: 15.34 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.0007925/0.007402, allocations: 0.6812 MB / 279.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.007431, allocations: 8.031 kB / 279.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.007554, allocations: 52.69 kB / 280 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.007755, allocations: 219.6 kB / 280.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.007775, allocations: 16.88 kB / 280.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.007807, allocations: 24.38 kB / 280.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.008128, allocations: 251.3 kB / 280.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.008137, allocations: 4.188 kB / 280.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.008155, allocations: 8.375 kB / 280.5 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.008163, allocations: 7.938 kB / 280.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.008289, allocations: 83.36 kB / 280.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008563/0.009145, allocations: 0.8155 MB / 281.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007219/0.009867, allocations: 246.8 kB / 281.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.01001, allocations: 95.62 kB / 281.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.01003, allocations: 4 kB / 281.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/0.01022, allocations: 183.7 kB / 281.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.403e-06/0.01022, allocations: 0 / 281.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002954/0.01051, allocations: 189 kB / 282.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.01056, allocations: 106.8 kB / 282.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.0107, allocations: 272.2 kB / 282.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.01072, allocations: 33.7 kB / 282.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.236e-05/0.01081, allocations: 211.1 kB / 282.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.01086, allocations: 75.36 kB / 282.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-05/0.01092, allocations: 55.69 kB / 282.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.01104, allocations: 0.5079 MB / 283.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.036e-05/0.01111, allocations: 62.09 kB / 283.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.746e-05/0.0112, allocations: 131 kB / 283.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.01134, allocations: 135.6 kB / 283.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.01134, allocations: 0 / 283.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002423/0.01159, allocations: 236.8 kB / 283.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.01161, allocations: 41.64 kB / 283.9 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.01161, allocations: 3.938 kB / 283.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.01162, allocations: 4 kB / 283.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005917/0.01222, allocations: 159.9 kB / 284.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/0.01428, allocations: 3.919 MB / 288 MB, free: 6.008 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.01443, allocations: 47.75 kB / 288.1 MB, free: 5.961 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.01445, allocations: 12.09 kB / 288.1 MB, free: 5.949 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.0001068/0.01455, allocations: 172.5 kB / 288.2 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.71e-05/0.01459, allocations: 27.86 kB / 288.3 MB, free: 5.742 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.01462, allocations: 30.11 kB / 288.3 MB, free: 5.711 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.01463, allocations: 4 kB / 288.3 MB, free: 5.707 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.01463, allocations: 0 / 288.3 MB, free: 5.707 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01463, allocations: 0 / 288.3 MB, free: 5.707 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005946/0.01523, allocations: 0.6602 MB / 289 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.01523, allocations: 4 kB / 289 MB, free: 5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00055/0.01578, allocations: 143.8 kB / 289.1 MB, free: 4.859 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01578, allocations: 4.062 kB / 289.1 MB, free: 4.855 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.0158, allocations: 8 kB / 289.1 MB, free: 4.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/0.01773, allocations: 3.924 MB / 293 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01773, allocations: 0 / 293 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003544/0.01809, allocations: 378.9 kB / 293.4 MB, free: 308 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.551e-05/0.01811, allocations: 27.84 kB / 293.4 MB, free: 280 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.01814, allocations: 4 kB / 293.4 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.01828, allocations: 27.97 kB / 293.5 MB, free: 248 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.01834, allocations: 31.89 kB / 293.5 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.01835, allocations: 4 kB / 293.5 MB, free: 212 kB / 266.7 MB Notification: Performance of sorting global known variables: time 8.222e-05/0.01843, allocations: 189.1 kB / 293.7 MB, free: 28 kB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01843, allocations: 0 / 293.7 MB, free: 28 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003134/0.01875, allocations: 79.94 kB / 293.8 MB, free: 15.95 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.514e-05/0.01884, allocations: 111.2 kB / 293.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006911/0.01953, allocations: 301.9 kB / 294.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.01954, allocations: 12.06 kB / 294.2 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005326/0.02007, allocations: 182 kB / 294.4 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.02032, allocations: 44.59 kB / 294.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009706/0.02129, allocations: 0.5717 MB / 295 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.921e-05/0.02134, allocations: 88.17 kB / 295.1 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.004e-05/0.02142, allocations: 25.95 kB / 295.1 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.02155, allocations: 110.2 kB / 295.2 MB, free: 14.43 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02155, allocations: 0 / 295.2 MB, free: 14.43 MB / 282.7 MB Notification: Performance of Templates: time 0.005885/0.02743, allocations: 4.246 MB / 299.4 MB, free: 10.25 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.888484376948327]