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.001916/0.001916, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 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.002126/0.002126, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 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.414/1.414, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 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 0.001534/0.001534, allocations: 51.92 kB / 368.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3022, allocations: 52.14 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004734/0.3069, allocations: 2.76 MB / 423.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.3083, allocations: 0.705 MB / 424.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.3084, allocations: 0 / 424.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.3086, allocations: 47.56 kB / 424.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.3089, allocations: 87.2 kB / 424.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003838/0.3092, allocations: 107.8 kB / 424.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004456/0.3097, allocations: 378.5 kB / 424.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.3099, allocations: 56.72 kB / 425 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002557/0.3101, allocations: 159.3 kB / 425.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002618/0.3104, allocations: 171.3 kB / 425.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.175e-05/0.3105, allocations: 32 kB / 425.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.812e-05/0.3105, allocations: 36 kB / 425.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.396e-05/0.3106, allocations: 63.81 kB / 425.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.3108, allocations: 159.2 kB / 425.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005058/0.3113, allocations: 359.9 kB / 426 MB, free: 10.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3113, allocations: 4 kB / 426 MB, free: 10.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3113, allocations: 3.938 kB / 426 MB, free: 10.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.3113, allocations: 0 / 426 MB, free: 10.02 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.001756/0.3131, allocations: 0.6801 MB / 426.6 MB, free: 9.281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.3131, allocations: 11.89 kB / 426.7 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.128e-05/0.3132, allocations: 32.75 kB / 426.7 MB, free: 9.238 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.3136, allocations: 265 kB / 426.9 MB, free: 8.938 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.3137, allocations: 16.81 kB / 427 MB, free: 8.922 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.658e-05/0.3137, allocations: 28.33 kB / 427 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007711/0.3145, allocations: 314 kB / 427.3 MB, free: 8.574 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.3145, allocations: 4 kB / 427.3 MB, free: 8.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.3145, allocations: 11.98 kB / 427.3 MB, free: 8.559 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.3145, allocations: 4 kB / 427.3 MB, free: 8.555 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.3155, allocations: 289.5 kB / 427.6 MB, free: 8.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.3174, allocations: 0.9649 MB / 428.6 MB, free: 7.238 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00306/0.3205, allocations: 494.1 kB / 429 MB, free: 6.746 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006592/0.3211, allocations: 188.7 kB / 429.2 MB, free: 6.559 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.904e-05/0.3212, allocations: 15.92 kB / 429.2 MB, free: 6.543 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006663/0.3218, allocations: 237.7 kB / 429.5 MB, free: 6.289 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 2.024e-06/0.3218, allocations: 0 / 429.5 MB, free: 6.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001561/0.3234, allocations: 461.6 kB / 429.9 MB, free: 5.832 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.3235, allocations: 110.8 kB / 430 MB, free: 5.699 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.3238, allocations: 229 kB / 430.3 MB, free: 5.469 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.3238, allocations: 29.7 kB / 430.3 MB, free: 5.434 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.3239, allocations: 160.3 kB / 430.4 MB, free: 5.273 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.734e-05/0.324, allocations: 79.3 kB / 430.5 MB, free: 5.195 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.3241, allocations: 49.89 kB / 430.6 MB, free: 5.137 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002238/0.3244, allocations: 338.8 kB / 430.9 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004838/0.3248, allocations: 136.4 kB / 431 MB, free: 4.664 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004803/0.3253, allocations: 177.7 kB / 431.2 MB, free: 4.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008871/0.3262, allocations: 316.1 kB / 431.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3262, allocations: 3.938 kB / 431.5 MB, free: 4.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001062/0.3273, allocations: 398.9 kB / 431.9 MB, free: 3.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.444e-05/0.3273, allocations: 45.23 kB / 432 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3273, allocations: 0 / 432 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.3274, allocations: 3.938 kB / 432 MB, free: 3.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001799/0.3292, allocations: 235.8 kB / 432.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005098/0.3343, allocations: 3.4 MB / 435.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004152/0.3347, allocations: 56 kB / 435.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.3347, allocations: 7.984 kB / 435.7 MB, free: 15.73 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.0001866/0.3349, allocations: 149.7 kB / 435.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/0.3349, allocations: 23.86 kB / 435.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.64e-05/0.335, allocations: 30.17 kB / 435.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.335, allocations: 4 kB / 435.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.335, allocations: 0 / 435.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.335, allocations: 4 kB / 435.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.3368, allocations: 0.888 MB / 436.7 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.3368, allocations: 4 kB / 436.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001807/0.3386, allocations: 235.7 kB / 437 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.3386, allocations: 3.938 kB / 437 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/0.3387, allocations: 8 kB / 437 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005106/0.3438, allocations: 3.416 MB / 440.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3438, allocations: 4.156 kB / 440.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.3453, allocations: 0.5885 MB / 441 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.55e-05/0.3454, allocations: 108.9 kB / 441.1 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-05/0.3455, allocations: 3.938 kB / 441.1 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003683/0.3458, allocations: 44.02 kB / 441.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.091e-05/0.3459, allocations: 27.97 kB / 441.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.346, allocations: 7.984 kB / 441.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001811/0.3461, allocations: 172.5 kB / 441.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3461, allocations: 0 / 441.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000494/0.3466, allocations: 79.89 kB / 441.4 MB, free: 9.566 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.0002109/0.3468, allocations: 115.1 kB / 441.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002708/0.3496, allocations: 0.5301 MB / 442.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3496, allocations: 4 kB / 442.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002126/0.3517, allocations: 347.8 kB / 442.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.3522, allocations: 40.3 kB / 442.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.354, allocations: 0.6956 MB / 443.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.3544, allocations: 0.7519 MB / 443.9 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.3545, allocations: 17.95 kB / 443.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.169e-05/0.3546, allocations: 23.44 kB / 444 MB, free: 6.969 MB / 350.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3546, allocations: 7.938 kB / 444 MB, free: 6.961 MB / 350.1 MB Notification: Performance of Templates: time 0.008887/0.3635, allocations: 3.897 MB / 447.9 MB, free: 3.094 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 480] 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.770977593027055]