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.001289/0.001289, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.006472/0.006472, allocations: 160.8 kB / 24.7 MB, free: 9.441 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 0.8761/0.8761, allocations: 177 MB / 204.9 MB, free: 5.719 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.904e-06/1.904e-06, allocations: 0 / 325.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.885e-05, allocations: 3.125 kB / 325.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003556/0.003584, allocations: 2.596 MB / 328.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.004601, allocations: 0.7245 MB / 329.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.004715, allocations: 3.938 kB / 329.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.004853, allocations: 39.62 kB / 329.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.004983, allocations: 95.14 kB / 329.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.00532, allocations: 115.6 kB / 329.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003114/0.005632, allocations: 398.3 kB / 329.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.005779, allocations: 60.89 kB / 329.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002766/0.006056, allocations: 223.5 kB / 330 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.006195, allocations: 131.6 kB / 330.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.183e-05/0.006237, allocations: 39.94 kB / 330.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.839e-05/0.006296, allocations: 32 kB / 330.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.041e-05/0.006346, allocations: 75.72 kB / 330.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.455e-05/0.006431, allocations: 111.7 kB / 330.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.006757, allocations: 394.8 kB / 330.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.006762, allocations: 0 / 330.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.006763, allocations: 0 / 330.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.006769, allocations: 4 kB / 330.8 MB, free: 10.29 MB / 298.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.0009828/0.007751, allocations: 0.6126 MB / 331.4 MB, free: 9.641 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.007793, allocations: 15.97 kB / 331.4 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.007961, allocations: 36.75 kB / 331.5 MB, free: 9.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.008359, allocations: 216.8 kB / 331.7 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.008384, allocations: 16.88 kB / 331.7 MB, free: 9.336 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.685e-05/0.008431, allocations: 20.33 kB / 331.7 MB, free: 9.316 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006346/0.009065, allocations: 340.9 kB / 332 MB, free: 8.965 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.009077, allocations: 4.125 kB / 332 MB, free: 8.961 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.009108, allocations: 12.38 kB / 332.1 MB, free: 8.949 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.009116, allocations: 7.938 kB / 332.1 MB, free: 8.941 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000721/0.009837, allocations: 297.8 kB / 332.4 MB, free: 8.648 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.0111, allocations: 0.8363 MB / 333.2 MB, free: 7.766 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.01243, allocations: 490.1 kB / 333.7 MB, free: 7.277 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003523/0.01278, allocations: 204.7 kB / 333.9 MB, free: 7.074 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.0128, allocations: 11.98 kB / 333.9 MB, free: 7.062 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003772/0.01318, allocations: 255.5 kB / 334.1 MB, free: 6.785 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.173e-06/0.01318, allocations: 4 kB / 334.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008262/0.01401, allocations: 473.6 kB / 334.6 MB, free: 6.312 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.01406, allocations: 110.8 kB / 334.7 MB, free: 6.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.01422, allocations: 233.8 kB / 334.9 MB, free: 5.941 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.01424, allocations: 29.7 kB / 335 MB, free: 5.906 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.024e-05/0.01432, allocations: 164.4 kB / 335.1 MB, free: 5.742 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.707e-05/0.01437, allocations: 79.36 kB / 335.2 MB, free: 5.664 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.659e-05/0.01444, allocations: 41.94 kB / 335.2 MB, free: 5.617 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.533e-05/0.01452, allocations: 338.8 kB / 335.6 MB, free: 5.277 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.01478, allocations: 178 kB / 335.8 MB, free: 5.098 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.01506, allocations: 231.7 kB / 336 MB, free: 4.848 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004628/0.01552, allocations: 312.1 kB / 336.3 MB, free: 4.527 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.01552, allocations: 0 / 336.3 MB, free: 4.527 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005846/0.01611, allocations: 448.6 kB / 336.7 MB, free: 4.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.01613, allocations: 33.7 kB / 336.8 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.01614, allocations: 4 kB / 336.8 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.01615, allocations: 3.938 kB / 336.8 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007465/0.0169, allocations: 267.7 kB / 337 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002429/0.01933, allocations: 3.175 MB / 340.2 MB, free: 396 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.01949, allocations: 63.7 kB / 340.3 MB, free: 332 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.01951, allocations: 8 kB / 340.3 MB, free: 324 kB / 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.0001086/0.01962, allocations: 140.7 kB / 340.4 MB, free: 176 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.01964, allocations: 23.86 kB / 340.4 MB, free: 152 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.356e-05/0.01968, allocations: 42.19 kB / 340.5 MB, free: 116 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.01968, allocations: 3.938 kB / 340.5 MB, free: 112 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.01968, allocations: 4 kB / 340.5 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.01968, allocations: 4 kB / 340.5 MB, free: 104 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009283/0.02061, allocations: 0.7878 MB / 341.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.02061, allocations: 0 / 341.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007209/0.02134, allocations: 267.6 kB / 341.5 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.02134, allocations: 0 / 341.5 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.02135, allocations: 4 kB / 341.5 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002243/0.0236, allocations: 3.179 MB / 344.7 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.0236, allocations: 4.031 kB / 344.7 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007809/0.02438, allocations: 0.6091 MB / 345.3 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.327e-05/0.0244, allocations: 23.78 kB / 345.3 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.02443, allocations: 8 kB / 345.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.02458, allocations: 39.95 kB / 345.4 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/0.02464, allocations: 31.89 kB / 345.4 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.02466, allocations: 11.98 kB / 345.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.588e-05/0.02475, allocations: 165.3 kB / 345.6 MB, free: 10.71 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02475, allocations: 4 kB / 345.6 MB, free: 10.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003117/0.02506, allocations: 79.89 kB / 345.7 MB, free: 10.63 MB / 314.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.000103/0.02517, allocations: 116 kB / 345.8 MB, free: 10.51 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.02633, allocations: 0.5902 MB / 346.4 MB, free: 9.898 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.02634, allocations: 0 / 346.4 MB, free: 9.898 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008498/0.02719, allocations: 367.8 kB / 346.7 MB, free: 9.539 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.02744, allocations: 50.72 kB / 346.8 MB, free: 9.496 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009457/0.02839, allocations: 0.6499 MB / 347.4 MB, free: 8.809 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.763e-05/0.02848, allocations: 146.1 kB / 347.6 MB, free: 8.645 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.603e-05/0.02854, allocations: 24.48 kB / 347.6 MB, free: 8.621 MB / 314.7 MB Notification: Performance of SimCode: time 4.11e-07/0.02854, allocations: 0 / 347.6 MB, free: 8.621 MB / 314.7 MB Notification: Performance of Templates: time 0.004674/0.03322, allocations: 5.583 MB / 353.2 MB, free: 3.043 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.381934117525816]