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.001755/0.001755, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 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.001769/0.001769, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 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.477/1.477, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 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 0.001559/0.001559, allocations: 51.92 kB / 371.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2378, allocations: 52.17 MB / 423.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004161/0.2419, allocations: 2.779 MB / 426.7 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.2432, allocations: 0.7089 MB / 427.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.2434, allocations: 4 kB / 427.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.2435, allocations: 35.58 kB / 427.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.2437, allocations: 91.2 kB / 427.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.244, allocations: 111.8 kB / 427.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004323/0.2444, allocations: 378.5 kB / 428 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.2446, allocations: 52.91 kB / 428 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002516/0.2449, allocations: 167.4 kB / 428.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.2451, allocations: 163.4 kB / 428.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.651e-05/0.2452, allocations: 32 kB / 428.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.842e-05/0.2452, allocations: 36 kB / 428.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.009e-05/0.2453, allocations: 63.81 kB / 428.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.2455, allocations: 163.2 kB / 428.6 MB, free: 9.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004269/0.2459, allocations: 363.9 kB / 429 MB, free: 9.559 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2459, allocations: 3.938 kB / 429 MB, free: 9.555 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2459, allocations: 0 / 429 MB, free: 9.555 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.2459, allocations: 0 / 429 MB, free: 9.555 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.001613/0.2475, allocations: 0.6048 MB / 429.6 MB, free: 8.914 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.2475, allocations: 8.031 kB / 429.6 MB, free: 8.906 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.304e-05/0.2476, allocations: 32.75 kB / 429.6 MB, free: 8.875 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.248, allocations: 214.9 kB / 429.8 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.248, allocations: 16.81 kB / 429.9 MB, free: 8.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.869e-05/0.2481, allocations: 28.31 kB / 429.9 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007738/0.2489, allocations: 314 kB / 430.2 MB, free: 8.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2489, allocations: 0 / 430.2 MB, free: 8.273 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.2489, allocations: 8 kB / 430.2 MB, free: 8.266 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.2489, allocations: 4 kB / 430.2 MB, free: 8.262 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009586/0.2499, allocations: 293.5 kB / 430.5 MB, free: 7.973 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001814/0.2517, allocations: 0.925 MB / 431.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003118/0.2548, allocations: 494.1 kB / 431.9 MB, free: 6.496 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006412/0.2555, allocations: 196.7 kB / 432.1 MB, free: 6.301 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.2555, allocations: 11.98 kB / 432.1 MB, free: 6.289 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006302/0.2561, allocations: 231.4 kB / 432.3 MB, free: 6.043 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 2.024e-06/0.2561, allocations: 3.938 kB / 432.3 MB, free: 6.039 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.00155/0.2577, allocations: 463.5 kB / 432.8 MB, free: 5.582 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.998e-05/0.2578, allocations: 110.8 kB / 432.9 MB, free: 5.449 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.258, allocations: 233 kB / 433.1 MB, free: 5.211 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/0.2581, allocations: 33.7 kB / 433.2 MB, free: 5.172 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.2582, allocations: 160.4 kB / 433.3 MB, free: 5.012 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.042e-05/0.2583, allocations: 75.34 kB / 433.4 MB, free: 4.938 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.2584, allocations: 49.89 kB / 433.4 MB, free: 4.879 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.2585, allocations: 338.8 kB / 433.8 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004912/0.259, allocations: 132.4 kB / 433.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005099/0.2595, allocations: 181.4 kB / 434.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009266/0.2605, allocations: 312.1 kB / 434.4 MB, free: 3.902 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2605, allocations: 0 / 434.4 MB, free: 3.902 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00114/0.2616, allocations: 402.9 kB / 434.8 MB, free: 3.496 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/0.2616, allocations: 36.92 kB / 434.8 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2617, allocations: 0 / 434.8 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.2617, allocations: 4.062 kB / 434.8 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/0.2636, allocations: 239.7 kB / 435 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005116/0.2687, allocations: 3.19 MB / 438.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004198/0.2691, allocations: 55.92 kB / 438.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.2691, allocations: 11.98 kB / 438.3 MB, free: 15.74 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.0001818/0.2693, allocations: 145.9 kB / 438.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.82e-05/0.2694, allocations: 23.86 kB / 438.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.695e-05/0.2694, allocations: 30.11 kB / 438.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.2694, allocations: 4 kB / 438.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.2694, allocations: 4 kB / 438.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.2694, allocations: 0 / 438.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.2713, allocations: 0.8611 MB / 439.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2713, allocations: 4.062 kB / 439.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001824/0.2731, allocations: 235.6 kB / 439.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.2731, allocations: 0 / 439.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.2732, allocations: 4 kB / 439.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004945/0.2781, allocations: 3.228 MB / 442.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2781, allocations: 0 / 442.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.2797, allocations: 0.5921 MB / 443.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/0.2797, allocations: 15.86 kB / 443.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.828e-05/0.2798, allocations: 19.86 kB / 443.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003714/0.2801, allocations: 44.02 kB / 443.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.979e-05/0.2802, allocations: 31.94 kB / 443.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.2803, allocations: 8 kB / 443.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001791/0.2804, allocations: 168.5 kB / 443.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2804, allocations: 0 / 443.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005028/0.281, allocations: 79.89 kB / 443.8 MB, free: 9.949 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.0001415/0.2811, allocations: 103.2 kB / 443.9 MB, free: 9.836 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002644/0.2837, allocations: 0.5331 MB / 444.4 MB, free: 9.293 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.2837, allocations: 0 / 444.4 MB, free: 9.293 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002066/0.2858, allocations: 343.8 kB / 444.8 MB, free: 8.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.2863, allocations: 40.36 kB / 444.8 MB, free: 8.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.2881, allocations: 0.7282 MB / 445.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.2885, allocations: 0.748 MB / 446.3 MB, free: 7.379 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.596e-05/0.2886, allocations: 23.42 kB / 446.3 MB, free: 7.359 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2886, allocations: 3.938 kB / 446.3 MB, free: 7.355 MB / 350.1 MB Notification: Performance of Templates: time 0.008605/0.2972, allocations: 5.434 MB / 451.7 MB, free: 1.93 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/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: 7.56225210102275]