Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001398/0.001398, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.001569/0.001569, allocations: 213.4 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 230.2 MB / 256.2 MB, free: 8.551 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 55.91 kB / 376.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2955, allocations: 53.34 MB / 429.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004395/0.2999, allocations: 2.793 MB / 432.6 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.3016, allocations: 0.7518 MB / 433.4 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002174/0.3018, allocations: 4 kB / 433.4 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002057/0.302, allocations: 39.58 kB / 433.4 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.3022, allocations: 95.19 kB / 433.5 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005406/0.3028, allocations: 115.8 kB / 433.6 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005435/0.3033, allocations: 382.5 kB / 434 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.3036, allocations: 64.69 kB / 434 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003801/0.3039, allocations: 159.5 kB / 434.2 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.3042, allocations: 171.3 kB / 434.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.412e-05/0.3043, allocations: 32 kB / 434.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.667e-05/0.3043, allocations: 36 kB / 434.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.289e-05/0.3044, allocations: 67.81 kB / 434.5 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001991/0.3046, allocations: 159.2 kB / 434.7 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005524/0.3052, allocations: 383.7 kB / 435 MB, free: 2.285 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3052, allocations: 4 kB / 435 MB, free: 2.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3052, allocations: 0 / 435 MB, free: 2.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.3052, allocations: 0 / 435 MB, free: 2.281 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.001835/0.307, allocations: 0.6879 MB / 435.7 MB, free: 1.539 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.3071, allocations: 12.03 kB / 435.7 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.3073, allocations: 40.73 kB / 435.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.3077, allocations: 274.9 kB / 436 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.3077, allocations: 20.81 kB / 436.1 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.076e-05/0.3078, allocations: 20.38 kB / 436.1 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008027/0.3086, allocations: 310 kB / 436.4 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3086, allocations: 0 / 436.4 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.577e-05/0.3086, allocations: 15.94 kB / 436.4 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.3087, allocations: 4 kB / 436.4 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.3097, allocations: 301.5 kB / 436.7 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.3117, allocations: 0.9688 MB / 437.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00318/0.3149, allocations: 498.2 kB / 438.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007085/0.3156, allocations: 204.6 kB / 438.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.238e-05/0.3156, allocations: 4 kB / 438.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006958/0.3163, allocations: 244.7 kB / 438.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.914e-06/0.3163, allocations: 0 / 438.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001686/0.318, allocations: 472.3 kB / 439.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.839e-05/0.3181, allocations: 110.8 kB / 439.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/0.3184, allocations: 241 kB / 439.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.3184, allocations: 29.7 kB / 439.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.3186, allocations: 160.4 kB / 439.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.535e-05/0.3187, allocations: 75.36 kB / 439.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.3188, allocations: 49.94 kB / 439.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.319, allocations: 330.8 kB / 440 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004825/0.3194, allocations: 144.3 kB / 440.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005208/0.32, allocations: 184.2 kB / 440.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009193/0.3209, allocations: 320.1 kB / 440.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3209, allocations: 0 / 440.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001176/0.3221, allocations: 406.9 kB / 441.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.924e-05/0.3221, allocations: 45.7 kB / 441.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3221, allocations: 0 / 441.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.3221, allocations: 4 kB / 441.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/0.3241, allocations: 271.5 kB / 441.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005609/0.3297, allocations: 3.443 MB / 444.8 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004836/0.3302, allocations: 51.83 kB / 444.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.3302, allocations: 12.09 kB / 444.9 MB, free: 7.848 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.0002228/0.3304, allocations: 145.7 kB / 445 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/0.3305, allocations: 31.81 kB / 445.1 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.954e-05/0.3305, allocations: 26.17 kB / 445.1 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3305, allocations: 4 kB / 445.1 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.3305, allocations: 4 kB / 445.1 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.3306, allocations: 7.984 kB / 445.1 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/0.3325, allocations: 0.8934 MB / 446 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3325, allocations: 0 / 446 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001895/0.3344, allocations: 263.7 kB / 446.2 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.3344, allocations: 4 kB / 446.2 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.3344, allocations: 0 / 446.2 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005336/0.3398, allocations: 3.463 MB / 449.7 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.3398, allocations: 4.031 kB / 449.7 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.3414, allocations: 0.5945 MB / 450.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.887e-05/0.3415, allocations: 104.9 kB / 450.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.152e-05/0.3415, allocations: 11.94 kB / 450.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003662/0.3419, allocations: 44 kB / 450.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.516e-05/0.342, allocations: 27.91 kB / 450.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.342, allocations: 11.94 kB / 450.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001842/0.3422, allocations: 172.5 kB / 450.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3422, allocations: 0 / 450.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004944/0.3427, allocations: 83.89 kB / 450.8 MB, free: 1.582 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.0001655/0.3429, allocations: 111.2 kB / 450.9 MB, free: 1.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002833/0.3457, allocations: 0.5653 MB / 451.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3457, allocations: 0 / 451.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002187/0.3479, allocations: 382.1 kB / 451.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.3484, allocations: 43.73 kB / 451.8 MB, free: 484 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.3504, allocations: 0.6979 MB / 452.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004895/0.3509, allocations: 0.7558 MB / 453.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001392/0.351, allocations: 21.95 kB / 453.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.369e-05/0.3511, allocations: 23.38 kB / 453.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3511, allocations: 0 / 453.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of Templates: time 0.009211/0.3603, allocations: 3.946 MB / 457.3 MB, free: 11.01 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.693957827053964]