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.001105/0.001105, allocations: 197.2 kB / 18.11 MB, free: 3.738 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.5 MB / 245.4 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008881/0.0008881, allocations: 99.27 kB / 297.5 MB, free: 6.707 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002609/0.0002611, allocations: 12 kB / 358.1 MB, free: 10.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2773, allocations: 51.29 MB / 409.4 MB, free: 27.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1491/0.4265, allocations: 81.72 MB / 491.1 MB, free: 9.816 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/0.4268, allocations: 71.95 kB / 491.2 MB, free: 9.746 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02259/0.4495, allocations: 5.059 MB / 496.2 MB, free: 4.668 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.626e-06/0.4495, allocations: 3.938 kB / 496.2 MB, free: 4.664 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.905e-05/0.4496, allocations: 8 kB / 496.2 MB, free: 4.656 MB / 362.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.001951/0.4515, allocations: 0.638 MB / 496.9 MB, free: 3.961 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.4516, allocations: 12.03 kB / 496.9 MB, free: 3.949 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002689/0.4519, allocations: 44.5 kB / 496.9 MB, free: 3.906 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000468/0.4524, allocations: 268.8 kB / 497.2 MB, free: 3.602 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/0.4524, allocations: 20.75 kB / 497.2 MB, free: 3.582 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.556e-05/0.4525, allocations: 20.38 kB / 497.2 MB, free: 3.562 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.4536, allocations: 326.3 kB / 497.6 MB, free: 3.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.4537, allocations: 192 / 497.6 MB, free: 3.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/0.4537, allocations: 11.94 kB / 497.6 MB, free: 3.219 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.4538, allocations: 8 kB / 497.6 MB, free: 3.211 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.4553, allocations: 333.5 kB / 497.9 MB, free: 2.887 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002687/0.458, allocations: 1.012 MB / 498.9 MB, free: 1.805 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004159/0.4621, allocations: 0.6193 MB / 499.5 MB, free: 1.176 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008309/0.463, allocations: 232.7 kB / 499.8 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.955e-05/0.463, allocations: 19.89 kB / 499.8 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008254/0.4639, allocations: 257.2 kB / 0.4883 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 3.015e-06/0.4639, allocations: 4 kB / 0.4883 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.002072/0.466, allocations: 0.5231 MB / 0.4888 GB, free: 128 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.4661, allocations: 110.8 kB / 0.4889 GB, free: 15.99 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.4664, allocations: 229 kB / 0.4891 GB, free: 15.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.4665, allocations: 33.7 kB / 0.4892 GB, free: 15.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.4666, allocations: 156.1 kB / 0.4893 GB, free: 15.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.057e-05/0.4667, allocations: 71 kB / 0.4894 GB, free: 15.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.4668, allocations: 8 kB / 0.4894 GB, free: 15.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4669, allocations: 326.8 kB / 0.4897 GB, free: 15.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006488/0.4676, allocations: 168.3 kB / 0.4899 GB, free: 14.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006957/0.4683, allocations: 200.2 kB / 0.4901 GB, free: 14.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.4697, allocations: 364 kB / 0.4904 GB, free: 14.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.4697, allocations: 0 / 0.4904 GB, free: 14.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001721/0.4715, allocations: 450.8 kB / 0.4908 GB, free: 13.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.22e-05/0.4715, allocations: 33.69 kB / 0.4909 GB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.4716, allocations: 3.938 kB / 0.4909 GB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.4716, allocations: 4 kB / 0.4909 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003404/0.475, allocations: 339.6 kB / 0.4912 GB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007393/0.4824, allocations: 3.24 MB / 0.4944 GB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006543/0.4831, allocations: 63.95 kB / 0.4944 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.574e-05/0.4832, allocations: 4 kB / 0.4944 GB, free: 10.01 MB / 378.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 ($whenCondition1,$PRE.pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.count) * 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 (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.0002531/0.4834, allocations: 137.8 kB / 0.4946 GB, free: 9.867 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.242e-05/0.4835, allocations: 31.64 kB / 0.4946 GB, free: 9.836 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.412e-05/0.4836, allocations: 30.19 kB / 0.4946 GB, free: 9.809 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.4836, allocations: 7.938 kB / 0.4946 GB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.4837, allocations: 3.938 kB / 0.4946 GB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.4837, allocations: 7.969 kB / 0.4946 GB, free: 9.789 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002757/0.4864, allocations: 0.9473 MB / 0.4956 GB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.4865, allocations: 12 kB / 0.4956 GB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0032/0.4897, allocations: 319.6 kB / 0.4959 GB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.4897, allocations: 3.984 kB / 0.4959 GB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.572e-05/0.4897, allocations: 8 kB / 0.4959 GB, free: 8.445 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006563/0.4963, allocations: 3.253 MB / 0.4991 GB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.4964, allocations: 4 kB / 0.4991 GB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/0.4987, allocations: 0.6663 MB / 0.4997 GB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.4988, allocations: 104.8 kB / 0.4998 GB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.249e-05/0.4989, allocations: 11.98 kB / 0.4998 GB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005608/0.4995, allocations: 51.95 kB / 0.4999 GB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.4997, allocations: 31.95 kB / 0.4999 GB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/0.4997, allocations: 8 kB / 0.4999 GB, free: 4.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002998/0.5, allocations: 172.5 kB / 0.5001 GB, free: 3.852 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5, allocations: 0 / 0.5001 GB, free: 3.852 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009277/0.501, allocations: 83.84 kB / 0.5002 GB, free: 3.77 MB / 378.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 (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.0003072/0.5013, allocations: 112.7 kB / 0.5003 GB, free: 3.652 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004351/0.5056, allocations: 0.6709 MB / 0.5009 GB, free: 2.969 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5057, allocations: 0 / 0.5009 GB, free: 2.969 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003521/0.5092, allocations: 467.7 kB / 0.5014 GB, free: 2.512 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006838/0.5099, allocations: 44.33 kB / 0.5014 GB, free: 2.469 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.5124, allocations: 0.8068 MB / 0.5022 GB, free: 1.625 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.5128, allocations: 0.7482 MB / 0.5029 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002332/0.5131, allocations: 25.94 kB / 0.503 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.746e-05/0.5132, allocations: 19.44 kB / 0.503 GB, free: 0.8086 MB / 378.7 MB Notification: Performance of SimCode: time 6.12e-07/0.5132, allocations: 4 kB / 0.503 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of Templates: time 0.2318/0.745, allocations: 3.246 MB / 0.5062 GB, free: 97.01 MB / 378.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/jenkins1/ws/OpenModelicaLibraryTestingWork/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