Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001958/0.001958, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.00238/0.00238, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 63.91 kB / 379 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2499, allocations: 53.41 MB / 432.5 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004222/0.2541, allocations: 2.789 MB / 435.2 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.2556, allocations: 0.7633 MB / 436 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.2557, allocations: 4 kB / 436 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.2559, allocations: 43.56 kB / 436.1 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.2561, allocations: 95.2 kB / 436.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.2565, allocations: 111.8 kB / 436.3 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004576/0.2569, allocations: 390.5 kB / 436.6 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.2571, allocations: 56.89 kB / 436.7 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003197/0.2574, allocations: 159.5 kB / 436.8 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.2577, allocations: 175.3 kB / 437 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.847e-05/0.2577, allocations: 32 kB / 437 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-05/0.2578, allocations: 40 kB / 437.1 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.666e-05/0.2579, allocations: 75.73 kB / 437.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.2581, allocations: 159.2 kB / 437.3 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004707/0.2585, allocations: 379.8 kB / 437.7 MB, free: 1.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.2585, allocations: 0 / 437.7 MB, free: 1.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2585, allocations: 0 / 437.7 MB, free: 1.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.383e-06/0.2585, allocations: 4 kB / 437.7 MB, free: 1.496 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.001597/0.2601, allocations: 0.6125 MB / 438.3 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.2602, allocations: 8.031 kB / 438.3 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000203/0.2604, allocations: 48.73 kB / 438.4 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.2608, allocations: 213.1 kB / 438.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.2608, allocations: 12.81 kB / 438.6 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.569e-05/0.2609, allocations: 24.33 kB / 438.6 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007605/0.2616, allocations: 318 kB / 438.9 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.2616, allocations: 0 / 438.9 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.26e-05/0.2617, allocations: 12 kB / 438.9 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.2617, allocations: 4 kB / 438.9 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009519/0.2626, allocations: 297.5 kB / 439.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.2645, allocations: 0.9288 MB / 440.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002931/0.2674, allocations: 498.2 kB / 440.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000649/0.268, allocations: 200.7 kB / 440.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.693e-05/0.2681, allocations: 7.984 kB / 440.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006503/0.2687, allocations: 245.3 kB / 441.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.364e-06/0.2687, allocations: 0 / 441.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.00156/0.2703, allocations: 476.3 kB / 441.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.291e-05/0.2704, allocations: 106.8 kB / 441.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.2707, allocations: 241.1 kB / 441.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.002e-05/0.2707, allocations: 29.7 kB / 441.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.2708, allocations: 164.4 kB / 442.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.652e-05/0.2709, allocations: 71.38 kB / 442.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.271, allocations: 45.94 kB / 442.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.2712, allocations: 334.8 kB / 442.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004825/0.2716, allocations: 148.3 kB / 442.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005141/0.2721, allocations: 188.2 kB / 442.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008967/0.273, allocations: 312.7 kB / 443.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.273, allocations: 0 / 443.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001118/0.2742, allocations: 415 kB / 443.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.57e-05/0.2742, allocations: 37.64 kB / 443.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2742, allocations: 0 / 443.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.2742, allocations: 4 kB / 443.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/0.2761, allocations: 271.6 kB / 443.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005131/0.2813, allocations: 3.224 MB / 447.1 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004459/0.2817, allocations: 59.94 kB / 447.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.2817, allocations: 15.98 kB / 447.2 MB, free: 7.539 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.0002074/0.2819, allocations: 145.7 kB / 447.3 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.987e-05/0.282, allocations: 27.84 kB / 447.3 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.799e-05/0.2821, allocations: 30.11 kB / 447.4 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.2821, allocations: 4 kB / 447.4 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.2821, allocations: 4 kB / 447.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2821, allocations: 3.938 kB / 447.4 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/0.2839, allocations: 0.8755 MB / 448.2 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.2839, allocations: 12.06 kB / 448.3 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001854/0.2858, allocations: 255.6 kB / 448.5 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.2858, allocations: 0 / 448.5 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.2858, allocations: 11.98 kB / 448.5 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005091/0.2909, allocations: 3.232 MB / 451.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2909, allocations: 4.031 kB / 451.8 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.2925, allocations: 0.6053 MB / 452.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.69e-05/0.2926, allocations: 23.88 kB / 452.4 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/0.2927, allocations: 16 kB / 452.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000364/0.293, allocations: 39.95 kB / 452.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.545e-05/0.2931, allocations: 27.89 kB / 452.5 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.2931, allocations: 8 kB / 452.5 MB, free: 1.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001908/0.2933, allocations: 172.5 kB / 452.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2933, allocations: 8 kB / 452.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005012/0.2938, allocations: 75.89 kB / 452.7 MB, free: 1.66 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.0001718/0.294, allocations: 115.2 kB / 452.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002686/0.2967, allocations: 0.5613 MB / 453.4 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2967, allocations: 0 / 453.4 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002101/0.2988, allocations: 371.7 kB / 453.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/0.2993, allocations: 40.3 kB / 453.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.3011, allocations: 0.7332 MB / 454.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.3015, allocations: 0.748 MB / 455.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.3016, allocations: 23.42 kB / 455.3 MB, free: 15 MB / 366.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3016, allocations: 4 kB / 455.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of Templates: time 0.008877/0.3105, allocations: 5.53 MB / 460.8 MB, free: 9.473 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.613355065928772]