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.0009468/0.0009468, allocations: 87.67 kB / 21.19 MB, free: 3.363 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.0009476/0.0009476, allocations: 156.5 kB / 24.55 MB, free: 8 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 1.032/1.032, allocations: 177 MB / 204.8 MB, free: 5.578 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.523e-06/1.523e-06, allocations: 0 / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.684e-05, allocations: 2.312 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.006681/0.006708, allocations: 2.776 MB / 275.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004501/0.01121, allocations: 0.7283 MB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.01135, allocations: 7.938 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.0115, allocations: 43.56 kB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.01167, allocations: 91.2 kB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003813/0.01205, allocations: 127.6 kB / 276.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000398/0.01245, allocations: 390.3 kB / 277.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.01262, allocations: 72.67 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003549/0.01297, allocations: 227.4 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003236/0.01621, allocations: 135.6 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.552e-05/0.01626, allocations: 32 kB / 277.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.063e-05/0.01634, allocations: 40 kB / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.756e-05/0.0164, allocations: 71.73 kB / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.01652, allocations: 111.7 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003259/0.01684, allocations: 263.1 kB / 278 MB, free: 12.33 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.01684, allocations: 0 / 278 MB, free: 12.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01685, allocations: 0 / 278 MB, free: 12.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.01685, allocations: 0 / 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.001054/0.01791, allocations: 0.6852 MB / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.01794, allocations: 15.98 kB / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.01812, allocations: 52.73 kB / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.01841, allocations: 223.5 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.01844, allocations: 16.88 kB / 279 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.63e-05/0.01848, allocations: 20.38 kB / 279 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000493/0.01898, allocations: 279.3 kB / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.01899, allocations: 192 / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.01901, allocations: 8.375 kB / 279.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.01903, allocations: 11.94 kB / 279.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/0.01923, allocations: 94.88 kB / 279.4 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.02033, allocations: 0.8619 MB / 280.3 MB, free: 9.934 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.02135, allocations: 301.6 kB / 280.5 MB, free: 9.629 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.02159, allocations: 107.6 kB / 280.7 MB, free: 9.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.02161, allocations: 4 kB / 280.7 MB, free: 9.516 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.02184, allocations: 185.7 kB / 280.8 MB, free: 9.301 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.673e-06/0.02184, allocations: 0 / 280.8 MB, free: 9.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004066/0.02224, allocations: 217.8 kB / 281 MB, free: 9.086 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.02229, allocations: 114.8 kB / 281.2 MB, free: 8.949 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.02251, allocations: 272.3 kB / 281.4 MB, free: 8.668 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.02254, allocations: 29.7 kB / 281.5 MB, free: 8.633 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.017e-05/0.02263, allocations: 215.2 kB / 281.7 MB, free: 8.418 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.02267, allocations: 75.38 kB / 281.7 MB, free: 8.344 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.313e-05/0.02275, allocations: 55.59 kB / 281.8 MB, free: 8.281 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.02286, allocations: 0.5001 MB / 282.3 MB, free: 7.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.02298, allocations: 74.14 kB / 282.4 MB, free: 7.691 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.0231, allocations: 143 kB / 282.5 MB, free: 7.523 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.02328, allocations: 140.7 kB / 282.6 MB, free: 7.367 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.02328, allocations: 4 kB / 282.6 MB, free: 7.363 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002918/0.02358, allocations: 264.8 kB / 282.9 MB, free: 7.086 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.0236, allocations: 29.7 kB / 282.9 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.02361, allocations: 0 / 282.9 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.02362, allocations: 4 kB / 282.9 MB, free: 7.047 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006491/0.02427, allocations: 199.8 kB / 283.1 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00255/0.02682, allocations: 4.012 MB / 287.1 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.02698, allocations: 43.8 kB / 287.2 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.027, allocations: 11.98 kB / 287.2 MB, free: 2.547 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.0001004/0.0271, allocations: 172.5 kB / 287.4 MB, free: 2.367 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.02713, allocations: 23.86 kB / 287.4 MB, free: 2.344 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.02716, allocations: 34.11 kB / 287.4 MB, free: 2.309 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.02716, allocations: 8 kB / 287.4 MB, free: 2.301 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.02717, allocations: 4 kB / 287.4 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.02717, allocations: 0 / 287.4 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006643/0.02783, allocations: 0.7105 MB / 288.1 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.02784, allocations: 0 / 288.1 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000608/0.02844, allocations: 187.7 kB / 288.3 MB, free: 1.352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.02845, allocations: 0 / 288.3 MB, free: 1.352 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.02846, allocations: 11.98 kB / 288.3 MB, free: 1.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/0.03052, allocations: 4.001 MB / 292.3 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.03052, allocations: 3.984 kB / 292.3 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.03091, allocations: 394.3 kB / 292.7 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.03093, allocations: 28.03 kB / 292.8 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.03096, allocations: 8 kB / 292.8 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.0311, allocations: 27.97 kB / 292.8 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.03116, allocations: 31.95 kB / 292.8 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.03117, allocations: 4 kB / 292.8 MB, free: 12.59 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.937e-05/0.03127, allocations: 193.1 kB / 293 MB, free: 12.4 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03127, allocations: 0 / 293 MB, free: 12.4 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003003/0.03157, allocations: 83.89 kB / 293.1 MB, free: 12.32 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 9.946e-05/0.03167, allocations: 111.2 kB / 293.2 MB, free: 12.2 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000834/0.03251, allocations: 364.6 kB / 293.6 MB, free: 11.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.03251, allocations: 0 / 293.6 MB, free: 11.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006282/0.03314, allocations: 239.5 kB / 293.8 MB, free: 11.59 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.03339, allocations: 39.58 kB / 293.8 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.03445, allocations: 0.5793 MB / 294.4 MB, free: 10.94 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.846e-05/0.0345, allocations: 84.56 kB / 294.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.284e-05/0.03457, allocations: 21.94 kB / 294.5 MB, free: 10.81 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.362e-05/0.03463, allocations: 24.48 kB / 294.5 MB, free: 10.79 MB / 282.7 MB Notification: Performance of SimCode: time 7.52e-07/0.03463, allocations: 0 / 294.5 MB, free: 10.79 MB / 282.7 MB Notification: Performance of Templates: time 0.005571/0.0402, allocations: 3.997 MB / 298.5 MB, free: 6.832 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.013533183373511]