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.00177/0.00177, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002188/0.002188, allocations: 214.2 kB / 24.48 MB, free: 3.844 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.446/1.446, allocations: 230.6 MB / 258.2 MB, free: 7.816 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+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 0.001742/0.001742, allocations: 47.92 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2601, allocations: 53.37 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004338/0.2644, allocations: 2.595 MB / 434.9 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.2659, allocations: 0.709 MB / 435.6 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.266, allocations: 4 kB / 435.6 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.2662, allocations: 43.56 kB / 435.7 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001878/0.2664, allocations: 87.2 kB / 435.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.2668, allocations: 123.8 kB / 435.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004799/0.2673, allocations: 382.5 kB / 436.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.2674, allocations: 64.53 kB / 436.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003354/0.2678, allocations: 155.5 kB / 436.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.268, allocations: 159.3 kB / 436.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.887e-05/0.2681, allocations: 35.94 kB / 436.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.621e-05/0.2682, allocations: 36 kB / 436.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.608e-05/0.2682, allocations: 71.75 kB / 436.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.2684, allocations: 139.4 kB / 436.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004599/0.2689, allocations: 381.5 kB / 437.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2689, allocations: 0 / 437.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2689, allocations: 0 / 437.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.2689, allocations: 0 / 437.3 MB, free: 1.766 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.001592/0.2705, allocations: 0.6126 MB / 437.9 MB, free: 1.117 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.2705, allocations: 8.031 kB / 437.9 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.2707, allocations: 40.73 kB / 437.9 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004621/0.2711, allocations: 221 kB / 438.2 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.2712, allocations: 20.81 kB / 438.2 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.2713, allocations: 16.38 kB / 438.2 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008123/0.2721, allocations: 335.8 kB / 438.5 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.2721, allocations: 3.938 kB / 438.5 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.246e-05/0.2721, allocations: 16 kB / 438.5 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.2722, allocations: 7.984 kB / 438.6 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009781/0.2731, allocations: 289.5 kB / 438.8 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.2749, allocations: 0.8281 MB / 439.7 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002942/0.2779, allocations: 494.1 kB / 440.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006798/0.2785, allocations: 200.7 kB / 440.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.2786, allocations: 4 kB / 440.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000714/0.2793, allocations: 261.5 kB / 440.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.315e-06/0.2793, allocations: 4 kB / 440.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001681/0.281, allocations: 480.3 kB / 441.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.385e-05/0.281, allocations: 106.8 kB / 441.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.2813, allocations: 233 kB / 441.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/0.2814, allocations: 29.7 kB / 441.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.2815, allocations: 164.4 kB / 441.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.341e-05/0.2816, allocations: 83.3 kB / 441.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.2817, allocations: 41.94 kB / 441.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.2819, allocations: 334.8 kB / 442 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005353/0.2824, allocations: 182 kB / 442.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005833/0.283, allocations: 231.6 kB / 442.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009692/0.284, allocations: 316.1 kB / 442.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.284, allocations: 0 / 442.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001276/0.2852, allocations: 444.6 kB / 443.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.883e-05/0.2853, allocations: 33.7 kB / 443.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.2853, allocations: 7.938 kB / 443.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.2853, allocations: 3.938 kB / 443.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/0.2871, allocations: 267.7 kB / 443.5 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00509/0.2922, allocations: 3.19 MB / 446.7 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004053/0.2926, allocations: 51.83 kB / 446.7 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.2926, allocations: 12 kB / 446.8 MB, free: 7.809 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.0001827/0.2928, allocations: 141.9 kB / 446.9 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.2929, allocations: 27.8 kB / 446.9 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.083e-05/0.2929, allocations: 34.11 kB / 446.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.2929, allocations: 0 / 446.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.2929, allocations: 0 / 446.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.2929, allocations: 4 kB / 447 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.2947, allocations: 0.798 MB / 447.8 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.2947, allocations: 3.984 kB / 447.8 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001679/0.2964, allocations: 263.7 kB / 448 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.2964, allocations: 4 kB / 448 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.2964, allocations: 4 kB / 448 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004818/0.3012, allocations: 3.182 MB / 451.2 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.3012, allocations: 4.031 kB / 451.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.3029, allocations: 0.6133 MB / 451.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.259e-05/0.3029, allocations: 23.84 kB / 451.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.303, allocations: 4 kB / 451.8 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/0.3033, allocations: 44.02 kB / 451.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.48e-05/0.3034, allocations: 35.89 kB / 451.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.3034, allocations: 7.984 kB / 451.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001778/0.3036, allocations: 164.5 kB / 452.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3036, allocations: 0 / 452.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004805/0.3041, allocations: 83.83 kB / 452.2 MB, free: 2.102 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.0001385/0.3042, allocations: 107.2 kB / 452.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002582/0.3068, allocations: 0.5864 MB / 452.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3068, allocations: 0 / 452.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001952/0.3088, allocations: 371.8 kB / 453.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.3092, allocations: 38.02 kB / 453.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.3111, allocations: 0.7337 MB / 454 MB, free: 220 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.3113, allocations: 146.1 kB / 454.1 MB, free: 56 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.3114, allocations: 27.42 kB / 454.2 MB, free: 28 kB / 350.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3114, allocations: 4 kB / 454.2 MB, free: 24 kB / 350.1 MB Notification: Performance of Templates: time 0.008695/0.32, allocations: 5.57 MB / 459.7 MB, free: 10.46 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/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: 7.469493440818042]