Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001329/0.001329, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 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.001592/0.001592, allocations: 217.3 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.513/1.513, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 71.83 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3124, allocations: 53.31 MB / 432.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.005081/0.3175, allocations: 2.804 MB / 434.9 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.3191, allocations: 0.7557 MB / 435.6 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.3193, allocations: 7.938 kB / 435.6 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.3195, allocations: 35.58 kB / 435.7 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.3196, allocations: 87.27 kB / 435.7 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004189/0.3201, allocations: 123.7 kB / 435.9 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005466/0.3206, allocations: 382.5 kB / 436.2 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.3208, allocations: 60.69 kB / 436.3 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003359/0.3212, allocations: 163.5 kB / 436.5 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002649/0.3214, allocations: 163.3 kB / 436.6 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.248e-05/0.3215, allocations: 36 kB / 436.6 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.3216, allocations: 40 kB / 436.7 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.046e-05/0.3217, allocations: 71.69 kB / 436.8 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.3219, allocations: 159.2 kB / 436.9 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005255/0.3224, allocations: 372.1 kB / 437.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3224, allocations: 0 / 437.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3224, allocations: 4 kB / 437.3 MB, free: 2.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.341e-05/0.3224, allocations: 0 / 437.3 MB, free: 2.148 MB / 334.1 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.001819/0.3242, allocations: 0.6918 MB / 438 MB, free: 1.402 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.3243, allocations: 12.03 kB / 438 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/0.3245, allocations: 40.73 kB / 438 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000436/0.3249, allocations: 270.9 kB / 438.3 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.3249, allocations: 24.8 kB / 438.3 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.356e-05/0.325, allocations: 28.27 kB / 438.3 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008318/0.3258, allocations: 310 kB / 438.6 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.3258, allocations: 8 kB / 438.6 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/0.3259, allocations: 4 kB / 438.7 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.3259, allocations: 4 kB / 438.7 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.3269, allocations: 301.5 kB / 439 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00192/0.3288, allocations: 0.9649 MB / 439.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003038/0.3318, allocations: 0.4903 MB / 440.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006769/0.3325, allocations: 200.7 kB / 440.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.3326, allocations: 4 kB / 440.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000685/0.3332, allocations: 245.7 kB / 440.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.673e-06/0.3332, allocations: 0 / 440.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001691/0.3349, allocations: 476.9 kB / 441.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.581e-05/0.335, allocations: 106.8 kB / 441.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.3353, allocations: 237 kB / 441.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.945e-05/0.3353, allocations: 29.7 kB / 441.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.3355, allocations: 164.3 kB / 441.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.983e-05/0.3356, allocations: 79.36 kB / 441.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.3357, allocations: 45.94 kB / 442 MB, free: 13.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3358, allocations: 334.8 kB / 442.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005185/0.3364, allocations: 144.3 kB / 442.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005312/0.3369, allocations: 180.2 kB / 442.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009937/0.3379, allocations: 320.7 kB / 442.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3379, allocations: 0 / 442.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001243/0.3391, allocations: 414.8 kB / 443.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.559e-05/0.3392, allocations: 37.7 kB / 443.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.3392, allocations: 0 / 443.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.3392, allocations: 4 kB / 443.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/0.341, allocations: 271.6 kB / 443.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0053/0.3463, allocations: 3.44 MB / 447.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004471/0.3468, allocations: 55.83 kB / 447.1 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.3468, allocations: 4 kB / 447.1 MB, free: 7.715 MB / 350.1 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.000223/0.347, allocations: 149.8 kB / 447.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.765e-05/0.3471, allocations: 23.86 kB / 447.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.035e-05/0.3472, allocations: 34.17 kB / 447.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3472, allocations: 0 / 447.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3472, allocations: 4 kB / 447.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3472, allocations: 3.938 kB / 447.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.3491, allocations: 0.9011 MB / 448.2 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.3491, allocations: 3.984 kB / 448.2 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001794/0.3509, allocations: 259.7 kB / 448.5 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.3509, allocations: 0 / 448.5 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.351, allocations: 11.94 kB / 448.5 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005099/0.3561, allocations: 3.459 MB / 452 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3561, allocations: 4.156 kB / 452 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.3577, allocations: 0.6051 MB / 452.6 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.3579, allocations: 100.9 kB / 452.7 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.93e-05/0.3579, allocations: 11.94 kB / 452.7 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.3583, allocations: 44.02 kB / 452.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.982e-05/0.3584, allocations: 27.95 kB / 452.8 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.3584, allocations: 8 kB / 452.8 MB, free: 1.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001937/0.3586, allocations: 172.5 kB / 452.9 MB, free: 1.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3586, allocations: 0 / 452.9 MB, free: 1.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005049/0.3591, allocations: 79.89 kB / 453 MB, free: 1.441 MB / 350.1 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.0001642/0.3593, allocations: 115.2 kB / 453.1 MB, free: 1.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002663/0.3619, allocations: 0.5573 MB / 453.7 MB, free: 0.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3619, allocations: 0 / 453.7 MB, free: 0.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002062/0.364, allocations: 379.7 kB / 454.1 MB, free: 388 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.3645, allocations: 47.17 kB / 454.1 MB, free: 344 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.3663, allocations: 0.7065 MB / 454.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.3667, allocations: 0.748 MB / 455.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001236/0.3669, allocations: 25.94 kB / 455.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.124e-05/0.3669, allocations: 23.44 kB / 455.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3669, allocations: 0 / 455.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of Templates: time 0.00867/0.3756, allocations: 3.962 MB / 459.6 MB, free: 10.84 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.810058880131692]