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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001817/0.001817, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 226.8 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00135/0.00135, allocations: 100.5 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000964/0.0009641, allocations: 63.84 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2379, allocations: 50.45 MB / 407 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003161/0.2411, allocations: 2.782 MB / 409.8 MB, free: 25.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.2421, allocations: 0.7443 MB / 410.6 MB, free: 24.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.2422, allocations: 5.75 kB / 410.6 MB, free: 24.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.2424, allocations: 35.75 kB / 410.6 MB, free: 24.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.2426, allocations: 74.45 kB / 410.7 MB, free: 24.17 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.2428, allocations: 91.84 kB / 410.8 MB, free: 24.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002768/0.2431, allocations: 358.5 kB / 411.1 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.2433, allocations: 77.11 kB / 411.2 MB, free: 23.65 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.2435, allocations: 135.5 kB / 411.3 MB, free: 23.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.2436, allocations: 155.3 kB / 411.5 MB, free: 23.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.234e-05/0.2437, allocations: 20 kB / 411.5 MB, free: 23.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.015e-05/0.2438, allocations: 24 kB / 411.5 MB, free: 23.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.658e-05/0.2438, allocations: 63.67 kB / 411.6 MB, free: 23.26 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.2439, allocations: 143.3 kB / 411.7 MB, free: 23.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.2442, allocations: 352.3 kB / 412.1 MB, free: 22.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2442, allocations: 0 / 412.1 MB, free: 22.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2442, allocations: 0 / 412.1 MB, free: 22.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.2442, allocations: 0 / 412.1 MB, free: 22.77 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.001337/0.2455, allocations: 0.6726 MB / 412.8 MB, free: 22.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.2456, allocations: 12.88 kB / 412.8 MB, free: 22.04 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.2457, allocations: 44.55 kB / 412.8 MB, free: 21.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.246, allocations: 264.8 kB / 413.1 MB, free: 21.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.246, allocations: 16.81 kB / 413.1 MB, free: 21.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.825e-05/0.2461, allocations: 20.38 kB / 413.1 MB, free: 21.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006484/0.2467, allocations: 310 kB / 413.4 MB, free: 21.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.2467, allocations: 4 kB / 413.4 MB, free: 21.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.2468, allocations: 8 kB / 413.4 MB, free: 21.33 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-06/0.2468, allocations: 4 kB / 413.4 MB, free: 21.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008382/0.2476, allocations: 297.5 kB / 413.7 MB, free: 21.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.249, allocations: 0.9646 MB / 414.7 MB, free: 20 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002645/0.2517, allocations: 498.2 kB / 415.2 MB, free: 19.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005614/0.2523, allocations: 212.7 kB / 415.4 MB, free: 19.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.2523, allocations: 8 kB / 415.4 MB, free: 19.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006409/0.253, allocations: 241.2 kB / 415.6 MB, free: 19.03 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.934e-06/0.253, allocations: 0 / 415.6 MB, free: 19.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.001352/0.2543, allocations: 467.9 kB / 416.1 MB, free: 18.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.2544, allocations: 106.8 kB / 416.2 MB, free: 18.44 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.2546, allocations: 233 kB / 416.4 MB, free: 18.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.2546, allocations: 29.7 kB / 416.4 MB, free: 18.17 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.112e-05/0.2547, allocations: 160.2 kB / 416.6 MB, free: 18.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.148e-05/0.2548, allocations: 71 kB / 416.7 MB, free: 17.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.094e-05/0.2548, allocations: 49.92 kB / 416.7 MB, free: 17.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.029e-05/0.2549, allocations: 330.8 kB / 417 MB, free: 17.55 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004232/0.2553, allocations: 144.3 kB / 417.2 MB, free: 17.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004268/0.2558, allocations: 176.2 kB / 417.3 MB, free: 17.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000797/0.2566, allocations: 321.5 kB / 417.7 MB, free: 16.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2566, allocations: 0 / 417.7 MB, free: 16.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009653/0.2576, allocations: 402.8 kB / 418 MB, free: 16.49 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.2576, allocations: 40.45 kB / 418.1 MB, free: 16.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.2576, allocations: 0 / 418.1 MB, free: 16.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.2576, allocations: 4 kB / 418.1 MB, free: 16.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/0.2592, allocations: 239.7 kB / 418.3 MB, free: 16.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003513/0.2627, allocations: 3.115 MB / 421.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003423/0.2631, allocations: 47.8 kB / 421.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.2631, allocations: 11.98 kB / 421.5 MB, free: 12.77 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.0001153/0.2632, allocations: 145.8 kB / 421.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.2633, allocations: 23.72 kB / 421.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.316e-05/0.2633, allocations: 30.17 kB / 421.7 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.2634, allocations: 7.938 kB / 421.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.2634, allocations: 0 / 421.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2634, allocations: 0 / 421.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.2648, allocations: 0.9034 MB / 422.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2648, allocations: 4 kB / 422.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/0.2664, allocations: 231.8 kB / 422.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.2664, allocations: 4 kB / 422.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.2664, allocations: 0 / 422.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003278/0.2697, allocations: 3.126 MB / 426 MB, free: 7.973 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2697, allocations: 8.156 kB / 426 MB, free: 7.965 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01092/0.2806, allocations: 3.07 MB / 429 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.2807, allocations: 108.8 kB / 429.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.2807, allocations: 4.062 kB / 429.2 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003128/0.2811, allocations: 39.95 kB / 429.2 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.933e-05/0.2812, allocations: 35.86 kB / 429.2 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.2812, allocations: 7.984 kB / 429.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001159/0.2813, allocations: 172.5 kB / 429.4 MB, free: 4.363 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2813, allocations: 4 kB / 429.4 MB, free: 4.359 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005396/0.2819, allocations: 107.8 kB / 429.5 MB, free: 4.254 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.0001118/0.282, allocations: 104.2 kB / 429.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002239/0.2842, allocations: 0.534 MB / 430.1 MB, free: 3.598 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2842, allocations: 4.219 kB / 430.2 MB, free: 3.594 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001749/0.286, allocations: 359.6 kB / 430.5 MB, free: 3.242 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.2864, allocations: 32.42 kB / 430.5 MB, free: 3.211 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.288, allocations: 0.9474 MB / 431.5 MB, free: 2.219 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.2881, allocations: 0.756 MB / 432.2 MB, free: 1.438 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001795/0.2883, allocations: 25.95 kB / 432.3 MB, free: 1.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.2884, allocations: 23.42 kB / 432.3 MB, free: 1.387 MB / 298.7 MB Notification: Performance of SimCode: time 4.1e-07/0.2884, allocations: 4 kB / 432.3 MB, free: 1.383 MB / 298.7 MB Notification: Performance of Templates: time 0.008256/0.2967, allocations: 5.033 MB / 437.3 MB, free: 12.38 MB / 314.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches