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.00129/0.00129, allocations: 118.8 kB / 19.18 MB, free: 3.762 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.001672/0.001672, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.46/1.46, allocations: 230.2 MB / 255.2 MB, free: 15.25 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.001838/0.001838, allocations: 67.88 kB / 374.5 MB, free: 9.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09877/0.1006, allocations: 53.32 MB / 427.9 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004192/0.1048, allocations: 2.779 MB / 430.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1062, allocations: 0.7557 MB / 431.4 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.1063, allocations: 7.938 kB / 431.4 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.1064, allocations: 39.58 kB / 431.4 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.1066, allocations: 87.2 kB / 431.5 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.107, allocations: 123.7 kB / 431.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004641/0.1074, allocations: 382.5 kB / 432 MB, free: 384 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.1076, allocations: 64.69 kB / 432.1 MB, free: 312 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002832/0.1079, allocations: 159.4 kB / 432.2 MB, free: 152 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1852/0.2931, allocations: 167 kB / 432.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001959/0.2933, allocations: 33.62 kB / 432.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.2935, allocations: 35.69 kB / 432.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.2936, allocations: 67.69 kB / 432.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002575/0.2939, allocations: 165.8 kB / 432.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000572/0.2945, allocations: 375.3 kB / 433.1 MB, free: 8.309 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2945, allocations: 0.5 kB / 433.1 MB, free: 8.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2945, allocations: 0.7188 kB / 433.1 MB, free: 8.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.2945, allocations: 0 / 433.1 MB, free: 8.309 MB / 350.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.001578/0.2961, allocations: 0.6886 MB / 433.7 MB, free: 7.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.2961, allocations: 9.031 kB / 433.8 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.2963, allocations: 43.81 kB / 433.8 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.2967, allocations: 273.4 kB / 434.1 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.2967, allocations: 18.39 kB / 434.1 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.674e-05/0.2968, allocations: 22.73 kB / 434.1 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007578/0.2975, allocations: 320.1 kB / 434.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.2975, allocations: 3.938 kB / 434.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.2976, allocations: 3.375 kB / 434.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.2976, allocations: 11.22 kB / 434.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009229/0.2985, allocations: 295.8 kB / 434.7 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.3001, allocations: 0.9654 MB / 435.7 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002889/0.303, allocations: 491.8 kB / 436.2 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006771/0.3037, allocations: 210 kB / 436.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.3037, allocations: 3.125 kB / 436.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006512/0.3043, allocations: 237 kB / 436.6 MB, free: 6.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.743e-06/0.3043, allocations: 0 / 436.6 MB, free: 6.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001637/0.306, allocations: 477.5 kB / 437.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.306, allocations: 106.4 kB / 437.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.3063, allocations: 233.8 kB / 437.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.3063, allocations: 32.75 kB / 437.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.386e-05/0.3064, allocations: 168.7 kB / 437.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.569e-05/0.3064, allocations: 76.28 kB / 437.7 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.3065, allocations: 48.55 kB / 437.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.631e-05/0.3066, allocations: 334.5 kB / 438.1 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000492/0.3071, allocations: 148.2 kB / 438.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005038/0.3076, allocations: 179.8 kB / 438.4 MB, free: 6.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009495/0.3085, allocations: 316.8 kB / 438.7 MB, free: 6.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3086, allocations: 0 / 438.7 MB, free: 6.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001155/0.3097, allocations: 416.4 kB / 439.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.3097, allocations: 38.38 kB / 439.1 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3097, allocations: 1.219 kB / 439.1 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.3098, allocations: 2.938 kB / 439.1 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/0.3115, allocations: 271.4 kB / 439.4 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004197/0.3157, allocations: 3.434 MB / 442.8 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004362/0.3162, allocations: 55.3 kB / 442.9 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.3162, allocations: 10.52 kB / 442.9 MB, free: 2.91 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.000168/0.3164, allocations: 143.4 kB / 443 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.904e-05/0.3164, allocations: 24.12 kB / 443.1 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.609e-05/0.3165, allocations: 33.3 kB / 443.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3165, allocations: 3.188 kB / 443.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3165, allocations: 1.656 kB / 443.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3165, allocations: 5.453 kB / 443.1 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/0.3183, allocations: 0.9007 MB / 444 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3183, allocations: 1.984 kB / 444 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001741/0.32, allocations: 261.7 kB / 444.3 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.32, allocations: 4.562 kB / 444.3 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.3201, allocations: 9.766 kB / 444.3 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004448/0.3245, allocations: 3.454 MB / 447.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3245, allocations: 0 / 447.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.3262, allocations: 0.5966 MB / 448.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.3263, allocations: 105.4 kB / 448.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.3264, allocations: 11.8 kB / 448.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/0.3267, allocations: 41.47 kB / 448.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.3269, allocations: 31.34 kB / 448.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.3269, allocations: 6.578 kB / 448.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002045/0.3271, allocations: 172.5 kB / 448.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3271, allocations: 3.938 kB / 448.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005299/0.3276, allocations: 87.45 kB / 448.8 MB, free: 14.52 MB / 366.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.0001504/0.3278, allocations: 110.5 kB / 448.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002703/0.3305, allocations: 0.5674 MB / 449.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3305, allocations: 1.156 kB / 449.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002016/0.3325, allocations: 370.7 kB / 449.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.3329, allocations: 44.8 kB / 449.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.3348, allocations: 0.7141 MB / 450.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.3352, allocations: 0.752 MB / 451.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.3353, allocations: 25.14 kB / 451.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of SimCode: time 4.8e-07/0.3353, allocations: 1.219 kB / 451.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of Templates: time 0.008405/0.3437, allocations: 5.531 MB / 456.9 MB, free: 11.51 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.730115154990926]