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.001091/0.001091, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001552/0.002643, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001021/0.001021, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001327/0.002348, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.963/0.963, allocations: 173.4 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08553/1.049, allocations: 52.49 MB / 238.3 MB, free: 4.434 MB / 234.7 MB " [Timeout remaining time 179] 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 1.683e-06/1.683e-06, allocations: 0 / 239.6 MB, free: 3.172 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/3.066e-05, allocations: 2.875 kB / 239.6 MB, free: 3.168 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.00449/0.004521, allocations: 2.764 MB / 242.3 MB, free: 404 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.005559, allocations: 0.7087 MB / 243 MB, free: 15.68 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.005662, allocations: 0 / 243 MB, free: 15.68 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.813e-05/0.00574, allocations: 39.58 kB / 243.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.005873, allocations: 95.03 kB / 243.2 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.006098, allocations: 115.7 kB / 243.3 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003181/0.006416, allocations: 386.3 kB / 243.7 MB, free: 15.05 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.006537, allocations: 58.84 kB / 243.7 MB, free: 15 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002805/0.006817, allocations: 256 kB / 244 MB, free: 14.75 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.006965, allocations: 131.6 kB / 244.1 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.221e-05/0.007008, allocations: 28 kB / 244.1 MB, free: 14.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.336e-05/0.007041, allocations: 35.94 kB / 244.2 MB, free: 14.55 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.007e-05/0.007081, allocations: 47.88 kB / 244.2 MB, free: 14.51 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.074e-05/0.007162, allocations: 95.8 kB / 244.3 MB, free: 14.41 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.007386, allocations: 211.3 kB / 244.5 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.402e-05/0.0074, allocations: 0 / 244.5 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.007401, allocations: 0 / 244.5 MB, free: 14.21 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.007417, allocations: 0 / 244.5 MB, free: 14.21 MB / 250.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.0008187/0.008236, allocations: 0.6031 MB / 245.1 MB, free: 13.57 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.008266, allocations: 8.031 kB / 245.1 MB, free: 13.56 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.731e-05/0.008323, allocations: 36.91 kB / 245.1 MB, free: 13.53 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.008517, allocations: 182.2 kB / 245.3 MB, free: 13.32 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.008535, allocations: 12.88 kB / 245.3 MB, free: 13.31 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.008566, allocations: 20.38 kB / 245.4 MB, free: 13.29 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.008882, allocations: 253.6 kB / 245.6 MB, free: 13.02 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.008891, allocations: 192 / 245.6 MB, free: 13.02 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.008908, allocations: 12.38 kB / 245.6 MB, free: 13.01 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.008916, allocations: 7.938 kB / 245.6 MB, free: 13 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.009037, allocations: 63.41 kB / 245.7 MB, free: 12.95 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007884/0.009825, allocations: 0.6215 MB / 246.3 MB, free: 12.29 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006067/0.01043, allocations: 210.3 kB / 246.5 MB, free: 12.07 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.01057, allocations: 92.73 kB / 246.6 MB, free: 11.98 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.01059, allocations: 4 kB / 246.6 MB, free: 11.98 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.01076, allocations: 166.7 kB / 246.8 MB, free: 11.79 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.332e-06/0.01076, allocations: 3.938 kB / 246.8 MB, free: 11.79 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002324/0.011, allocations: 150 kB / 246.9 MB, free: 11.63 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.01104, allocations: 81.11 kB / 247 MB, free: 11.54 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.01115, allocations: 213 kB / 247.2 MB, free: 11.31 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.01117, allocations: 33.69 kB / 247.2 MB, free: 11.27 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.01123, allocations: 144.9 kB / 247.4 MB, free: 11.13 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.01127, allocations: 71.41 kB / 247.5 MB, free: 11.06 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/0.01133, allocations: 45.91 kB / 247.5 MB, free: 11 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.721e-05/0.0114, allocations: 338.7 kB / 247.8 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.768e-05/0.01146, allocations: 62.16 kB / 247.9 MB, free: 10.6 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.425e-05/0.01153, allocations: 115.7 kB / 248 MB, free: 10.46 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.01165, allocations: 132.2 kB / 248.1 MB, free: 10.32 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01165, allocations: 0 / 248.1 MB, free: 10.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001663/0.01181, allocations: 197.5 kB / 248.3 MB, free: 10.11 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.01185, allocations: 33.69 kB / 248.4 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.01185, allocations: 4 kB / 248.4 MB, free: 10.06 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.01186, allocations: 64 / 248.4 MB, free: 10.06 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005115/0.01237, allocations: 159.8 kB / 248.5 MB, free: 9.906 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.01383, allocations: 2.651 MB / 251.2 MB, free: 7.082 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.01396, allocations: 39.81 kB / 251.2 MB, free: 7.043 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.01398, allocations: 8 kB / 251.2 MB, free: 7.035 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 8.509e-05/0.01406, allocations: 129.7 kB / 251.3 MB, free: 6.898 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.01409, allocations: 23.97 kB / 251.4 MB, free: 6.875 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.803e-05/0.01412, allocations: 26.12 kB / 251.4 MB, free: 6.855 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.01412, allocations: 4.062 kB / 251.4 MB, free: 6.852 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.01412, allocations: 4 kB / 251.4 MB, free: 6.848 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.01413, allocations: 3.984 kB / 251.4 MB, free: 6.844 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004515/0.01458, allocations: 482.2 kB / 251.9 MB, free: 6.344 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01458, allocations: 0 / 251.9 MB, free: 6.344 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004784/0.01506, allocations: 139.9 kB / 252 MB, free: 6.207 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.356e-05/0.01508, allocations: 23.8 kB / 252 MB, free: 6.184 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.01508, allocations: 0 / 252 MB, free: 6.184 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.0151, allocations: 11.98 kB / 252 MB, free: 6.172 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001349/0.01645, allocations: 2.647 MB / 254.7 MB, free: 3.352 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.01645, allocations: 0 / 254.7 MB, free: 3.352 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.01668, allocations: 273 kB / 255 MB, free: 3.062 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.0167, allocations: 11.94 kB / 255 MB, free: 3.051 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.01682, allocations: 23.97 kB / 255 MB, free: 3.027 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.01688, allocations: 31.95 kB / 255 MB, free: 2.996 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.01689, allocations: 4.094 kB / 255 MB, free: 2.992 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.146e-05/0.01694, allocations: 74.78 kB / 255.1 MB, free: 2.922 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01694, allocations: 0 / 255.1 MB, free: 2.922 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002506/0.01719, allocations: 71.89 kB / 255.2 MB, free: 2.852 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 9.325e-05/0.01728, allocations: 96.28 kB / 255.3 MB, free: 2.75 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005803/0.01786, allocations: 299.4 kB / 255.6 MB, free: 2.43 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/0.01788, allocations: 4 kB / 255.6 MB, free: 2.426 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004311/0.01831, allocations: 173.4 kB / 255.7 MB, free: 2.25 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.01851, allocations: 64.66 kB / 255.8 MB, free: 2.188 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.0206, allocations: 0.5546 MB / 256.3 MB, free: 1.598 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.03e-05/0.02065, allocations: 92.25 kB / 256.4 MB, free: 1.488 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.936e-05/0.02072, allocations: 25.94 kB / 256.5 MB, free: 1.461 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.02084, allocations: 91.36 kB / 256.6 MB, free: 1.371 MB / 250.7 MB Notification: Performance of SimCode: time 8.32e-07/0.02084, allocations: 0 / 256.6 MB, free: 1.371 MB / 250.7 MB Notification: Performance of Templates: time 0.005772/0.02662, allocations: 4.146 MB / 260.7 MB, free: 13.28 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4784578336402774]