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.0007618/0.0007618, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009688/0.001731, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006882/0.0006882, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008833/0.001571, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9074/0.9074, allocations: 177.4 MB / 189.9 MB, free: 4.848 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08398/0.9914, allocations: 53.86 MB / 243.7 MB, free: 14.92 MB / 250.7 MB " [Timeout remaining time 179] 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 1.082e-06/1.082e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.067e-06/1.015e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.002499/0.00251, allocations: 2.788 MB / 247.8 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008799/0.00339, allocations: 0.7746 MB / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.994e-05/0.003479, allocations: 8 kB / 248.6 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.912e-05/0.003549, allocations: 39.58 kB / 248.6 MB, free: 10 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.003661, allocations: 91.14 kB / 248.7 MB, free: 9.914 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.00386, allocations: 119.7 kB / 248.8 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002745/0.004135, allocations: 394.3 kB / 249.2 MB, free: 9.41 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.004251, allocations: 70.72 kB / 249.3 MB, free: 9.344 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.004537, allocations: 263.8 kB / 249.6 MB, free: 9.086 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.004668, allocations: 127.7 kB / 249.7 MB, free: 8.961 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.546e-05/0.004703, allocations: 32 kB / 249.7 MB, free: 8.93 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.745e-05/0.004771, allocations: 39.98 kB / 249.8 MB, free: 8.891 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.676e-05/0.004807, allocations: 47.81 kB / 249.8 MB, free: 8.844 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.405e-05/0.004881, allocations: 83.88 kB / 249.9 MB, free: 8.762 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.005103, allocations: 231.1 kB / 250.1 MB, free: 8.535 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.337e-05/0.005116, allocations: 0 / 250.1 MB, free: 8.535 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.005117, allocations: 0 / 250.1 MB, free: 8.535 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.005132, allocations: 4 kB / 250.1 MB, free: 8.531 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.0007673/0.005899, allocations: 0.6031 MB / 250.7 MB, free: 7.898 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.715e-05/0.005926, allocations: 12.03 kB / 250.7 MB, free: 7.887 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.006065, allocations: 122 kB / 250.8 MB, free: 7.75 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.00627, allocations: 192.7 kB / 251 MB, free: 7.539 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.00629, allocations: 16.88 kB / 251 MB, free: 7.523 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.006318, allocations: 16.38 kB / 251.1 MB, free: 7.508 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.006599, allocations: 257.6 kB / 251.3 MB, free: 7.234 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.006608, allocations: 4.188 kB / 251.3 MB, free: 7.23 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.006623, allocations: 8.312 kB / 251.3 MB, free: 7.223 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/0.00663, allocations: 11.94 kB / 251.3 MB, free: 7.211 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.006736, allocations: 63.47 kB / 251.4 MB, free: 7.145 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008193/0.007556, allocations: 0.606 MB / 252 MB, free: 6.508 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007577/0.008313, allocations: 217.6 kB / 252.2 MB, free: 6.289 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.008477, allocations: 101 kB / 252.3 MB, free: 6.188 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.008503, allocations: 7.953 kB / 252.3 MB, free: 6.18 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001958/0.008699, allocations: 167.5 kB / 252.5 MB, free: 5.988 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.242e-06/0.0087, allocations: 0 / 252.5 MB, free: 5.988 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002623/0.008962, allocations: 141.6 kB / 252.6 MB, free: 5.844 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.009001, allocations: 81.11 kB / 252.7 MB, free: 5.746 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.009145, allocations: 217.1 kB / 252.9 MB, free: 5.523 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.009167, allocations: 33.7 kB / 253 MB, free: 5.484 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.527e-05/0.009232, allocations: 136.9 kB / 253.1 MB, free: 5.344 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/0.009282, allocations: 79.34 kB / 253.2 MB, free: 5.266 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.548e-05/0.009358, allocations: 49.92 kB / 253.2 MB, free: 5.211 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.876e-05/0.009446, allocations: 342.7 kB / 253.5 MB, free: 4.867 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.035e-05/0.009517, allocations: 54.16 kB / 253.6 MB, free: 4.809 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.009619, allocations: 123.7 kB / 253.7 MB, free: 4.664 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.009767, allocations: 132.8 kB / 253.9 MB, free: 4.52 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.009769, allocations: 0 / 253.9 MB, free: 4.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002135/0.009982, allocations: 196.9 kB / 254 MB, free: 4.309 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.01001, allocations: 37.64 kB / 254.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.01002, allocations: 0 / 254.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.01003, allocations: 4 kB / 254.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006994/0.01073, allocations: 179.8 kB / 254.3 MB, free: 4.086 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/0.01249, allocations: 2.64 MB / 256.9 MB, free: 1.277 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.01265, allocations: 43.81 kB / 256.9 MB, free: 1.234 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.01267, allocations: 7.984 kB / 256.9 MB, free: 1.227 MB / 250.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 9.31e-05/0.01276, allocations: 125.7 kB / 257.1 MB, free: 1.094 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.01279, allocations: 23.98 kB / 257.1 MB, free: 1.07 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.564e-05/0.01283, allocations: 30.11 kB / 257.1 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.01283, allocations: 4 kB / 257.1 MB, free: 1.039 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.01284, allocations: 4.062 kB / 257.1 MB, free: 1.035 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.01284, allocations: 3.984 kB / 257.1 MB, free: 1.031 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005582/0.0134, allocations: 483.3 kB / 257.6 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.0134, allocations: 0 / 257.6 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006523/0.01405, allocations: 159.2 kB / 257.8 MB, free: 384 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.647e-05/0.01408, allocations: 23.8 kB / 257.8 MB, free: 360 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.01408, allocations: 0 / 257.8 MB, free: 360 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.0141, allocations: 11.98 kB / 257.8 MB, free: 348 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/0.01577, allocations: 2.663 MB / 260.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01577, allocations: 0 / 260.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.01606, allocations: 280.2 kB / 260.7 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.01609, allocations: 4 kB / 260.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.01625, allocations: 32.09 kB / 260.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.0163, allocations: 27.95 kB / 260.8 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.01632, allocations: 4 kB / 260.8 MB, free: 13.15 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.232e-05/0.01638, allocations: 70.78 kB / 260.9 MB, free: 13.08 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01638, allocations: 0 / 260.9 MB, free: 13.08 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003439/0.01672, allocations: 75.89 kB / 260.9 MB, free: 13.01 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 7.876e-05/0.0168, allocations: 88.34 kB / 261 MB, free: 12.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007487/0.01755, allocations: 319.3 kB / 261.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/0.01756, allocations: 4 kB / 261.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006036/0.01817, allocations: 194.4 kB / 261.5 MB, free: 12.37 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.01841, allocations: 60.47 kB / 261.6 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.0211, allocations: 0.5537 MB / 262.1 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.805e-05/0.02116, allocations: 84.56 kB / 262.2 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.85e-05/0.02126, allocations: 29.92 kB / 262.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.02139, allocations: 87.36 kB / 262.3 MB, free: 11.51 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.02139, allocations: 0 / 262.3 MB, free: 11.51 MB / 266.7 MB Notification: Performance of Templates: time 0.006587/0.02798, allocations: 4.205 MB / 266.6 MB, free: 7.355 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.481380675919354]