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.001333/0.001333, allocations: 84.22 kB / 20.68 MB, free: 1.035 MB / 14.72 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.00142/0.00142, allocations: 165.2 kB / 23.96 MB, free: 4.16 MB / 14.72 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 1.463/1.463, allocations: 177.2 MB / 204.3 MB, free: 9.184 MB / 190.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+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.202e-06/1.202e-06, allocations: 0 / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.395e-05, allocations: 7.688 kB / 325.1 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004671/0.004695, allocations: 2.597 MB / 327.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.006327, allocations: 0.7343 MB / 328.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.006463, allocations: 3.062 kB / 328.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.006611, allocations: 44.86 kB / 328.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.006804, allocations: 93.14 kB / 328.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004092/0.007213, allocations: 118.9 kB / 328.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004788/0.007692, allocations: 399.4 kB / 329.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.007863, allocations: 52.02 kB / 329.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004533/0.008316, allocations: 229.5 kB / 329.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.008563, allocations: 136.3 kB / 329.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.865e-05/0.008632, allocations: 33.12 kB / 329.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.008732, allocations: 36 kB / 329.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.815e-05/0.00883, allocations: 69.81 kB / 329.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.009013, allocations: 111.8 kB / 329.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006183/0.009631, allocations: 396.2 kB / 330.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.009635, allocations: 0 / 330.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.009635, allocations: 1.156 kB / 330.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.009644, allocations: 0 / 330.1 MB, free: 13.46 MB / 302.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.00172/0.01136, allocations: 0.6139 MB / 330.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.0114, allocations: 13.48 kB / 330.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001857/0.01159, allocations: 37.88 kB / 330.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.01198, allocations: 214 kB / 331 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.012, allocations: 17.94 kB / 331 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.534e-05/0.01205, allocations: 21.36 kB / 331 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008314/0.01288, allocations: 343.2 kB / 331.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.0129, allocations: 1.281 kB / 331.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.629e-05/0.01293, allocations: 10.5 kB / 331.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.01294, allocations: 8.812 kB / 331.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.01397, allocations: 295.8 kB / 331.7 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/0.01572, allocations: 0.8293 MB / 332.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003014/0.01874, allocations: 496.8 kB / 333 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006538/0.01939, allocations: 192.9 kB / 333.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/0.01943, allocations: 18.66 kB / 333.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006788/0.02011, allocations: 257.8 kB / 333.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.833e-06/0.02011, allocations: 3.938 kB / 333.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001668/0.02178, allocations: 474.3 kB / 333.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.172e-05/0.02186, allocations: 114.4 kB / 334 MB, free: 10.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/0.02212, allocations: 236.4 kB / 334.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.02217, allocations: 32.02 kB / 334.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.0223, allocations: 165.5 kB / 334.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.065e-05/0.02238, allocations: 75.72 kB / 334.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.02249, allocations: 43 kB / 334.5 MB, free: 10.33 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.02264, allocations: 337.2 kB / 334.9 MB, free: 10 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005274/0.02317, allocations: 174.4 kB / 335 MB, free: 9.898 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000558/0.02373, allocations: 229.9 kB / 335.3 MB, free: 9.734 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009857/0.02471, allocations: 322 kB / 335.6 MB, free: 9.555 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.02472, allocations: 0 / 335.6 MB, free: 9.555 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001256/0.02597, allocations: 443.2 kB / 336 MB, free: 9.297 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.536e-05/0.02602, allocations: 35.42 kB / 336 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.02602, allocations: 5.531 kB / 336.1 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/0.02605, allocations: 1.312 kB / 336.1 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/0.02791, allocations: 268.1 kB / 336.3 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005241/0.03315, allocations: 3.181 MB / 339.5 MB, free: 6.164 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004668/0.03362, allocations: 62.55 kB / 339.6 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.03365, allocations: 9.844 kB / 339.6 MB, free: 6.125 MB / 302.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.0002158/0.03387, allocations: 139.5 kB / 339.7 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/0.03392, allocations: 23.3 kB / 339.7 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.32e-05/0.03399, allocations: 27.08 kB / 339.8 MB, free: 5.965 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.03399, allocations: 6.5 kB / 339.8 MB, free: 5.961 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.034, allocations: 9.078 kB / 339.8 MB, free: 5.953 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.03401, allocations: 1.188 kB / 339.8 MB, free: 5.953 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.03596, allocations: 0.7984 MB / 340.6 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.03597, allocations: 0 / 340.6 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/0.03785, allocations: 267.7 kB / 340.8 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.03786, allocations: 0 / 340.8 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.03789, allocations: 4 kB / 340.8 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005183/0.04307, allocations: 3.179 MB / 344 MB, free: 1.473 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.04308, allocations: 4.25 kB / 344 MB, free: 1.469 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.04484, allocations: 0.61 MB / 344.6 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.407e-05/0.0449, allocations: 27.84 kB / 344.7 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.743e-05/0.04495, allocations: 8 kB / 344.7 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003705/0.04532, allocations: 39.95 kB / 344.7 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.04542, allocations: 27.95 kB / 344.7 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.04545, allocations: 11.98 kB / 344.7 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001851/0.04563, allocations: 161.2 kB / 344.9 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.04563, allocations: 0 / 344.9 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00051/0.04614, allocations: 87.89 kB / 345 MB, free: 488 kB / 302.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.0001739/0.04632, allocations: 115.2 kB / 345.1 MB, free: 364 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002785/0.0491, allocations: 0.5904 MB / 345.7 MB, free: 15.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.04911, allocations: 0 / 345.7 MB, free: 15.75 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002143/0.05125, allocations: 379.7 kB / 346.1 MB, free: 15.38 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.05167, allocations: 43.83 kB / 346.1 MB, free: 15.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.05346, allocations: 0.6309 MB / 346.7 MB, free: 14.68 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001483/0.05361, allocations: 146.2 kB / 346.9 MB, free: 14.51 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.05372, allocations: 17.95 kB / 346.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.597e-05/0.05381, allocations: 24.5 kB / 346.9 MB, free: 14.47 MB / 318.1 MB Notification: Performance of SimCode: time 9.01e-07/0.05381, allocations: 0 / 346.9 MB, free: 14.47 MB / 318.1 MB Notification: Performance of Templates: time 0.00916/0.06297, allocations: 3.959 MB / 350.9 MB, free: 10.55 MB / 318.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.499507248401642]