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.001475/0.001475, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002123/0.003598, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001163/0.001163, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001731/0.002894, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 1.04/1.04, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2149/1.255, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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.933e-06/1.933e-06, allocations: 0 / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.998e-05/2.191e-05, allocations: 2.312 kB / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.00375/0.003772, allocations: 2.721 MB / 224.7 MB, free: 13.31 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008052/0.004577, allocations: 0.7563 MB / 225.5 MB, free: 12.54 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.615e-05/0.004663, allocations: 3.938 kB / 225.5 MB, free: 12.54 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.923e-05/0.004732, allocations: 39.62 kB / 225.5 MB, free: 12.5 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.004844, allocations: 95.14 kB / 225.6 MB, free: 12.41 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.005023, allocations: 103.7 kB / 225.7 MB, free: 12.3 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.005304, allocations: 390.4 kB / 226.1 MB, free: 11.92 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.005416, allocations: 58.81 kB / 226.1 MB, free: 11.87 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002344/0.005651, allocations: 259.8 kB / 226.4 MB, free: 11.61 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.005792, allocations: 131.7 kB / 226.5 MB, free: 11.48 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.811e-05/0.00583, allocations: 32 kB / 226.6 MB, free: 11.45 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.63e-05/0.005867, allocations: 28 kB / 226.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.103e-05/0.005908, allocations: 51.81 kB / 226.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.639e-05/0.005984, allocations: 91.81 kB / 226.7 MB, free: 11.29 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.006183, allocations: 215.3 kB / 226.9 MB, free: 11.07 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.006191, allocations: 0 / 226.9 MB, free: 11.07 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.006192, allocations: 0 / 226.9 MB, free: 11.07 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.0062, allocations: 3.938 kB / 226.9 MB, free: 11.07 MB / 234.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.000681/0.006881, allocations: 0.5953 MB / 227.5 MB, free: 10.45 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.485e-05/0.006906, allocations: 12.03 kB / 227.6 MB, free: 10.43 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.731e-05/0.006963, allocations: 36.91 kB / 227.6 MB, free: 10.4 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.007129, allocations: 174.5 kB / 227.8 MB, free: 10.2 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.007145, allocations: 16.88 kB / 227.8 MB, free: 10.18 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.007175, allocations: 16.38 kB / 227.8 MB, free: 10.17 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002733/0.007448, allocations: 265.6 kB / 228.1 MB, free: 9.887 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.007455, allocations: 192 / 228.1 MB, free: 9.887 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.007469, allocations: 4.375 kB / 228.1 MB, free: 9.883 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.007476, allocations: 7.938 kB / 228.1 MB, free: 9.875 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.007577, allocations: 63.47 kB / 228.1 MB, free: 9.816 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006697/0.008247, allocations: 0.606 MB / 228.7 MB, free: 9.176 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005742/0.008821, allocations: 218.3 kB / 228.9 MB, free: 8.953 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.008955, allocations: 92.73 kB / 229 MB, free: 8.859 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.008971, allocations: 4 kB / 229 MB, free: 8.855 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/0.009117, allocations: 163.5 kB / 229.2 MB, free: 8.668 MB / 234.7 MB Notification: Performance of pre-optimization done (n=21): time 8.82e-07/0.009117, allocations: 0 / 229.2 MB, free: 8.668 MB / 234.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002089/0.009326, allocations: 153.9 kB / 229.3 MB, free: 8.512 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.009359, allocations: 85.11 kB / 229.4 MB, free: 8.41 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.009463, allocations: 213 kB / 229.6 MB, free: 8.191 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.009482, allocations: 25.7 kB / 229.7 MB, free: 8.16 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.009535, allocations: 148.9 kB / 229.8 MB, free: 8.012 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.009575, allocations: 71.38 kB / 229.9 MB, free: 7.941 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.843e-05/0.009634, allocations: 53.84 kB / 229.9 MB, free: 7.883 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.366e-05/0.009707, allocations: 342.7 kB / 230.3 MB, free: 7.539 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.528e-05/0.009763, allocations: 58.16 kB / 230.3 MB, free: 7.477 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.407e-05/0.009837, allocations: 127.7 kB / 230.4 MB, free: 7.328 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.009955, allocations: 128.1 kB / 230.6 MB, free: 7.188 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.009958, allocations: 3.984 kB / 230.6 MB, free: 7.184 MB / 234.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004158/0.01037, allocations: 192.9 kB / 230.8 MB, free: 6.977 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.0104, allocations: 33.7 kB / 230.8 MB, free: 6.938 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.0104, allocations: 96 / 230.8 MB, free: 6.938 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.126e-06/0.01041, allocations: 8 kB / 230.8 MB, free: 6.93 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005168/0.01093, allocations: 155.8 kB / 231 MB, free: 6.777 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.0123, allocations: 2.643 MB / 233.6 MB, free: 3.965 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.01242, allocations: 43.77 kB / 233.6 MB, free: 3.922 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.01243, allocations: 7.984 kB / 233.7 MB, free: 3.914 MB / 234.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 7.818e-05/0.01251, allocations: 121.8 kB / 233.8 MB, free: 3.785 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.01254, allocations: 19.98 kB / 233.8 MB, free: 3.766 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.01256, allocations: 30.17 kB / 233.8 MB, free: 3.734 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.01257, allocations: 8 kB / 233.8 MB, free: 3.727 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.32e-07/0.01257, allocations: 0 / 233.8 MB, free: 3.727 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.01257, allocations: 3.938 kB / 233.8 MB, free: 3.723 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004348/0.01301, allocations: 479.3 kB / 234.3 MB, free: 3.223 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.01301, allocations: 4 kB / 234.3 MB, free: 3.219 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004727/0.01348, allocations: 147.8 kB / 234.4 MB, free: 3.074 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.0135, allocations: 23.78 kB / 234.5 MB, free: 3.051 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.01351, allocations: 7.938 kB / 234.5 MB, free: 3.043 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.01352, allocations: 4 kB / 234.5 MB, free: 3.039 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/0.01484, allocations: 2.643 MB / 237.1 MB, free: 236 kB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01484, allocations: 7.938 kB / 237.1 MB, free: 228 kB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.01507, allocations: 269.1 kB / 237.4 MB, free: 15.94 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.01509, allocations: 4 kB / 237.4 MB, free: 15.93 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.01521, allocations: 23.97 kB / 237.4 MB, free: 15.91 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.01525, allocations: 32.05 kB / 237.5 MB, free: 15.88 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.01526, allocations: 4 kB / 237.5 MB, free: 15.88 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.49e-05/0.01531, allocations: 70.73 kB / 237.5 MB, free: 15.8 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01531, allocations: 0 / 237.5 MB, free: 15.8 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002285/0.01554, allocations: 79.89 kB / 237.6 MB, free: 15.73 MB / 250.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 7.281e-05/0.01561, allocations: 92.34 kB / 237.7 MB, free: 15.62 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008382/0.01645, allocations: 295.4 kB / 238 MB, free: 15.31 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/0.01646, allocations: 4 kB / 238 MB, free: 15.3 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004655/0.01692, allocations: 187.5 kB / 238.2 MB, free: 15.11 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.01719, allocations: 342.2 kB / 238.5 MB, free: 14.72 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.01916, allocations: 0.549 MB / 239.1 MB, free: 14.14 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.881e-05/0.01921, allocations: 84.58 kB / 239.1 MB, free: 14.04 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.866e-05/0.01928, allocations: 25.94 kB / 239.2 MB, free: 14.02 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.01939, allocations: 95.34 kB / 239.3 MB, free: 13.92 MB / 250.7 MB Notification: Performance of SimCode: time 5.41e-07/0.0194, allocations: 0 / 239.3 MB, free: 13.92 MB / 250.7 MB Notification: Performance of Templates: time 0.005099/0.02449, allocations: 4.046 MB / 243.3 MB, free: 9.902 MB / 250.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.811443497426808]