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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 92.75 kB / 16.65 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001556/0.001555, allocations: 184.2 kB / 17.57 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003816, allocations: 11.94 kB / 301.4 MB, free: 6.148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1595, allocations: 50.41 MB / 351.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.005792/0.1654, allocations: 2.409 MB / 354.2 MB, free: 1.305 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002689/0.1681, allocations: 0.6935 MB / 354.9 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003725/0.1686, allocations: 4 kB / 354.9 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.1688, allocations: 27.75 kB / 355 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003388/0.1692, allocations: 75.41 kB / 355 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000586/0.1698, allocations: 91.83 kB / 355.1 MB, free: 420 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006157/0.1704, allocations: 358.5 kB / 355.5 MB, free: 60 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003268/0.1707, allocations: 76.97 kB / 355.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004347/0.1712, allocations: 127.5 kB / 355.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004072/0.1716, allocations: 155.3 kB / 355.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.679e-05/0.1717, allocations: 19.94 kB / 355.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.029e-05/0.1718, allocations: 20 kB / 355.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.046e-05/0.1719, allocations: 47.77 kB / 355.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003017/0.1722, allocations: 165 kB / 356.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005064/0.1727, allocations: 339 kB / 356.4 MB, free: 15.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1728, allocations: 0 / 356.4 MB, free: 15.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.115e-06/0.1728, allocations: 4 kB / 356.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.1728, allocations: 0 / 356.4 MB, free: 15.11 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.002299/0.1751, allocations: 0.661 MB / 357.1 MB, free: 14.4 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.899e-05/0.1752, allocations: 8.031 kB / 357.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002266/0.1754, allocations: 36.59 kB / 357.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007346/0.1762, allocations: 268.8 kB / 357.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5e-05/0.1763, allocations: 12.81 kB / 357.4 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-05/0.1764, allocations: 24.36 kB / 357.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.1775, allocations: 334 kB / 357.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1776, allocations: 0 / 357.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.388e-05/0.1776, allocations: 12 kB / 357.8 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.1777, allocations: 4 kB / 357.8 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.1791, allocations: 337.5 kB / 358.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002727/0.1818, allocations: 0.992 MB / 359.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003922/0.1858, allocations: 0.592 MB / 359.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007696/0.1865, allocations: 243.5 kB / 359.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.48e-05/0.1866, allocations: 7.984 kB / 359.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008264/0.1874, allocations: 264.7 kB / 360.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 3.727e-06/0.1875, allocations: 0 / 360.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001903/0.1894, allocations: 0.521 MB / 360.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.1895, allocations: 110.8 kB / 360.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003675/0.1899, allocations: 233 kB / 361 MB, free: 10.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/0.1899, allocations: 25.7 kB / 361.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.1901, allocations: 164.1 kB / 361.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.767e-05/0.1902, allocations: 71.02 kB / 361.3 MB, free: 9.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.759e-05/0.1903, allocations: 25.7 kB / 361.3 MB, free: 9.949 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.1905, allocations: 334.8 kB / 361.6 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005681/0.1911, allocations: 160.4 kB / 361.8 MB, free: 9.453 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005738/0.1916, allocations: 205.2 kB / 362 MB, free: 9.242 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.1929, allocations: 356.1 kB / 362.3 MB, free: 8.879 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.1929, allocations: 0 / 362.3 MB, free: 8.879 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001666/0.1946, allocations: 454.8 kB / 362.8 MB, free: 8.422 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.353e-05/0.1946, allocations: 37.64 kB / 362.8 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.1947, allocations: 0 / 362.8 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.071e-05/0.1947, allocations: 4 kB / 362.8 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002341/0.1971, allocations: 311.6 kB / 363.1 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006672/0.2038, allocations: 3.217 MB / 366.3 MB, free: 4.594 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006319/0.2044, allocations: 71.86 kB / 366.4 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.489e-05/0.2045, allocations: 4 kB / 366.4 MB, free: 4.52 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.000358/0.2049, allocations: 145 kB / 366.6 MB, free: 4.371 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.205, allocations: 23.72 kB / 366.6 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.2052, allocations: 34.17 kB / 366.6 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.2052, allocations: 7.938 kB / 366.6 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.2052, allocations: 3.984 kB / 366.6 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.2052, allocations: 4 kB / 366.6 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003097/0.2083, allocations: 0.9621 MB / 367.6 MB, free: 3.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.2083, allocations: 0 / 367.6 MB, free: 3.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00235/0.2107, allocations: 299.8 kB / 367.9 MB, free: 2.977 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.2107, allocations: 4 kB / 367.9 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.612e-05/0.2108, allocations: 7.984 kB / 367.9 MB, free: 2.965 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2232/0.434, allocations: 3.218 MB / 371.1 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/0.434, allocations: 4.594 kB / 371.1 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/0.4359, allocations: 0.666 MB / 371.8 MB, free: 23.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-05/0.436, allocations: 100.9 kB / 371.9 MB, free: 23.44 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.4361, allocations: 7.016 kB / 371.9 MB, free: 23.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003926/0.4365, allocations: 51.8 kB / 371.9 MB, free: 23.44 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.4366, allocations: 28.84 kB / 372 MB, free: 23.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.4366, allocations: 7.266 kB / 372 MB, free: 23.44 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002216/0.4369, allocations: 171.2 kB / 372.1 MB, free: 23.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4369, allocations: 3.844 kB / 372.2 MB, free: 23.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000529/0.4374, allocations: 81.02 kB / 372.2 MB, free: 23.36 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.0001333/0.4375, allocations: 106.8 kB / 372.3 MB, free: 23.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002954/0.4405, allocations: 0.6469 MB / 373 MB, free: 23.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.4405, allocations: 5 kB / 373 MB, free: 23.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002404/0.4429, allocations: 444.1 kB / 373.4 MB, free: 23.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005828/0.4435, allocations: 37.83 kB / 373.5 MB, free: 23.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.4454, allocations: 0.843 MB / 374.3 MB, free: 22.81 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.4456, allocations: 0.7466 MB / 375 MB, free: 22.12 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001543/0.4457, allocations: 29.48 kB / 375.1 MB, free: 22.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.961e-05/0.4458, allocations: 20.44 kB / 375.1 MB, free: 22.1 MB / 302.1 MB Notification: Performance of SimCode: time 1.322e-06/0.4458, allocations: 1.125 kB / 375.1 MB, free: 22.1 MB / 302.1 MB Notification: Performance of Templates: time 0.01021/0.456, allocations: 3.403 MB / 378.5 MB, free: 21.89 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (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) 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) Reference file matches