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.001941/0.001941, allocations: 103.6 kB / 20.43 MB, free: 1.211 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.00243/0.00243, allocations: 185.5 kB / 23.71 MB, free: 4.434 MB / 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.475/1.475, allocations: 225.7 MB / 252.5 MB, free: 12.85 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.002536/0.002536, allocations: 47.92 kB / 370.9 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2916, allocations: 52.18 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004014/0.2956, allocations: 2.566 MB / 425.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.297, allocations: 0.6661 MB / 426.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.2971, allocations: 4 kB / 426.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.2973, allocations: 39.56 kB / 426.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001901/0.2974, allocations: 95.2 kB / 426.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.2978, allocations: 103.8 kB / 426.5 MB, free: 11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004382/0.2982, allocations: 378.5 kB / 426.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.2984, allocations: 59.42 kB / 427 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002482/0.2986, allocations: 147.5 kB / 427.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.2989, allocations: 155.3 kB / 427.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.246e-05/0.299, allocations: 36 kB / 427.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.222e-05/0.299, allocations: 32 kB / 427.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.2992, allocations: 75.75 kB / 427.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.2993, allocations: 127.4 kB / 427.5 MB, free: 10 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004335/0.2997, allocations: 370.3 kB / 427.9 MB, free: 9.645 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2997, allocations: 0 / 427.9 MB, free: 9.645 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2997, allocations: 0 / 427.9 MB, free: 9.645 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.2998, allocations: 0 / 427.9 MB, free: 9.645 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.001633/0.3014, allocations: 0.6087 MB / 428.5 MB, free: 9 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3014, allocations: 8.031 kB / 428.5 MB, free: 8.992 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.308e-05/0.3015, allocations: 32.75 kB / 428.5 MB, free: 8.961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003991/0.3019, allocations: 214.9 kB / 428.7 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.3019, allocations: 12.81 kB / 428.8 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.611e-05/0.302, allocations: 28.33 kB / 428.8 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008023/0.3028, allocations: 335.7 kB / 429.1 MB, free: 8.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.3028, allocations: 4 kB / 429.1 MB, free: 8.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.373e-05/0.3028, allocations: 8 kB / 429.1 MB, free: 8.324 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.3029, allocations: 8 kB / 429.1 MB, free: 8.316 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009698/0.3038, allocations: 289.5 kB / 429.4 MB, free: 8.031 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.3057, allocations: 0.8203 MB / 430.2 MB, free: 7.164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002829/0.3086, allocations: 484.3 kB / 430.7 MB, free: 6.684 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006216/0.3092, allocations: 192.7 kB / 430.9 MB, free: 6.492 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.3092, allocations: 7.984 kB / 430.9 MB, free: 6.484 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006627/0.3099, allocations: 266.4 kB / 431.2 MB, free: 6.199 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 2.194e-06/0.3099, allocations: 0 / 431.2 MB, free: 6.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001559/0.3114, allocations: 468.2 kB / 431.6 MB, free: 5.738 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.25e-05/0.3115, allocations: 114.7 kB / 431.7 MB, free: 5.602 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.3118, allocations: 224.9 kB / 432 MB, free: 5.371 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/0.3118, allocations: 37.69 kB / 432 MB, free: 5.328 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.312, allocations: 160.3 kB / 432.1 MB, free: 5.168 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.029e-05/0.312, allocations: 75.38 kB / 432.2 MB, free: 5.094 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.3121, allocations: 45.94 kB / 432.3 MB, free: 5.039 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3123, allocations: 334.8 kB / 432.6 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004936/0.3128, allocations: 170.1 kB / 432.8 MB, free: 4.531 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005105/0.3133, allocations: 228.8 kB / 433 MB, free: 4.285 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009001/0.3142, allocations: 308.1 kB / 433.3 MB, free: 3.969 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.3142, allocations: 4 kB / 433.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001144/0.3154, allocations: 436.6 kB / 433.7 MB, free: 3.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.316e-05/0.3154, allocations: 33.7 kB / 433.7 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.3154, allocations: 7.922 kB / 433.8 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3154, allocations: 0 / 433.8 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/0.3172, allocations: 243.7 kB / 434 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004854/0.3221, allocations: 3.133 MB / 437.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004237/0.3225, allocations: 56.09 kB / 437.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.3225, allocations: 7.984 kB / 437.2 MB, free: 15.84 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.0002031/0.3227, allocations: 141.8 kB / 437.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/0.3228, allocations: 23.8 kB / 437.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.363e-05/0.3228, allocations: 34.11 kB / 437.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3228, allocations: 0 / 437.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3229, allocations: 4 kB / 437.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3229, allocations: 4 kB / 437.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.3247, allocations: 0.7914 MB / 438.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3247, allocations: 0 / 438.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001703/0.3264, allocations: 235.8 kB / 438.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3264, allocations: 0 / 438.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.3264, allocations: 7.984 kB / 438.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004731/0.3311, allocations: 3.159 MB / 441.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3311, allocations: 0 / 441.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.3327, allocations: 0.5984 MB / 442.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-05/0.3328, allocations: 27.81 kB / 442.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.478e-05/0.3328, allocations: 8 kB / 442.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003584/0.3332, allocations: 40.02 kB / 442.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.132e-05/0.3333, allocations: 27.95 kB / 442.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.3333, allocations: 8 kB / 442.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000162/0.3334, allocations: 164.5 kB / 442.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3334, allocations: 0 / 442.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004872/0.3339, allocations: 83.89 kB / 442.5 MB, free: 10.23 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.0001578/0.3341, allocations: 111.1 kB / 442.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002548/0.3366, allocations: 0.5552 MB / 443.2 MB, free: 9.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3366, allocations: 0 / 443.2 MB, free: 9.531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001959/0.3386, allocations: 351.2 kB / 443.5 MB, free: 9.191 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.339, allocations: 44.28 kB / 443.6 MB, free: 9.145 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.3408, allocations: 0.6891 MB / 444.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.341, allocations: 142.2 kB / 444.4 MB, free: 8.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001304/0.3411, allocations: 17.95 kB / 444.4 MB, free: 8.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.096e-05/0.3412, allocations: 23.42 kB / 444.4 MB, free: 8.23 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3412, allocations: 0 / 444.4 MB, free: 8.23 MB / 350.1 MB Notification: Performance of Templates: time 0.008774/0.3499, allocations: 4.181 MB / 448.6 MB, free: 4.109 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.858814608305693]