Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008205/0.0008205, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004336/0.004336, allocations: 148.3 kB / 24.68 MB, free: 9.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8529/0.8529, allocations: 173.4 MB / 201.2 MB, free: 9.418 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 3.938 kB / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.804e-05, allocations: 10.16 kB / 319.7 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.002474/0.002502, allocations: 2.547 MB / 322.3 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008105/0.003312, allocations: 0.6855 MB / 322.9 MB, free: 2.578 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.798e-05/0.00341, allocations: 4 kB / 322.9 MB, free: 2.574 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.003529, allocations: 35.58 kB / 323 MB, free: 2.539 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.003649, allocations: 95.14 kB / 323.1 MB, free: 2.445 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.003916, allocations: 107.7 kB / 323.2 MB, free: 2.34 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002987/0.004215, allocations: 402.3 kB / 323.6 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.004362, allocations: 48.91 kB / 323.6 MB, free: 1.895 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002227/0.004585, allocations: 211.6 kB / 323.8 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.004722, allocations: 135.6 kB / 324 MB, free: 1.555 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.984e-05/0.004762, allocations: 36 kB / 324 MB, free: 1.52 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.994e-05/0.004792, allocations: 32 kB / 324 MB, free: 1.488 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.141e-05/0.004844, allocations: 75.72 kB / 324.1 MB, free: 1.414 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.512e-05/0.004939, allocations: 115.7 kB / 324.2 MB, free: 1.301 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003057/0.005244, allocations: 378.8 kB / 324.6 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.005249, allocations: 3.984 kB / 324.6 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005251, allocations: 0 / 324.6 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.005255, allocations: 4 kB / 324.6 MB, free: 0.9219 MB / 282.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.0009628/0.006218, allocations: 0.5932 MB / 325.2 MB, free: 300 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.006254, allocations: 12.03 kB / 325.2 MB, free: 288 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/0.006313, allocations: 28.75 kB / 325.2 MB, free: 260 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.006602, allocations: 214.1 kB / 325.4 MB, free: 16 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.006633, allocations: 20.92 kB / 325.4 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.576e-05/0.006669, allocations: 20.38 kB / 325.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.00712, allocations: 332.8 kB / 325.8 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.00713, allocations: 192 / 325.8 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.007152, allocations: 16.31 kB / 325.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.00716, allocations: 11.94 kB / 325.8 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004917/0.007652, allocations: 293.8 kB / 326.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.008696, allocations: 0.8208 MB / 326.9 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.009978, allocations: 482.2 kB / 327.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000355/0.01033, allocations: 196.7 kB / 327.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.01036, allocations: 7.984 kB / 327.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003709/0.01073, allocations: 262.5 kB / 327.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.342e-06/0.01073, allocations: 0 / 327.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008134/0.01154, allocations: 461.6 kB / 328.3 MB, free: 13.03 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.01159, allocations: 114.8 kB / 328.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.01175, allocations: 225.7 kB / 328.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.01177, allocations: 29.7 kB / 328.7 MB, free: 12.63 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.634e-05/0.01185, allocations: 164.4 kB / 328.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.01189, allocations: 71.39 kB / 328.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.745e-05/0.01196, allocations: 49.92 kB / 328.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.257e-05/0.01204, allocations: 330.8 kB / 329.3 MB, free: 12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.0123, allocations: 170 kB / 329.4 MB, free: 11.83 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/0.01256, allocations: 231.7 kB / 329.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004576/0.01302, allocations: 308.7 kB / 330 MB, free: 11.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01302, allocations: 0 / 330 MB, free: 11.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005809/0.01361, allocations: 436.6 kB / 330.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.01364, allocations: 37.7 kB / 330.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.01364, allocations: 0 / 330.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.01366, allocations: 4 kB / 330.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007216/0.01438, allocations: 235.7 kB / 330.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/0.01679, allocations: 3.151 MB / 333.8 MB, free: 7.191 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.01698, allocations: 56.03 kB / 333.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.017, allocations: 8 kB / 333.9 MB, free: 7.129 MB / 298.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.0001175/0.01712, allocations: 141.8 kB / 334 MB, free: 6.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.01714, allocations: 23.86 kB / 334 MB, free: 6.957 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/0.01718, allocations: 30.11 kB / 334.1 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.01718, allocations: 7.938 kB / 334.1 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.01718, allocations: 3.984 kB / 334.1 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.01719, allocations: 0 / 334.1 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000918/0.01811, allocations: 0.7784 MB / 334.9 MB, free: 6.098 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.01811, allocations: 4 kB / 334.9 MB, free: 6.094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006798/0.01879, allocations: 239.6 kB / 335.1 MB, free: 5.859 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.01879, allocations: 4 kB / 335.1 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.01881, allocations: 0 / 335.1 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002198/0.021, allocations: 3.155 MB / 338.3 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.02101, allocations: 0 / 338.3 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007734/0.02178, allocations: 0.6022 MB / 338.9 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.487e-05/0.0218, allocations: 27.83 kB / 338.9 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.02183, allocations: 7.984 kB / 338.9 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.02198, allocations: 39.89 kB / 338.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.883e-05/0.02205, allocations: 36.02 kB / 339 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.02206, allocations: 4 kB / 339 MB, free: 1.762 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001006/0.02216, allocations: 169.2 kB / 339.1 MB, free: 1.598 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02216, allocations: 0 / 339.1 MB, free: 1.598 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003039/0.02247, allocations: 79.89 kB / 339.2 MB, free: 1.52 MB / 298.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.0001045/0.02257, allocations: 103.2 kB / 339.3 MB, free: 1.406 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.0237, allocations: 0.5629 MB / 339.9 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.0237, allocations: 0 / 339.9 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008137/0.02452, allocations: 343.8 kB / 340.2 MB, free: 496 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.02478, allocations: 35.3 kB / 340.2 MB, free: 460 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.02578, allocations: 0.6501 MB / 340.9 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.944e-05/0.02586, allocations: 142.2 kB / 341 MB, free: 15.6 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.469e-05/0.02593, allocations: 24.5 kB / 341.1 MB, free: 15.58 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02593, allocations: 0 / 341.1 MB, free: 15.58 MB / 314.7 MB Notification: Performance of Templates: time 0.004682/0.03061, allocations: 5.517 MB / 346.6 MB, free: 10.07 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.442077175714076]