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.001443/0.001443, allocations: 92.62 kB / 20.96 MB, free: 3.477 MB / 18.57 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.001505/0.001505, allocations: 153.4 kB / 24.26 MB, free: 184 kB / 18.57 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.445/1.445, allocations: 173.4 MB / 200.8 MB, free: 9.293 MB / 186.7 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.074e-06/2.074e-06, allocations: 0 / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.456e-05/3.663e-05, allocations: 2.312 kB / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.00484/0.004877, allocations: 2.55 MB / 269.9 MB, free: 4.141 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.006292, allocations: 0.6931 MB / 270.6 MB, free: 3.441 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.006415, allocations: 4 kB / 270.6 MB, free: 3.438 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.006573, allocations: 39.58 kB / 270.6 MB, free: 3.398 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.006787, allocations: 95.14 kB / 270.7 MB, free: 3.305 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.007123, allocations: 111.7 kB / 270.8 MB, free: 3.195 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004828/0.007605, allocations: 394.3 kB / 271.2 MB, free: 2.809 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.007779, allocations: 48.91 kB / 271.2 MB, free: 2.758 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003595/0.008138, allocations: 223.5 kB / 271.5 MB, free: 2.539 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.008371, allocations: 131.7 kB / 271.6 MB, free: 2.41 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.508e-05/0.008436, allocations: 32 kB / 271.6 MB, free: 2.379 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.125e-05/0.008497, allocations: 36 kB / 271.7 MB, free: 2.344 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.97e-05/0.008587, allocations: 71.73 kB / 271.7 MB, free: 2.273 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.008764, allocations: 115.7 kB / 271.8 MB, free: 2.16 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004923/0.009257, allocations: 378.9 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.00926, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.009262, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.009267, allocations: 0 / 272.2 MB, free: 1.789 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.001741/0.01101, allocations: 0.6009 MB / 272.8 MB, free: 1.148 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.01104, allocations: 11.97 kB / 272.8 MB, free: 1.137 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.01117, allocations: 44.75 kB / 272.9 MB, free: 1.094 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.01157, allocations: 218.1 kB / 273.1 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.099e-05/0.01162, allocations: 20.88 kB / 273.1 MB, free: 0.832 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/0.01168, allocations: 20.38 kB / 273.1 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008501/0.01253, allocations: 336.9 kB / 273.5 MB, free: 476 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.01254, allocations: 192 / 273.5 MB, free: 476 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.602e-05/0.01258, allocations: 8.375 kB / 273.5 MB, free: 468 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.01259, allocations: 7.938 kB / 273.5 MB, free: 460 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.01362, allocations: 289.7 kB / 273.8 MB, free: 172 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.01547, allocations: 0.8248 MB / 274.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003248/0.01872, allocations: 478.2 kB / 275 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006913/0.01941, allocations: 204.1 kB / 275.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.01944, allocations: 4 kB / 275.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007063/0.02015, allocations: 262.4 kB / 275.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/0.02015, allocations: 3.938 kB / 275.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.001735/0.02188, allocations: 469.6 kB / 276 MB, free: 13.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.447e-05/0.02198, allocations: 114.8 kB / 276.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.02225, allocations: 229.7 kB / 276.3 MB, free: 13.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.02229, allocations: 29.7 kB / 276.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.02243, allocations: 160.4 kB / 276.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.844e-05/0.02253, allocations: 79.38 kB / 276.6 MB, free: 13.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.02265, allocations: 45.94 kB / 276.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004028/0.02305, allocations: 330.8 kB / 276.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005549/0.02361, allocations: 170.1 kB / 277.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005808/0.02419, allocations: 235.6 kB / 277.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.0252, allocations: 308.8 kB / 277.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.0252, allocations: 0 / 277.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001271/0.02647, allocations: 448.6 kB / 278.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.266e-05/0.02652, allocations: 29.7 kB / 278.1 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.02652, allocations: 7.984 kB / 278.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.02654, allocations: 0 / 278.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/0.02843, allocations: 239.7 kB / 278.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005422/0.03385, allocations: 3.151 MB / 281.5 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004167/0.03427, allocations: 52.06 kB / 281.5 MB, free: 7.961 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.0343, allocations: 11.98 kB / 281.6 MB, free: 7.949 MB / 266.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.0001941/0.03449, allocations: 137.8 kB / 281.7 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.026e-05/0.03456, allocations: 31.86 kB / 281.7 MB, free: 7.773 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.893e-05/0.03463, allocations: 30.11 kB / 281.7 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.03464, allocations: 7.938 kB / 281.8 MB, free: 7.734 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.03464, allocations: 4 kB / 281.8 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.03465, allocations: 0 / 281.8 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.03653, allocations: 0.7868 MB / 282.5 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.03654, allocations: 7.984 kB / 282.6 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001852/0.0384, allocations: 227.7 kB / 282.8 MB, free: 6.672 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.0384, allocations: 4 kB / 282.8 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.03843, allocations: 7.984 kB / 282.8 MB, free: 6.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005533/0.04396, allocations: 3.151 MB / 285.9 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.04396, allocations: 4.031 kB / 285.9 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.04567, allocations: 0.6024 MB / 286.5 MB, free: 2.676 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.04572, allocations: 27.81 kB / 286.6 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.555e-05/0.04577, allocations: 8 kB / 286.6 MB, free: 2.641 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003754/0.04614, allocations: 40.02 kB / 286.6 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.04626, allocations: 31.95 kB / 286.7 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.04628, allocations: 4 kB / 286.7 MB, free: 2.566 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001869/0.04647, allocations: 165.2 kB / 286.8 MB, free: 2.406 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04647, allocations: 0 / 286.8 MB, free: 2.406 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004934/0.04696, allocations: 79.95 kB / 286.9 MB, free: 2.328 MB / 266.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.0001623/0.04712, allocations: 115 kB / 287 MB, free: 2.203 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002741/0.04987, allocations: 0.5591 MB / 287.6 MB, free: 1.625 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.04987, allocations: 4 kB / 287.6 MB, free: 1.621 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002141/0.05201, allocations: 351.8 kB / 287.9 MB, free: 1.277 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.05243, allocations: 40.41 kB / 288 MB, free: 1.238 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.05419, allocations: 0.6196 MB / 288.6 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/0.05435, allocations: 142.2 kB / 288.7 MB, free: 444 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001262/0.05448, allocations: 21.95 kB / 288.7 MB, free: 420 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.002e-05/0.05457, allocations: 24.5 kB / 288.8 MB, free: 396 kB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.05457, allocations: 0 / 288.8 MB, free: 396 kB / 266.7 MB Notification: Performance of Templates: time 0.009089/0.06366, allocations: 3.91 MB / 292.7 MB, free: 12.52 MB / 282.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=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.555296309990808]