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.0009024/0.0009024, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.00116/0.00116, allocations: 165.3 kB / 24.82 MB, free: 9.301 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.9777/0.9777, allocations: 177 MB / 205.1 MB, free: 5.48 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.773e-06/1.773e-06, allocations: 0 / 273.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206e-05/1.384e-05, allocations: 2.312 kB / 273.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003219/0.003233, allocations: 2.741 MB / 276.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.00435, allocations: 0.7321 MB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.00448, allocations: 4 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.004609, allocations: 43.58 kB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.004774, allocations: 91.14 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.005103, allocations: 119.7 kB / 277.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003596/0.005463, allocations: 398.3 kB / 277.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.005603, allocations: 60.69 kB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003211/0.005924, allocations: 235.4 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.006091, allocations: 135.6 kB / 277.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.579e-05/0.006137, allocations: 32 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.241e-05/0.00621, allocations: 32 kB / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.353e-05/0.006263, allocations: 71.73 kB / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.637e-05/0.006359, allocations: 107.7 kB / 278.1 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.006641, allocations: 259.1 kB / 278.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.006643, allocations: 0 / 278.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.006644, allocations: 0 / 278.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.006648, allocations: 0 / 278.4 MB, free: 12.15 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.0009198/0.007567, allocations: 0.6851 MB / 279.1 MB, free: 11.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.007603, allocations: 11.98 kB / 279.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.007748, allocations: 56.75 kB / 279.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.007986, allocations: 223.5 kB / 279.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.008008, allocations: 16.81 kB / 279.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.008046, allocations: 20.38 kB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004059/0.008452, allocations: 263.2 kB / 279.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.008464, allocations: 4.172 kB / 279.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.008486, allocations: 8.375 kB / 279.6 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.008497, allocations: 11.94 kB / 279.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.008645, allocations: 67.44 kB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.009699, allocations: 0.8157 MB / 280.5 MB, free: 9.844 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008703/0.01057, allocations: 234.8 kB / 280.8 MB, free: 9.602 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.01076, allocations: 106.9 kB / 280.9 MB, free: 9.496 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.01078, allocations: 4 kB / 280.9 MB, free: 9.492 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.01099, allocations: 173.7 kB / 281 MB, free: 9.289 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.01099, allocations: 3.938 kB / 281 MB, free: 9.285 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003599/0.01135, allocations: 185.8 kB / 281.2 MB, free: 9.098 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.0114, allocations: 110.8 kB / 281.3 MB, free: 8.965 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.01157, allocations: 280.1 kB / 281.6 MB, free: 8.676 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.0116, allocations: 33.83 kB / 281.6 MB, free: 8.637 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.0117, allocations: 211.1 kB / 281.9 MB, free: 8.426 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.342e-05/0.01175, allocations: 71.38 kB / 281.9 MB, free: 8.355 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.735e-05/0.01184, allocations: 59.56 kB / 282 MB, free: 8.289 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.01198, allocations: 0.5078 MB / 282.5 MB, free: 7.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.155e-05/0.01207, allocations: 54.16 kB / 282.5 MB, free: 7.711 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.01218, allocations: 135 kB / 282.7 MB, free: 7.551 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.01235, allocations: 136.7 kB / 282.8 MB, free: 7.398 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.01236, allocations: 4 kB / 282.8 MB, free: 7.395 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003058/0.01266, allocations: 240.8 kB / 283 MB, free: 7.141 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.01269, allocations: 29.7 kB / 283.1 MB, free: 7.105 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.01269, allocations: 4 kB / 283.1 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.0127, allocations: 0 / 283.1 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007322/0.01344, allocations: 163.8 kB / 283.2 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/0.01573, allocations: 3.915 MB / 287.2 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.0159, allocations: 47.98 kB / 287.2 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.01592, allocations: 7.938 kB / 287.2 MB, free: 2.75 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.000114/0.01603, allocations: 164.6 kB / 287.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.01608, allocations: 39.78 kB / 287.4 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.01612, allocations: 30.12 kB / 287.4 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.01612, allocations: 0 / 287.4 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.01612, allocations: 0 / 287.4 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.01613, allocations: 7.984 kB / 287.4 MB, free: 2.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007071/0.01683, allocations: 0.6563 MB / 288.1 MB, free: 1.801 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.01684, allocations: 3.984 kB / 288.1 MB, free: 1.797 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006909/0.01753, allocations: 155.8 kB / 288.3 MB, free: 1.645 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.01753, allocations: 4 kB / 288.3 MB, free: 1.641 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.01755, allocations: 7.984 kB / 288.3 MB, free: 1.633 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002131/0.01968, allocations: 3.904 MB / 292.2 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01968, allocations: 4.188 kB / 292.2 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/0.02006, allocations: 377.4 kB / 292.5 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.679e-05/0.02008, allocations: 19.8 kB / 292.6 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.02011, allocations: 8 kB / 292.6 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.02029, allocations: 27.97 kB / 292.6 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.02035, allocations: 35.81 kB / 292.6 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.02037, allocations: 16.02 kB / 292.6 MB, free: 13.01 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.573e-05/0.02046, allocations: 185.1 kB / 292.8 MB, free: 12.83 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02046, allocations: 4 kB / 292.8 MB, free: 12.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003926/0.02086, allocations: 75.89 kB / 292.9 MB, free: 12.75 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.824e-05/0.02095, allocations: 99.25 kB / 293 MB, free: 12.64 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000834/0.02179, allocations: 320.5 kB / 293.3 MB, free: 12.31 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.02179, allocations: 0 / 293.3 MB, free: 12.31 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006617/0.02245, allocations: 187.7 kB / 293.5 MB, free: 12.12 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.02277, allocations: 36.48 kB / 293.5 MB, free: 12.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.02383, allocations: 0.5792 MB / 294.1 MB, free: 11.47 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.319e-05/0.02389, allocations: 84.56 kB / 294.2 MB, free: 11.37 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.024, allocations: 17.95 kB / 294.2 MB, free: 11.35 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.02417, allocations: 114.2 kB / 294.3 MB, free: 11.24 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02417, allocations: 0 / 294.3 MB, free: 11.24 MB / 282.7 MB Notification: Performance of Templates: time 0.007972/0.03214, allocations: 4.14 MB / 298.5 MB, free: 7.148 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.7829610500484705]