Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002367/0.002367, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.021/2.021, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 91.42 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 3.005e-05/3.017e-05, allocations: 4 kB / 314.8 MB, free: 9.152 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3351, allocations: 47.56 MB / 362.3 MB, free: 45.81 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.4599, allocations: 78.56 MB / 440.9 MB, free: 7.754 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.4602, allocations: 67.95 kB / 441 MB, free: 7.688 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02439/0.4846, allocations: 4.728 MB / 445.7 MB, free: 2.988 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4847, allocations: 0 / 445.7 MB, free: 2.988 MB / 331.1 MB Notification: Performance of Transformations before backend: time 2.629e-05/0.4847, allocations: 8 kB / 445.7 MB, free: 2.98 MB / 331.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.001908/0.4866, allocations: 0.6064 MB / 446.3 MB, free: 2.324 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.4867, allocations: 12.03 kB / 446.3 MB, free: 2.312 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.4868, allocations: 24.38 kB / 446.3 MB, free: 2.289 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004778/0.4873, allocations: 267.4 kB / 446.6 MB, free: 1.984 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.4873, allocations: 7.953 kB / 446.6 MB, free: 1.977 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.941e-05/0.4874, allocations: 12 kB / 446.6 MB, free: 1.965 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005577/0.488, allocations: 164.9 kB / 446.8 MB, free: 1.805 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005959/0.4886, allocations: 220.9 kB / 447 MB, free: 1.574 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.4886, allocations: 0 / 447 MB, free: 1.574 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.302e-05/0.4887, allocations: 5.703 kB / 447 MB, free: 1.57 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.4887, allocations: 4 kB / 447 MB, free: 1.566 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003121/0.4918, allocations: 0.9668 MB / 448 MB, free: 0.5469 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004918/0.4968, allocations: 466.4 kB / 448.4 MB, free: 84 kB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005939/0.4974, allocations: 152.8 kB / 448.6 MB, free: 15.93 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.956e-05/0.4975, allocations: 0 / 448.6 MB, free: 15.93 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004667/0.498, allocations: 171.5 kB / 448.7 MB, free: 15.74 MB / 347.1 MB Notification: Performance of pre-optimization done (n=21): time 2.335e-06/0.498, allocations: 4 kB / 448.7 MB, free: 15.73 MB / 347.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006846/0.4987, allocations: 201.3 kB / 448.9 MB, free: 15.53 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.753e-05/0.4988, allocations: 111.7 kB / 449.1 MB, free: 15.4 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.4991, allocations: 188 kB / 449.2 MB, free: 15.21 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 8.138e-05/0.4992, allocations: 25.7 kB / 449.3 MB, free: 15.18 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.4994, allocations: 226.6 kB / 449.5 MB, free: 14.96 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.068e-05/0.4995, allocations: 63.02 kB / 449.5 MB, free: 14.89 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.4995, allocations: 4 kB / 449.5 MB, free: 14.89 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.4997, allocations: 322.9 kB / 449.9 MB, free: 14.57 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.4999, allocations: 72.47 kB / 449.9 MB, free: 14.49 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002823/0.5002, allocations: 109.1 kB / 450 MB, free: 14.38 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.5005, allocations: 82.5 kB / 450.1 MB, free: 14.3 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.5005, allocations: 1.125 kB / 450.1 MB, free: 14.3 MB / 347.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006939/0.5012, allocations: 227 kB / 450.3 MB, free: 14.07 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.808e-05/0.5013, allocations: 33.7 kB / 450.4 MB, free: 14.03 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.5013, allocations: 3.984 kB / 450.4 MB, free: 14.03 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.5013, allocations: 0 / 450.4 MB, free: 14.03 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004325/0.5057, allocations: 339.6 kB / 450.7 MB, free: 13.7 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006998/0.5127, allocations: 2.956 MB / 453.7 MB, free: 10.52 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008033/0.5136, allocations: 63.91 kB / 453.7 MB, free: 10.46 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.5136, allocations: 4 kB / 453.7 MB, free: 10.45 MB / 347.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 ($whenCondition1,$PRE.pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.count) * Number of discrete 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001635/0.5138, allocations: 108.9 kB / 453.8 MB, free: 10.34 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.25e-05/0.5139, allocations: 23.72 kB / 453.9 MB, free: 10.32 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.757e-05/0.514, allocations: 29.95 kB / 453.9 MB, free: 10.29 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.514, allocations: 5.969 kB / 453.9 MB, free: 10.29 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.514, allocations: 7.953 kB / 453.9 MB, free: 10.28 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.5141, allocations: 0 / 453.9 MB, free: 10.28 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/0.516, allocations: 0.7402 MB / 454.6 MB, free: 9.488 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.516, allocations: 0 / 454.6 MB, free: 9.488 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004289/0.5203, allocations: 319.8 kB / 455 MB, free: 9.176 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.416e-05/0.5204, allocations: 4 kB / 455 MB, free: 9.172 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.668e-05/0.5205, allocations: 12.92 kB / 455 MB, free: 9.16 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006868/0.5274, allocations: 2.957 MB / 457.9 MB, free: 5.977 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.5274, allocations: 2.812 kB / 457.9 MB, free: 5.977 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001/0.5284, allocations: 439.1 kB / 458.4 MB, free: 5.516 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.5286, allocations: 104.9 kB / 458.5 MB, free: 5.395 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.5286, allocations: 0 / 458.5 MB, free: 5.395 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006969/0.5293, allocations: 52.02 kB / 458.5 MB, free: 5.344 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.5295, allocations: 31.89 kB / 458.6 MB, free: 5.312 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.5295, allocations: 15.89 kB / 458.6 MB, free: 5.297 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0002183/0.5298, allocations: 152.5 kB / 458.7 MB, free: 5.152 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5298, allocations: 0 / 458.7 MB, free: 5.152 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0006734/0.5305, allocations: 79.84 kB / 458.8 MB, free: 5.074 MB / 347.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) * 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002161/0.5307, allocations: 107.2 kB / 458.9 MB, free: 4.957 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.004101/0.5348, allocations: 481.3 kB / 459.4 MB, free: 4.477 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/0.5349, allocations: 5.031 kB / 459.4 MB, free: 4.473 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003683/0.5386, allocations: 327.9 kB / 459.7 MB, free: 4.152 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005051/0.5391, allocations: 24.42 kB / 459.7 MB, free: 4.129 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.5414, allocations: 0.4959 MB / 460.2 MB, free: 3.605 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.5419, allocations: 0.7555 MB / 461 MB, free: 2.824 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.5421, allocations: 23.42 kB / 461 MB, free: 2.801 MB / 347.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5421, allocations: 0 / 461 MB, free: 2.801 MB / 347.1 MB Notification: Performance of Templates: time 0.01178/0.5539, allocations: 5.078 MB / 466.1 MB, free: 13.75 MB / 363.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches