Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.002223/0.002223, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 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.002123/0.002123, allocations: 212.8 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.562/1.562, allocations: 230.6 MB / 257.5 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+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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 47.92 kB / 378.3 MB, free: 2.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.301, allocations: 53.36 MB / 431.6 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.00439/0.3054, allocations: 2.8 MB / 434.4 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.3069, allocations: 0.7595 MB / 435.2 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.307, allocations: 4 kB / 435.2 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.3072, allocations: 39.58 kB / 435.2 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.3074, allocations: 95.2 kB / 435.3 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005606/0.3079, allocations: 115.7 kB / 435.4 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005874/0.3085, allocations: 390.5 kB / 435.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.3087, allocations: 55.44 kB / 435.9 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003454/0.309, allocations: 163.5 kB / 436 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.3093, allocations: 183.3 kB / 436.2 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.784e-05/0.3094, allocations: 32 kB / 436.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.15e-05/0.3094, allocations: 36 kB / 436.3 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.608e-05/0.3095, allocations: 71.75 kB / 436.3 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.3097, allocations: 155.2 kB / 436.5 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005005/0.3102, allocations: 378.2 kB / 436.9 MB, free: 1.648 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3102, allocations: 4 kB / 436.9 MB, free: 1.645 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3102, allocations: 0 / 436.9 MB, free: 1.645 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.3102, allocations: 0 / 436.9 MB, free: 1.645 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.001716/0.3119, allocations: 0.6126 MB / 437.5 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.312, allocations: 8.031 kB / 437.5 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/0.3122, allocations: 44.73 kB / 437.5 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004377/0.3126, allocations: 213.1 kB / 437.7 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.3126, allocations: 12.81 kB / 437.8 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.958e-05/0.3127, allocations: 28.33 kB / 437.8 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007947/0.3135, allocations: 314 kB / 438.1 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3135, allocations: 0 / 438.1 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.483e-05/0.3135, allocations: 15.94 kB / 438.1 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.3135, allocations: 4 kB / 438.1 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009589/0.3145, allocations: 301.5 kB / 438.4 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.3164, allocations: 0.9249 MB / 439.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003127/0.3195, allocations: 0.4904 MB / 439.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006914/0.3202, allocations: 200.7 kB / 440 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/0.3203, allocations: 4 kB / 440 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006943/0.321, allocations: 243.4 kB / 440.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.864e-06/0.321, allocations: 0 / 440.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001642/0.3226, allocations: 472.1 kB / 440.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.3227, allocations: 114.8 kB / 440.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.323, allocations: 233.1 kB / 441.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/0.3231, allocations: 29.7 kB / 441.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.3232, allocations: 168.4 kB / 441.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.218e-05/0.3233, allocations: 67.39 kB / 441.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.3234, allocations: 49.92 kB / 441.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.3236, allocations: 330.8 kB / 441.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004936/0.3241, allocations: 148.4 kB / 441.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005391/0.3246, allocations: 184.2 kB / 442 MB, free: 12.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000957/0.3256, allocations: 316.1 kB / 442.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3256, allocations: 0 / 442.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001129/0.3267, allocations: 414.9 kB / 442.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.925e-05/0.3268, allocations: 40.44 kB / 442.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3268, allocations: 3.984 kB / 442.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3268, allocations: 4 kB / 442.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/0.3287, allocations: 271.6 kB / 443 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005227/0.3339, allocations: 3.244 MB / 446.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004253/0.3344, allocations: 59.88 kB / 446.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.3344, allocations: 12 kB / 446.4 MB, free: 7.672 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.0001887/0.3346, allocations: 145.7 kB / 446.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/0.3346, allocations: 23.86 kB / 446.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.413e-05/0.3347, allocations: 34.06 kB / 446.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3347, allocations: 4 kB / 446.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3347, allocations: 3.984 kB / 446.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3347, allocations: 0 / 446.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/0.3367, allocations: 0.8729 MB / 447.4 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3367, allocations: 4 kB / 447.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001886/0.3385, allocations: 255.7 kB / 447.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.3386, allocations: 8 kB / 447.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/0.3386, allocations: 4 kB / 447.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005164/0.3437, allocations: 3.244 MB / 450.9 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3437, allocations: 0 / 450.9 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.3454, allocations: 0.6118 MB / 451.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-05/0.3454, allocations: 19.89 kB / 451.6 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.151e-05/0.3455, allocations: 11.94 kB / 451.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/0.3459, allocations: 39.95 kB / 451.6 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.654e-05/0.3459, allocations: 27.89 kB / 451.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.894e-05/0.346, allocations: 20.05 kB / 451.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001868/0.3462, allocations: 172.5 kB / 451.8 MB, free: 1.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3462, allocations: 0 / 451.8 MB, free: 1.867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005065/0.3467, allocations: 79.89 kB / 451.9 MB, free: 1.789 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.000145/0.3468, allocations: 99.25 kB / 452 MB, free: 1.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002782/0.3496, allocations: 0.5576 MB / 452.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3496, allocations: 0 / 452.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002163/0.3518, allocations: 383.7 kB / 452.9 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004492/0.3522, allocations: 42.8 kB / 453 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.3541, allocations: 0.7048 MB / 453.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/0.3546, allocations: 0.748 MB / 454.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001369/0.3547, allocations: 21.95 kB / 454.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.337e-05/0.3548, allocations: 31.3 kB / 454.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3548, allocations: 0 / 454.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of Templates: time 0.009365/0.3642, allocations: 4.015 MB / 458.5 MB, free: 11.16 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.933404756942764]