Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009253/0.0009253, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 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.0008933/0.0008933, allocations: 156.5 kB / 25.44 MB, free: 8.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8812/0.8812, allocations: 158.6 MB / 187.2 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 3.938 kB / 299.7 MB, free: 6.926 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.49e-05/1.623e-05, allocations: 6.281 kB / 299.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.002462/0.002478, allocations: 2.52 MB / 302.2 MB, free: 4.379 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008109/0.003289, allocations: 0.7137 MB / 302.9 MB, free: 3.656 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.099e-05/0.00338, allocations: 4 kB / 302.9 MB, free: 3.652 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.00349, allocations: 39.64 kB / 303 MB, free: 3.613 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.003626, allocations: 87.14 kB / 303.1 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.003882, allocations: 119.7 kB / 303.2 MB, free: 3.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000279/0.004161, allocations: 390.3 kB / 303.6 MB, free: 3.027 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.004289, allocations: 60.77 kB / 303.6 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.004496, allocations: 215.6 kB / 303.8 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.004627, allocations: 131.6 kB / 304 MB, free: 2.633 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.681e-05/0.004664, allocations: 32 kB / 304 MB, free: 2.602 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.994e-05/0.004694, allocations: 32 kB / 304 MB, free: 2.57 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.004742, allocations: 75.72 kB / 304.1 MB, free: 2.496 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.865e-05/0.00482, allocations: 107.7 kB / 304.2 MB, free: 2.391 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.005102, allocations: 382.8 kB / 304.6 MB, free: 2.016 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.005105, allocations: 8 kB / 304.6 MB, free: 2.008 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.005106, allocations: 0 / 304.6 MB, free: 2.008 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.00511, allocations: 0 / 304.6 MB, free: 2.008 MB / 282.7 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.0008774/0.005988, allocations: 0.6009 MB / 305.2 MB, free: 1.371 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.00602, allocations: 11.98 kB / 305.2 MB, free: 1.359 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/0.006073, allocations: 36.69 kB / 305.2 MB, free: 1.324 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.00631, allocations: 218.3 kB / 305.4 MB, free: 1.082 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.006327, allocations: 12.88 kB / 305.5 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.352e-05/0.006361, allocations: 20.38 kB / 305.5 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004406/0.006802, allocations: 336.9 kB / 305.8 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.006811, allocations: 192 / 305.8 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.006833, allocations: 8.359 kB / 305.8 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.006839, allocations: 7.938 kB / 305.8 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004777/0.007317, allocations: 297.7 kB / 306.1 MB, free: 408 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009982/0.008315, allocations: 0.8248 MB / 306.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.009607, allocations: 482.2 kB / 307.4 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003906/0.009997, allocations: 196.7 kB / 307.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.01002, allocations: 4 kB / 307.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003786/0.0104, allocations: 255.4 kB / 307.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.733e-06/0.0104, allocations: 0 / 307.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008249/0.01123, allocations: 465.6 kB / 308.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.01128, allocations: 110.8 kB / 308.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.01143, allocations: 237.8 kB / 308.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.01145, allocations: 29.7 kB / 308.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.865e-05/0.01153, allocations: 156.5 kB / 308.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.01157, allocations: 71.33 kB / 308.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-05/0.01164, allocations: 49.92 kB / 309 MB, free: 13.42 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.778e-05/0.01173, allocations: 334.8 kB / 309.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.01199, allocations: 170.1 kB / 309.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.01225, allocations: 223.7 kB / 309.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000453/0.0127, allocations: 320 kB / 310 MB, free: 12.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.0127, allocations: 0 / 310 MB, free: 12.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005699/0.01327, allocations: 436.5 kB / 310.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.0133, allocations: 37.7 kB / 310.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.01331, allocations: 4 kB / 310.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.01332, allocations: 4.062 kB / 310.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007245/0.01405, allocations: 235.6 kB / 310.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00249/0.01654, allocations: 3.143 MB / 313.8 MB, free: 8.266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.0167, allocations: 56.03 kB / 313.9 MB, free: 8.211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.01672, allocations: 15.98 kB / 313.9 MB, free: 8.195 MB / 298.7 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.0001138/0.01683, allocations: 129.8 kB / 314 MB, free: 8.059 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.01686, allocations: 31.8 kB / 314 MB, free: 8.027 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.404e-05/0.0169, allocations: 30.11 kB / 314.1 MB, free: 8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.0169, allocations: 3.938 kB / 314.1 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.0169, allocations: 0 / 314.1 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.01691, allocations: 4 kB / 314.1 MB, free: 7.992 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009334/0.01784, allocations: 0.7876 MB / 314.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01784, allocations: 3.938 kB / 314.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006878/0.01853, allocations: 235.6 kB / 315.1 MB, free: 6.926 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01853, allocations: 4 kB / 315.1 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.01855, allocations: 12 kB / 315.1 MB, free: 6.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002354/0.0209, allocations: 3.14 MB / 318.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.02091, allocations: 3.938 kB / 318.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007592/0.02167, allocations: 0.5982 MB / 318.9 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.214e-05/0.02169, allocations: 23.88 kB / 318.9 MB, free: 2.922 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.02172, allocations: 8 kB / 318.9 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.02187, allocations: 35.95 kB / 318.9 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.552e-05/0.02194, allocations: 27.95 kB / 319 MB, free: 2.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.02195, allocations: 8 kB / 319 MB, free: 2.844 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.146e-05/0.02204, allocations: 169.3 kB / 319.1 MB, free: 2.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02204, allocations: 3.938 kB / 319.1 MB, free: 2.676 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002812/0.02232, allocations: 87.84 kB / 319.2 MB, free: 2.59 MB / 298.7 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 9.217e-05/0.02242, allocations: 99.25 kB / 319.3 MB, free: 2.484 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.02354, allocations: 0.5513 MB / 319.9 MB, free: 1.914 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.02354, allocations: 8.062 kB / 319.9 MB, free: 1.906 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009416/0.02448, allocations: 340.6 kB / 320.2 MB, free: 1.574 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.02474, allocations: 44.41 kB / 320.3 MB, free: 1.531 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009623/0.02571, allocations: 0.6548 MB / 320.9 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.4e-05/0.02579, allocations: 138.2 kB / 321 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/0.02586, allocations: 24.5 kB / 321.1 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02586, allocations: 4 kB / 321.1 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of Templates: time 0.00489/0.03075, allocations: 5.498 MB / 326.6 MB, free: 11.15 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.517544934526086]