Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.008261/0.008261, allocations: 110.2 kB / 21.98 MB, free: 5.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002311/0.002311, allocations: 220.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.483/1.483, allocations: 230.6 MB / 259 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 59.89 kB / 379.8 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2614, allocations: 53.36 MB / 433.2 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004233/0.2657, allocations: 2.809 MB / 436 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.2673, allocations: 0.7556 MB / 436.7 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.2674, allocations: 4 kB / 436.7 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.2676, allocations: 39.56 kB / 436.8 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001899/0.2678, allocations: 91.2 kB / 436.9 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.2681, allocations: 115.8 kB / 437 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004635/0.2686, allocations: 386.5 kB / 437.4 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.2688, allocations: 64.88 kB / 437.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003038/0.2691, allocations: 155.5 kB / 437.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.2693, allocations: 175.3 kB / 437.7 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.303e-05/0.2694, allocations: 32 kB / 437.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.876e-05/0.2695, allocations: 36 kB / 437.8 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.487e-05/0.2695, allocations: 71.75 kB / 437.9 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.2697, allocations: 163.2 kB / 438 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000475/0.2702, allocations: 383.7 kB / 438.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.2702, allocations: 4 kB / 438.4 MB, free: 1.688 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2702, allocations: 0 / 438.4 MB, free: 1.688 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.2702, allocations: 0 / 438.4 MB, free: 1.688 MB / 334.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.001644/0.2719, allocations: 0.6086 MB / 439 MB, free: 1.043 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2719, allocations: 12.03 kB / 439 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.2721, allocations: 36.75 kB / 439.1 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/0.2725, allocations: 221.1 kB / 439.3 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.2725, allocations: 12.81 kB / 439.3 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.2726, allocations: 28.33 kB / 439.3 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000778/0.2734, allocations: 314 kB / 439.6 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.2734, allocations: 3.938 kB / 439.6 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/0.2734, allocations: 12 kB / 439.7 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.2734, allocations: 4 kB / 439.7 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009515/0.2744, allocations: 301.5 kB / 440 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001923/0.2763, allocations: 0.9249 MB / 440.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002968/0.2793, allocations: 0.4932 MB / 441.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006722/0.2799, allocations: 200.3 kB / 441.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.524e-05/0.28, allocations: 4 kB / 441.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000679/0.2807, allocations: 241.7 kB / 441.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.873e-06/0.2807, allocations: 0 / 441.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001614/0.2823, allocations: 473.6 kB / 442.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.259e-05/0.2824, allocations: 110.8 kB / 442.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.2827, allocations: 233.1 kB / 442.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.009e-05/0.2827, allocations: 33.7 kB / 442.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.2828, allocations: 164.4 kB / 442.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.425e-05/0.2829, allocations: 75.36 kB / 442.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.283, allocations: 45.94 kB / 442.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.2832, allocations: 334.8 kB / 443.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004854/0.2837, allocations: 148.3 kB / 443.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004983/0.2842, allocations: 185.1 kB / 443.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009108/0.2851, allocations: 316.1 kB / 443.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2851, allocations: 0 / 443.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001143/0.2862, allocations: 411 kB / 444.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.642e-05/0.2863, allocations: 37.64 kB / 444.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.2863, allocations: 4 kB / 444.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.2863, allocations: 0 / 444.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/0.2881, allocations: 271.6 kB / 444.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005129/0.2933, allocations: 3.24 MB / 447.8 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004138/0.2937, allocations: 59.86 kB / 447.9 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.2937, allocations: 12 kB / 447.9 MB, free: 7.723 MB / 350.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.0002038/0.2939, allocations: 143.6 kB / 448 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.2939, allocations: 27.8 kB / 448.1 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.808e-05/0.294, allocations: 30.11 kB / 448.1 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.294, allocations: 4 kB / 448.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.294, allocations: 0 / 448.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.294, allocations: 4 kB / 448.1 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.2959, allocations: 0.8755 MB / 449 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.2959, allocations: 0 / 449 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001749/0.2976, allocations: 259.7 kB / 449.2 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.2976, allocations: 4 kB / 449.2 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.2977, allocations: 7.984 kB / 449.2 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005096/0.3028, allocations: 3.249 MB / 452.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3028, allocations: 3.938 kB / 452.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.3043, allocations: 0.6063 MB / 453.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-05/0.3044, allocations: 19.84 kB / 453.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.3044, allocations: 11.94 kB / 453.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003515/0.3048, allocations: 44.02 kB / 453.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.3049, allocations: 31.89 kB / 453.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.3049, allocations: 8 kB / 453.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001972/0.3051, allocations: 172.5 kB / 453.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3051, allocations: 0 / 453.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004818/0.3056, allocations: 83.88 kB / 453.5 MB, free: 1.836 MB / 350.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.0001528/0.3058, allocations: 103.2 kB / 453.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002622/0.3084, allocations: 0.5537 MB / 454.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/0.3084, allocations: 4.125 kB / 454.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002023/0.3104, allocations: 375.6 kB / 454.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.3108, allocations: 49.62 kB / 454.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.3127, allocations: 0.726 MB / 455.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.3131, allocations: 0.7519 MB / 456 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.3132, allocations: 23.42 kB / 456 MB, free: 15.18 MB / 366.1 MB Notification: Performance of SimCode: time 1.202e-06/0.3132, allocations: 0 / 456 MB, free: 15.18 MB / 366.1 MB Notification: Performance of Templates: time 0.008455/0.3216, allocations: 5.533 MB / 461.6 MB, free: 9.664 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 8.09316630801186]