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.001053/0.001053, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001298/0.001298, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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.9108/0.9108, allocations: 177 MB / 204.8 MB, free: 5.57 MB / 186.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.533e-06/1.533e-06, allocations: 0 / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.694e-05/2.847e-05, allocations: 9.062 kB / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003617/0.003646, allocations: 2.762 MB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.004894, allocations: 0.736 MB / 276.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.005033, allocations: 7.938 kB / 276.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.005184, allocations: 43.56 kB / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.005364, allocations: 95.14 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/0.005729, allocations: 119.7 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003799/0.006109, allocations: 390.3 kB / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.006261, allocations: 72.67 kB / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003462/0.006607, allocations: 231.4 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.006782, allocations: 131.6 kB / 277.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.712e-05/0.006829, allocations: 32 kB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.46e-05/0.006904, allocations: 36 kB / 277.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.53e-05/0.006959, allocations: 71.73 kB / 277.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.007064, allocations: 103.8 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.007381, allocations: 255.1 kB / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.007385, allocations: 0 / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.007386, allocations: 0 / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.00739, allocations: 8 kB / 278 MB, free: 12.33 MB / 266.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.001018/0.008408, allocations: 0.6735 MB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.00845, allocations: 11.98 kB / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.008632, allocations: 60.73 kB / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.008931, allocations: 223.4 kB / 278.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.00896, allocations: 16.88 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.224e-05/0.009003, allocations: 24.38 kB / 279 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004971/0.0095, allocations: 271.3 kB / 279.3 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.00951, allocations: 4.188 kB / 279.3 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.586e-05/0.009535, allocations: 4.375 kB / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.009548, allocations: 7.938 kB / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002194/0.009767, allocations: 102.9 kB / 279.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.01095, allocations: 0.8463 MB / 280.2 MB, free: 9.957 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009746/0.01192, allocations: 247 kB / 280.5 MB, free: 9.707 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.01218, allocations: 111.6 kB / 280.6 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.01221, allocations: 4 kB / 280.6 MB, free: 9.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002851/0.01249, allocations: 189.7 kB / 280.8 MB, free: 9.371 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.763e-06/0.0125, allocations: 0 / 280.8 MB, free: 9.371 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004754/0.01297, allocations: 217 kB / 281 MB, free: 9.156 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.01303, allocations: 114.7 kB / 281.1 MB, free: 9.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.01323, allocations: 272.3 kB / 281.3 MB, free: 8.738 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.01326, allocations: 33.83 kB / 281.4 MB, free: 8.699 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.01337, allocations: 215.1 kB / 281.6 MB, free: 8.484 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.67e-05/0.01343, allocations: 75.33 kB / 281.7 MB, free: 8.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.169e-05/0.01352, allocations: 55.58 kB / 281.7 MB, free: 8.348 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.01365, allocations: 0.5001 MB / 282.2 MB, free: 7.836 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.01378, allocations: 74.14 kB / 282.3 MB, free: 7.758 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.01393, allocations: 139 kB / 282.4 MB, free: 7.594 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.01414, allocations: 148.8 kB / 282.6 MB, free: 7.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.01415, allocations: 4 kB / 282.6 MB, free: 7.426 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003739/0.01452, allocations: 256.8 kB / 282.8 MB, free: 7.156 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/0.01455, allocations: 29.7 kB / 282.9 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01456, allocations: 0 / 282.9 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.01457, allocations: 11.92 kB / 282.9 MB, free: 7.109 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007807/0.01536, allocations: 163.9 kB / 283 MB, free: 6.949 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002711/0.01807, allocations: 3.957 MB / 287 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.01828, allocations: 40.06 kB / 287 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.0183, allocations: 15.98 kB / 287 MB, free: 2.699 MB / 266.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 0.0001285/0.01843, allocations: 164.5 kB / 287.2 MB, free: 2.527 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.01848, allocations: 31.86 kB / 287.2 MB, free: 2.496 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.864e-05/0.01852, allocations: 30.11 kB / 287.3 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.01852, allocations: 11.92 kB / 287.3 MB, free: 2.453 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.01852, allocations: 0 / 287.3 MB, free: 2.453 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01853, allocations: 0 / 287.3 MB, free: 2.453 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008124/0.01934, allocations: 0.7104 MB / 288 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.01934, allocations: 0 / 288 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007141/0.02006, allocations: 155.8 kB / 288.1 MB, free: 1.539 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.02006, allocations: 4 kB / 288.1 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.02008, allocations: 4 kB / 288.1 MB, free: 1.531 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002736/0.02282, allocations: 3.946 MB / 292.1 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.02282, allocations: 192 / 292.1 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005351/0.02336, allocations: 410.2 kB / 292.5 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.0234, allocations: 19.86 kB / 292.5 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.02343, allocations: 4 kB / 292.5 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.02358, allocations: 27.97 kB / 292.5 MB, free: 12.87 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.419e-05/0.02367, allocations: 31.94 kB / 292.6 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.02369, allocations: 11.98 kB / 292.6 MB, free: 12.83 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001132/0.02381, allocations: 197.2 kB / 292.8 MB, free: 12.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02381, allocations: 0 / 292.8 MB, free: 12.64 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003445/0.02415, allocations: 79.89 kB / 292.8 MB, free: 12.56 MB / 282.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 0.0001259/0.02428, allocations: 103.2 kB / 292.9 MB, free: 12.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007761/0.02505, allocations: 336.6 kB / 293.3 MB, free: 12.1 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.02505, allocations: 0 / 293.3 MB, free: 12.1 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005352/0.02559, allocations: 198.9 kB / 293.5 MB, free: 11.9 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.02586, allocations: 44.34 kB / 293.5 MB, free: 11.86 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.027, allocations: 0.5715 MB / 294.1 MB, free: 11.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.94e-05/0.02705, allocations: 88.56 kB / 294.2 MB, free: 11.15 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.286e-05/0.02714, allocations: 21.95 kB / 294.2 MB, free: 11.12 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.468e-05/0.0272, allocations: 28.48 kB / 294.2 MB, free: 11.09 MB / 282.7 MB Notification: Performance of SimCode: time 1.412e-06/0.0272, allocations: 0 / 294.2 MB, free: 11.09 MB / 282.7 MB Notification: Performance of Templates: time 0.005826/0.03303, allocations: 4.048 MB / 298.3 MB, free: 7.09 MB / 282.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 -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.781888189725578]