Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002611/0.002611, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002871/0.002871, allocations: 153.1 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.509e-05, allocations: 2.312 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004541/0.004566, allocations: 2.695 MB / 270 MB, free: 4.02 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.005933, allocations: 0.6932 MB / 270.7 MB, free: 3.32 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.006054, allocations: 0 / 270.7 MB, free: 3.32 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.006209, allocations: 43.56 kB / 270.8 MB, free: 3.277 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.006413, allocations: 95.14 kB / 270.9 MB, free: 3.184 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.006752, allocations: 99.73 kB / 270.9 MB, free: 3.086 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004874/0.00724, allocations: 398.3 kB / 271.3 MB, free: 2.695 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.007399, allocations: 60.88 kB / 271.4 MB, free: 2.633 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003515/0.007751, allocations: 219.5 kB / 271.6 MB, free: 2.418 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.007995, allocations: 135.6 kB / 271.7 MB, free: 2.285 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.568e-05/0.008061, allocations: 32 kB / 271.8 MB, free: 2.254 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.787e-05/0.008129, allocations: 32 kB / 271.8 MB, free: 2.223 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.748e-05/0.008216, allocations: 71.73 kB / 271.9 MB, free: 2.152 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.008377, allocations: 115.7 kB / 272 MB, free: 2.039 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005008/0.008877, allocations: 382.8 kB / 272.4 MB, free: 1.664 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.008881, allocations: 0 / 272.4 MB, free: 1.664 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.008881, allocations: 0 / 272.4 MB, free: 1.664 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.008887, allocations: 4 kB / 272.4 MB, free: 1.66 MB / 250.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.001542/0.01043, allocations: 0.6849 MB / 273.1 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.01047, allocations: 12.03 kB / 273.1 MB, free: 0.918 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.01059, allocations: 48.75 kB / 273.1 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003736/0.01097, allocations: 216.9 kB / 273.3 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.011, allocations: 24.88 kB / 273.3 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.921e-05/0.01105, allocations: 16.38 kB / 273.4 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007278/0.01178, allocations: 326.6 kB / 273.7 MB, free: 256 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.01179, allocations: 192 / 273.7 MB, free: 256 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.01182, allocations: 4.375 kB / 273.7 MB, free: 252 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.01183, allocations: 15.94 kB / 273.7 MB, free: 236 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007834/0.01261, allocations: 249.8 kB / 273.9 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/0.01446, allocations: 0.9556 MB / 274.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002665/0.01712, allocations: 402.9 kB / 275.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005802/0.0177, allocations: 183.6 kB / 275.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.01773, allocations: 4 kB / 275.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007947/0.01853, allocations: 260.6 kB / 275.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.272e-06/0.01853, allocations: 4 kB / 275.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.001327/0.01986, allocations: 401.7 kB / 276.1 MB, free: 13.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.043e-05/0.01995, allocations: 118.7 kB / 276.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000327/0.02027, allocations: 312.3 kB / 276.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.02031, allocations: 29.7 kB / 276.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.02048, allocations: 219.1 kB / 276.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.577e-05/0.02058, allocations: 75.38 kB / 276.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.0207, allocations: 55.59 kB / 276.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000281/0.02098, allocations: 0.5157 MB / 277.4 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004175/0.0214, allocations: 154.1 kB / 277.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004679/0.02187, allocations: 219 kB / 277.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007749/0.02265, allocations: 289.3 kB / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.02265, allocations: 0 / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00101/0.02366, allocations: 404.7 kB / 278.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/0.0237, allocations: 33.7 kB / 278.5 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.0237, allocations: 0 / 278.5 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.02372, allocations: 0 / 278.5 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.02523, allocations: 183.7 kB / 278.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005627/0.03086, allocations: 4.262 MB / 283 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003184/0.03118, allocations: 43.86 kB / 283 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.03121, allocations: 8 kB / 283 MB, free: 6.434 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.0002135/0.03142, allocations: 192.6 kB / 283.2 MB, free: 6.234 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-05/0.03149, allocations: 35.84 kB / 283.2 MB, free: 6.199 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.842e-05/0.03156, allocations: 26.12 kB / 283.3 MB, free: 6.172 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.03157, allocations: 7.938 kB / 283.3 MB, free: 6.164 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.03157, allocations: 0 / 283.3 MB, free: 6.164 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.03157, allocations: 3.984 kB / 283.3 MB, free: 6.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.0333, allocations: 0.8658 MB / 284.1 MB, free: 5.246 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.03331, allocations: 0 / 284.1 MB, free: 5.246 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001487/0.03479, allocations: 175.7 kB / 284.3 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.0348, allocations: 0 / 284.3 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/0.03483, allocations: 8 kB / 284.3 MB, free: 5.066 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00539/0.04022, allocations: 4.27 MB / 288.6 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.04022, allocations: 192 / 288.6 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.04166, allocations: 0.5965 MB / 289.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.8e-05/0.04173, allocations: 31.83 kB / 289.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/0.04178, allocations: 8 kB / 289.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003015/0.04208, allocations: 27.97 kB / 289.2 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.04221, allocations: 27.95 kB / 289.3 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.04223, allocations: 8 kB / 289.3 MB, free: 15.83 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002391/0.04247, allocations: 217.1 kB / 289.5 MB, free: 15.62 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04247, allocations: 0 / 289.5 MB, free: 15.62 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004871/0.04296, allocations: 83.89 kB / 289.6 MB, free: 15.54 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 0.0001525/0.04311, allocations: 111.2 kB / 289.7 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002461/0.04557, allocations: 496.3 kB / 290.2 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.04558, allocations: 0 / 290.2 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001737/0.04731, allocations: 283.6 kB / 290.4 MB, free: 14.62 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.04774, allocations: 48.41 kB / 290.5 MB, free: 14.58 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.04932, allocations: 0.5988 MB / 291.1 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.04948, allocations: 142.2 kB / 291.2 MB, free: 13.79 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.0496, allocations: 25.94 kB / 291.3 MB, free: 13.76 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.345e-05/0.0497, allocations: 28.48 kB / 291.3 MB, free: 13.73 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.0497, allocations: 0 / 291.3 MB, free: 13.73 MB / 282.7 MB Notification: Performance of Templates: time 0.009223/0.05892, allocations: 3.913 MB / 295.2 MB, free: 9.871 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.707986527937464]