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.001024/0.001024, allocations: 84.3 kB / 22.21 MB, free: 2.289 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.001103/0.001103, allocations: 165.2 kB / 25.6 MB, free: 8.898 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 1.097/1.097, allocations: 158.6 MB / 187.5 MB, free: 2.82 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 2.995e-06/2.995e-06, allocations: 0 / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.335e-05/4.635e-05, allocations: 10.25 kB / 251.5 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.005404/0.00545, allocations: 2.661 MB / 254.1 MB, free: 4.551 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.007284, allocations: 0.7253 MB / 254.9 MB, free: 3.812 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00022/0.007504, allocations: 7.938 kB / 254.9 MB, free: 3.805 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.007707, allocations: 35.64 kB / 254.9 MB, free: 3.77 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002259/0.007933, allocations: 95.14 kB / 255 MB, free: 3.676 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004397/0.008373, allocations: 111.7 kB / 255.1 MB, free: 3.566 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004844/0.008857, allocations: 386.4 kB / 255.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.009067, allocations: 56.77 kB / 255.5 MB, free: 3.129 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004604/0.009528, allocations: 223.5 kB / 255.8 MB, free: 2.91 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.009714, allocations: 131.6 kB / 255.9 MB, free: 2.781 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.963e-05/0.009774, allocations: 32 kB / 255.9 MB, free: 2.75 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.304e-05/0.009817, allocations: 32 kB / 256 MB, free: 2.719 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.879e-05/0.009876, allocations: 67.75 kB / 256 MB, free: 2.652 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.532e-05/0.009971, allocations: 107.7 kB / 256.1 MB, free: 2.547 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.01027, allocations: 255.1 kB / 256.4 MB, free: 2.297 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.01027, allocations: 3.938 kB / 256.4 MB, free: 2.293 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.01028, allocations: 0 / 256.4 MB, free: 2.293 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.01029, allocations: 0 / 256.4 MB, free: 2.293 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.001054/0.01134, allocations: 0.6657 MB / 257 MB, free: 1.586 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.0114, allocations: 19.97 kB / 257.1 MB, free: 1.566 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.512e-05/0.01148, allocations: 48.75 kB / 257.1 MB, free: 1.52 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.01179, allocations: 213.2 kB / 257.3 MB, free: 1.281 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.01182, allocations: 12.88 kB / 257.3 MB, free: 1.266 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/0.01187, allocations: 20.38 kB / 257.4 MB, free: 1.246 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004206/0.01229, allocations: 263.3 kB / 257.6 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.0123, allocations: 192 / 257.6 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.01232, allocations: 4.375 kB / 257.6 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.01233, allocations: 11.94 kB / 257.6 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.01247, allocations: 71.38 kB / 257.7 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.01398, allocations: 0.8272 MB / 258.5 MB, free: 12 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007779/0.01476, allocations: 238.8 kB / 258.8 MB, free: 15.77 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.01494, allocations: 91.62 kB / 258.8 MB, free: 15.67 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.01498, allocations: 4 kB / 258.9 MB, free: 15.67 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002446/0.01522, allocations: 174 kB / 259 MB, free: 15.46 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 2.395e-06/0.01522, allocations: 0 / 259 MB, free: 15.46 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003877/0.01561, allocations: 193.4 kB / 259.2 MB, free: 15.27 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.01567, allocations: 106.8 kB / 259.3 MB, free: 15.14 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.01584, allocations: 272.1 kB / 259.6 MB, free: 14.86 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.01587, allocations: 33.64 kB / 259.6 MB, free: 14.82 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.01598, allocations: 211.1 kB / 259.8 MB, free: 14.61 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.102e-05/0.01603, allocations: 75.36 kB / 259.9 MB, free: 14.53 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.972e-05/0.01611, allocations: 47.58 kB / 259.9 MB, free: 14.48 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.01627, allocations: 0.504 MB / 260.4 MB, free: 13.96 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-05/0.01635, allocations: 70.27 kB / 260.5 MB, free: 13.89 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.01646, allocations: 131 kB / 260.6 MB, free: 13.73 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.01662, allocations: 140.5 kB / 260.8 MB, free: 13.57 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01662, allocations: 0 / 260.8 MB, free: 13.57 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002747/0.01689, allocations: 240.7 kB / 261 MB, free: 13.32 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.271e-05/0.01694, allocations: 45.78 kB / 261.1 MB, free: 13.27 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.01694, allocations: 0 / 261.1 MB, free: 13.27 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.01696, allocations: 0 / 261.1 MB, free: 13.27 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005624/0.01752, allocations: 143.8 kB / 261.2 MB, free: 13.13 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002524/0.02004, allocations: 3.896 MB / 265.1 MB, free: 9.02 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.02021, allocations: 39.88 kB / 265.1 MB, free: 8.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.02023, allocations: 15.86 kB / 265.1 MB, free: 8.965 MB / 250.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.0001297/0.02036, allocations: 168.6 kB / 265.3 MB, free: 8.789 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.0204, allocations: 27.86 kB / 265.3 MB, free: 8.762 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00039/0.02079, allocations: 34.2 kB / 265.4 MB, free: 8.723 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.0208, allocations: 4 kB / 265.4 MB, free: 8.719 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.0208, allocations: 0 / 265.4 MB, free: 8.719 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.0208, allocations: 0 / 265.4 MB, free: 8.719 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007275/0.02153, allocations: 0.6563 MB / 266 MB, free: 8.02 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.02153, allocations: 0 / 266 MB, free: 8.02 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005163/0.02205, allocations: 139.9 kB / 266.2 MB, free: 7.883 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.02205, allocations: 0 / 266.2 MB, free: 7.883 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.02208, allocations: 4 kB / 266.2 MB, free: 7.879 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/0.02422, allocations: 3.908 MB / 270.1 MB, free: 3.754 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.02422, allocations: 3.938 kB / 270.1 MB, free: 3.75 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003775/0.0246, allocations: 371.8 kB / 270.4 MB, free: 3.359 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.093e-05/0.02463, allocations: 31.78 kB / 270.5 MB, free: 3.328 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.02465, allocations: 8 kB / 270.5 MB, free: 3.32 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.02479, allocations: 23.98 kB / 270.5 MB, free: 3.297 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.105e-05/0.02487, allocations: 31.94 kB / 270.5 MB, free: 3.266 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.02489, allocations: 15.94 kB / 270.6 MB, free: 3.25 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001129/0.025, allocations: 185.1 kB / 270.7 MB, free: 3.066 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.025, allocations: 0 / 270.7 MB, free: 3.066 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003633/0.02536, allocations: 75.89 kB / 270.8 MB, free: 2.992 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 0.0001522/0.02552, allocations: 107.2 kB / 270.9 MB, free: 2.879 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007393/0.02626, allocations: 304.4 kB / 271.2 MB, free: 2.559 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.02626, allocations: 0 / 271.2 MB, free: 2.559 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005065/0.02677, allocations: 163.4 kB / 271.4 MB, free: 2.395 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.02707, allocations: 37.08 kB / 271.4 MB, free: 2.359 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.0284, allocations: 0.5715 MB / 272 MB, free: 1.75 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.637e-05/0.02848, allocations: 84.56 kB / 272.1 MB, free: 1.648 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.503e-05/0.02857, allocations: 25.95 kB / 272.1 MB, free: 1.621 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.02874, allocations: 118.1 kB / 272.2 MB, free: 1.504 MB / 250.7 MB Notification: Performance of SimCode: time 7.41e-07/0.02874, allocations: 0 / 272.2 MB, free: 1.504 MB / 250.7 MB Notification: Performance of Templates: time 0.00735/0.03609, allocations: 4.035 MB / 276.2 MB, free: 13.5 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.09868042729795]