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.001632/0.001632, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001707/0.001707, allocations: 156 kB / 24.98 MB, free: 8.223 MB / 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 1.02/1.02, allocations: 177 MB / 205.2 MB, free: 5.605 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.332e-06/1.332e-06, allocations: 0 / 273 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.211e-05, allocations: 5.125 kB / 273 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.006905/0.006927, allocations: 2.758 MB / 275.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004325/0.01125, allocations: 0.7399 MB / 276.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.0114, allocations: 4 kB / 276.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.01153, allocations: 39.58 kB / 276.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.0117, allocations: 95.14 kB / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.01206, allocations: 115.7 kB / 276.8 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003871/0.01244, allocations: 398.3 kB / 277.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.0126, allocations: 68.67 kB / 277.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003302/0.01293, allocations: 223.4 kB / 277.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.0131, allocations: 139.6 kB / 277.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.513e-05/0.01315, allocations: 32 kB / 277.6 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.964e-05/0.01322, allocations: 36 kB / 277.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.855e-05/0.01328, allocations: 71.73 kB / 277.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003125/0.0164, allocations: 119.7 kB / 277.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.01674, allocations: 255.2 kB / 278.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.01674, allocations: 4 kB / 278.1 MB, free: 12.65 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.01674, allocations: 0 / 278.1 MB, free: 12.65 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.01675, allocations: 0 / 278.1 MB, free: 12.65 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.001036/0.01778, allocations: 0.6852 MB / 278.8 MB, free: 11.92 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.01782, allocations: 11.98 kB / 278.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.01798, allocations: 68.61 kB / 278.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.01826, allocations: 215.6 kB / 279 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.01829, allocations: 16.88 kB / 279.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.478e-05/0.01835, allocations: 16.38 kB / 279.1 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004891/0.01884, allocations: 287.3 kB / 279.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.01885, allocations: 4.188 kB / 279.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.01888, allocations: 4.375 kB / 279.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.01889, allocations: 7.938 kB / 279.4 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002405/0.01913, allocations: 98.88 kB / 279.5 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004265/0.02339, allocations: 0.858 MB / 280.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.02467, allocations: 302.8 kB / 280.6 MB, free: 9.945 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.02492, allocations: 107.6 kB / 280.7 MB, free: 9.836 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.02494, allocations: 4 kB / 280.7 MB, free: 9.832 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002562/0.0252, allocations: 185.7 kB / 280.9 MB, free: 9.617 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 3.116e-06/0.0252, allocations: 3.984 kB / 280.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.003519/0.02872, allocations: 216.9 kB / 281.1 MB, free: 9.398 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.02878, allocations: 114.7 kB / 281.2 MB, free: 9.262 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.02907, allocations: 272.3 kB / 281.5 MB, free: 8.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.0291, allocations: 33.7 kB / 281.5 MB, free: 8.941 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.02921, allocations: 211.1 kB / 281.7 MB, free: 8.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.841e-05/0.02926, allocations: 71.38 kB / 281.8 MB, free: 8.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.238e-05/0.02936, allocations: 51.59 kB / 281.9 MB, free: 8.602 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.02949, allocations: 0.5119 MB / 282.4 MB, free: 8.078 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.02962, allocations: 70.08 kB / 282.4 MB, free: 8.004 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.02978, allocations: 147 kB / 282.6 MB, free: 7.832 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.03002, allocations: 140.8 kB / 282.7 MB, free: 7.676 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.03002, allocations: 3.984 kB / 282.7 MB, free: 7.672 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004005/0.03042, allocations: 252.8 kB / 283 MB, free: 7.406 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/0.03046, allocations: 45.73 kB / 283 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.03046, allocations: 0 / 283 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.03048, allocations: 4 kB / 283 MB, free: 7.352 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003903/0.03438, allocations: 191.8 kB / 283.2 MB, free: 7.164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002689/0.03707, allocations: 3.996 MB / 287.2 MB, free: 2.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.03725, allocations: 47.98 kB / 287.3 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.03727, allocations: 11.98 kB / 287.3 MB, free: 2.871 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.0001126/0.03738, allocations: 172.5 kB / 287.4 MB, free: 2.691 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.115e-05/0.03743, allocations: 31.86 kB / 287.5 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.03746, allocations: 34.11 kB / 287.5 MB, free: 2.625 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.03746, allocations: 3.938 kB / 287.5 MB, free: 2.621 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.03747, allocations: 0 / 287.5 MB, free: 2.621 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.03747, allocations: 11.98 kB / 287.5 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007307/0.0382, allocations: 0.7065 MB / 288.2 MB, free: 1.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.03821, allocations: 0 / 288.2 MB, free: 1.852 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.03923, allocations: 187.8 kB / 288.4 MB, free: 1.668 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.03924, allocations: 0 / 288.4 MB, free: 1.668 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.03927, allocations: 11.98 kB / 288.4 MB, free: 1.656 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003242/0.04251, allocations: 3.993 MB / 292.4 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.04251, allocations: 11.92 kB / 292.4 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006075/0.04312, allocations: 390.3 kB / 292.8 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/0.04316, allocations: 27.84 kB / 292.8 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/0.0432, allocations: 8 kB / 292.8 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.04345, allocations: 32.12 kB / 292.9 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.915e-05/0.04354, allocations: 27.95 kB / 292.9 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.04356, allocations: 8 kB / 292.9 MB, free: 12.91 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001576/0.04372, allocations: 197.1 kB / 293.1 MB, free: 12.71 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04372, allocations: 0 / 293.1 MB, free: 12.71 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000533/0.04425, allocations: 79.89 kB / 293.2 MB, free: 12.64 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.0001339/0.04438, allocations: 107.2 kB / 293.3 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.04572, allocations: 372.6 kB / 293.6 MB, free: 12.14 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.04572, allocations: 0 / 293.6 MB, free: 12.14 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.04677, allocations: 234.8 kB / 293.9 MB, free: 11.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.04721, allocations: 44.41 kB / 293.9 MB, free: 11.86 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.04879, allocations: 0.5715 MB / 294.5 MB, free: 11.26 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.801e-05/0.04885, allocations: 84.56 kB / 294.6 MB, free: 11.16 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.04898, allocations: 21.95 kB / 294.6 MB, free: 11.13 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.179e-05/0.04907, allocations: 24.48 kB / 294.6 MB, free: 11.11 MB / 282.7 MB Notification: Performance of SimCode: time 1.173e-06/0.04907, allocations: 0 / 294.6 MB, free: 11.11 MB / 282.7 MB Notification: Performance of Templates: time 0.008268/0.05734, allocations: 4.002 MB / 298.6 MB, free: 7.145 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: 3.0621373280882835]