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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001198/0.001197, allocations: 114.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001239/0.001239, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 61.09 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1431, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004204/0.1474, allocations: 2.774 MB / 361.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.1489, allocations: 0.7478 MB / 362.4 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.149, allocations: 4 kB / 362.4 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.1492, allocations: 43.56 kB / 362.5 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.1494, allocations: 79.27 kB / 362.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004065/0.1498, allocations: 123.7 kB / 362.7 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004707/0.1503, allocations: 394.5 kB / 363 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/0.1506, allocations: 76.7 kB / 363.1 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003285/0.1509, allocations: 171.4 kB / 363.3 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.1512, allocations: 163.3 kB / 363.5 MB, free: 8.781 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.772e-05/0.1512, allocations: 32 kB / 363.5 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.879e-05/0.1513, allocations: 40 kB / 363.5 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.21e-05/0.1514, allocations: 75.73 kB / 363.6 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.1516, allocations: 155.2 kB / 363.7 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004316/0.152, allocations: 366.8 kB / 364.1 MB, free: 8.125 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.152, allocations: 0 / 364.1 MB, free: 8.125 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1521, allocations: 0 / 364.1 MB, free: 8.125 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1521, allocations: 0 / 364.1 MB, free: 8.125 MB / 302.1 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.001687/0.1538, allocations: 0.6881 MB / 364.8 MB, free: 7.383 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1538, allocations: 8.031 kB / 364.8 MB, free: 7.375 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/0.154, allocations: 44.55 kB / 364.8 MB, free: 7.332 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004183/0.1545, allocations: 282.6 kB / 365.1 MB, free: 7.012 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.1545, allocations: 12.81 kB / 365.1 MB, free: 7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.812e-05/0.1546, allocations: 28.28 kB / 365.2 MB, free: 6.973 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007257/0.1553, allocations: 314 kB / 365.5 MB, free: 6.652 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1553, allocations: 0 / 365.5 MB, free: 6.652 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.1553, allocations: 12 kB / 365.5 MB, free: 6.641 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.1554, allocations: 4 kB / 365.5 MB, free: 6.637 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008919/0.1563, allocations: 301.5 kB / 365.8 MB, free: 6.344 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.1581, allocations: 0.957 MB / 366.7 MB, free: 5.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002857/0.161, allocations: 0.4944 MB / 367.2 MB, free: 4.816 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006202/0.1616, allocations: 220.7 kB / 367.4 MB, free: 4.598 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.802e-05/0.1617, allocations: 4 kB / 367.4 MB, free: 4.594 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006354/0.1623, allocations: 249.1 kB / 367.7 MB, free: 4.332 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 2.544e-06/0.1624, allocations: 0 / 367.7 MB, free: 4.332 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001515/0.1639, allocations: 472 kB / 368.2 MB, free: 3.867 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.914e-05/0.164, allocations: 106.8 kB / 368.3 MB, free: 3.738 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/0.1643, allocations: 240.9 kB / 368.5 MB, free: 3.488 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.1643, allocations: 33.7 kB / 368.5 MB, free: 3.449 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.1645, allocations: 164.2 kB / 368.7 MB, free: 3.285 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.378e-05/0.1645, allocations: 74.98 kB / 368.8 MB, free: 3.211 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.1646, allocations: 45.94 kB / 368.8 MB, free: 3.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1648, allocations: 334.8 kB / 369.1 MB, free: 2.824 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004591/0.1653, allocations: 140.4 kB / 369.3 MB, free: 2.688 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00049/0.1658, allocations: 181.9 kB / 369.4 MB, free: 2.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009115/0.1667, allocations: 321.8 kB / 369.8 MB, free: 2.172 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.1667, allocations: 3.938 kB / 369.8 MB, free: 2.168 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001079/0.1678, allocations: 410.8 kB / 370.2 MB, free: 1.754 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.029e-05/0.1678, allocations: 41.62 kB / 370.2 MB, free: 1.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1679, allocations: 0 / 370.2 MB, free: 1.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.1679, allocations: 0 / 370.2 MB, free: 1.707 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001762/0.1697, allocations: 271.6 kB / 370.5 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2256/0.3952, allocations: 3.432 MB / 373.9 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004941/0.3958, allocations: 55 kB / 374 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.533e-05/0.3958, allocations: 11.17 kB / 374 MB, free: 17.79 MB / 302.1 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.0002009/0.396, allocations: 143.6 kB / 374.1 MB, free: 17.67 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.75e-05/0.3961, allocations: 29.59 kB / 374.1 MB, free: 17.67 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.06e-05/0.3962, allocations: 28.97 kB / 374.2 MB, free: 17.67 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.3962, allocations: 6.656 kB / 374.2 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3962, allocations: 2.391 kB / 374.2 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.3962, allocations: 1.297 kB / 374.2 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/0.3983, allocations: 0.9009 MB / 375.1 MB, free: 17.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.3983, allocations: 1.594 kB / 375.1 MB, free: 17.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001995/0.4003, allocations: 263.8 kB / 375.3 MB, free: 17.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/0.4004, allocations: 1.875 kB / 375.3 MB, free: 17.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/0.4004, allocations: 5.312 kB / 375.3 MB, free: 17.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004825/0.4052, allocations: 3.445 MB / 378.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4053, allocations: 1.469 kB / 378.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/0.407, allocations: 0.6132 MB / 379.4 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.4072, allocations: 101.7 kB / 379.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.957e-05/0.4072, allocations: 9.469 kB / 379.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003757/0.4076, allocations: 41.83 kB / 379.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.4077, allocations: 29.59 kB / 379.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/0.4078, allocations: 7.75 kB / 379.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001952/0.408, allocations: 176 kB / 379.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 3e-07/0.408, allocations: 0 / 379.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005314/0.4085, allocations: 82.94 kB / 379.8 MB, free: 13.95 MB / 302.1 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.0001717/0.4087, allocations: 110.5 kB / 379.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002696/0.4114, allocations: 0.572 MB / 380.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4114, allocations: 1.188 kB / 380.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002101/0.4135, allocations: 388 kB / 380.9 MB, free: 13.67 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.414, allocations: 40.66 kB / 380.9 MB, free: 13.65 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.4161, allocations: 0.6861 MB / 381.6 MB, free: 13.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.4164, allocations: 0.7509 MB / 382.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000138/0.4166, allocations: 27.44 kB / 382.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.322e-05/0.4167, allocations: 19.97 kB / 382.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4167, allocations: 1.438 kB / 382.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of Templates: time 0.009439/0.4261, allocations: 3.82 MB / 386.2 MB, free: 12.22 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (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 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches