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.001687/0.001687, allocations: 81.81 kB / 20.68 MB, free: 1.035 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.002067/0.002067, allocations: 149.7 kB / 23.94 MB, free: 4.176 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.411/1.411, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.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 2.194e-06/2.194e-06, allocations: 0 / 318.9 MB, free: 3.574 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.844e-05, allocations: 3.125 kB / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003216/0.003245, allocations: 2.56 MB / 321.5 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.004594, allocations: 0.6761 MB / 322.2 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.004744, allocations: 2.344 kB / 322.2 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.004891, allocations: 43.94 kB / 322.2 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.005088, allocations: 90.12 kB / 322.3 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/0.005453, allocations: 110.5 kB / 322.4 MB, free: 1.215 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004002/0.005853, allocations: 392 kB / 322.8 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.006022, allocations: 56.17 kB / 322.8 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003379/0.00636, allocations: 217.7 kB / 323.1 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.006598, allocations: 130.4 kB / 323.2 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.04e-05/0.006668, allocations: 33.38 kB / 323.2 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.992e-05/0.006738, allocations: 32.84 kB / 323.2 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.794e-05/0.006826, allocations: 73.92 kB / 323.3 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.006995, allocations: 108 kB / 323.4 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004998/0.007494, allocations: 392.2 kB / 323.8 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.007499, allocations: 5.469 kB / 323.8 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.007501, allocations: 0 / 323.8 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.007513, allocations: 0.7031 kB / 323.8 MB, free: 0.5859 MB / 286.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.001515/0.009028, allocations: 0.5954 MB / 324.4 MB, free: 160 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.00907, allocations: 10.09 kB / 324.4 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.212e-05/0.009152, allocations: 40.53 kB / 324.5 MB, free: 136 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004243/0.009576, allocations: 214.7 kB / 324.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.009606, allocations: 17.12 kB / 324.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.823e-05/0.009665, allocations: 26.78 kB / 324.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008542/0.01052, allocations: 334.6 kB / 325 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.01053, allocations: 4.172 kB / 325 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.619e-05/0.01057, allocations: 7.125 kB / 325 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.01058, allocations: 12.06 kB / 325.1 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.01159, allocations: 290.5 kB / 325.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/0.01345, allocations: 0.8117 MB / 326.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003681/0.01713, allocations: 488.8 kB / 326.6 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007326/0.01786, allocations: 196.2 kB / 326.8 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.01789, allocations: 3.391 kB / 326.8 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007426/0.01863, allocations: 252.1 kB / 327.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.974e-06/0.01864, allocations: 5.031 kB / 327.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.00173/0.02037, allocations: 467.3 kB / 327.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.426e-05/0.02046, allocations: 111.6 kB / 327.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.02077, allocations: 228.1 kB / 327.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.02081, allocations: 35.92 kB / 327.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.02097, allocations: 167.4 kB / 328.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.138e-05/0.02105, allocations: 69.88 kB / 328.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.02118, allocations: 47.94 kB / 328.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.02136, allocations: 331.9 kB / 328.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006002/0.02196, allocations: 169.3 kB / 328.7 MB, free: 13.72 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005916/0.02256, allocations: 232.6 kB / 328.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.02359, allocations: 314.6 kB / 329.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.02359, allocations: 0 / 329.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001279/0.02487, allocations: 428.3 kB / 329.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.02492, allocations: 41.78 kB / 329.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.02492, allocations: 1.031 kB / 329.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.02494, allocations: 2.031 kB / 329.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/0.0268, allocations: 232.2 kB / 329.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005548/0.03235, allocations: 3.148 MB / 333 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005605/0.03291, allocations: 53.78 kB / 333.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-05/0.03298, allocations: 9.719 kB / 333.1 MB, free: 10.3 MB / 302.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.0003026/0.03328, allocations: 143.4 kB / 333.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-05/0.03337, allocations: 22.42 kB / 333.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.794e-05/0.03345, allocations: 27.91 kB / 333.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.03346, allocations: 6.219 kB / 333.3 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.03346, allocations: 1.062 kB / 333.3 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.03347, allocations: 7.922 kB / 333.3 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/0.03561, allocations: 0.7882 MB / 334.1 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.03561, allocations: 4.906 kB / 334.1 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/0.03739, allocations: 235 kB / 334.3 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.0374, allocations: 2.156 kB / 334.3 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.03743, allocations: 6.25 kB / 334.3 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005307/0.04274, allocations: 3.157 MB / 337.5 MB, free: 6.445 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.04275, allocations: 4.969 kB / 337.5 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.04467, allocations: 0.6004 MB / 338.1 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.04479, allocations: 22.73 kB / 338.1 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.872e-05/0.04484, allocations: 6.312 kB / 338.1 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003874/0.04523, allocations: 43.06 kB / 338.2 MB, free: 6.031 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.04537, allocations: 27.03 kB / 338.2 MB, free: 6.016 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/0.0454, allocations: 12.11 kB / 338.2 MB, free: 6.008 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002106/0.04561, allocations: 166.6 kB / 338.4 MB, free: 5.891 MB / 302.1 MB Notification: Performance of sort global known variables: time 6e-08/0.04561, allocations: 0 / 338.4 MB, free: 5.891 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006011/0.04621, allocations: 81.89 kB / 338.5 MB, free: 5.875 MB / 302.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.0002003/0.04641, allocations: 105.1 kB / 338.6 MB, free: 5.777 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002807/0.04922, allocations: 0.5661 MB / 339.1 MB, free: 5.477 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.04922, allocations: 0 / 339.1 MB, free: 5.477 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002064/0.05128, allocations: 347.2 kB / 339.5 MB, free: 5.336 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004729/0.05176, allocations: 27.73 kB / 339.5 MB, free: 5.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.05368, allocations: 0.6247 MB / 340.1 MB, free: 4.883 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/0.05384, allocations: 140.2 kB / 340.2 MB, free: 4.777 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001512/0.05399, allocations: 25 kB / 340.3 MB, free: 4.762 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.528e-05/0.05408, allocations: 20.34 kB / 340.3 MB, free: 4.754 MB / 302.1 MB Notification: Performance of SimCode: time 1.032e-06/0.05408, allocations: 0 / 340.3 MB, free: 4.754 MB / 302.1 MB Notification: Performance of Templates: time 0.009556/0.06364, allocations: 3.888 MB / 344.2 MB, free: 1.66 MB / 302.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.489668786525726]