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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 175.9 kB / 8.348 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 221.5 MB / 230.3 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008017/0.0008015, allocations: 87.55 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.697e-05/1.699e-05, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08513/0.08517, allocations: 50.43 MB / 387.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2834/0.3686, allocations: 80.23 MB / 467.7 MB, free: 14.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001918/0.3688, allocations: 71.95 kB / 467.8 MB, free: 14.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0145/0.3833, allocations: 4.912 MB / 472.7 MB, free: 9.598 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3833, allocations: 0 / 472.7 MB, free: 9.598 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.3834, allocations: 4 kB / 472.7 MB, free: 9.594 MB / 346.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.001112/0.3845, allocations: 0.6104 MB / 473.3 MB, free: 8.934 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3845, allocations: 8.031 kB / 473.3 MB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.096e-05/0.3846, allocations: 27.72 kB / 473.3 MB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.3849, allocations: 255.7 kB / 473.6 MB, free: 8.605 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.3849, allocations: 8 kB / 473.6 MB, free: 8.598 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.759e-05/0.385, allocations: 16 kB / 473.6 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003126/0.3853, allocations: 156.9 kB / 473.8 MB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.3857, allocations: 224.9 kB / 474 MB, free: 8.199 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.3857, allocations: 0 / 474 MB, free: 8.199 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.3857, allocations: 4 kB / 474 MB, free: 8.195 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.3858, allocations: 7.938 kB / 474 MB, free: 8.188 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.3875, allocations: 0.9644 MB / 475 MB, free: 7.168 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00264/0.3902, allocations: 479.6 kB / 475.4 MB, free: 6.691 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002926/0.3905, allocations: 144.8 kB / 475.6 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.3905, allocations: 7.984 kB / 475.6 MB, free: 6.539 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002765/0.3908, allocations: 179.1 kB / 475.7 MB, free: 6.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.693e-06/0.3908, allocations: 0 / 475.7 MB, free: 6.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003971/0.3912, allocations: 197.7 kB / 475.9 MB, free: 6.141 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.3913, allocations: 106.8 kB / 476 MB, free: 6.012 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.3915, allocations: 192 kB / 476.2 MB, free: 5.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.3915, allocations: 29.7 kB / 476.3 MB, free: 5.785 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.028e-05/0.3916, allocations: 156.3 kB / 476.4 MB, free: 5.629 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.481e-05/0.3917, allocations: 67 kB / 476.5 MB, free: 5.562 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.745e-05/0.3917, allocations: 4.031 kB / 476.5 MB, free: 5.559 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.437e-05/0.3918, allocations: 334.8 kB / 476.8 MB, free: 5.223 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.3919, allocations: 80.39 kB / 476.9 MB, free: 5.141 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.3921, allocations: 108.1 kB / 477 MB, free: 5.023 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.3922, allocations: 75.91 kB / 477.1 MB, free: 4.949 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3922, allocations: 0.75 kB / 477.1 MB, free: 4.949 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003838/0.3926, allocations: 233.4 kB / 477.3 MB, free: 4.715 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/0.3927, allocations: 37.7 kB / 477.3 MB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3927, allocations: 0 / 477.3 MB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3927, allocations: 0 / 477.3 MB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/0.395, allocations: 335.7 kB / 477.7 MB, free: 4.344 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004112/0.3991, allocations: 2.965 MB / 480.6 MB, free: 1.152 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004123/0.3995, allocations: 59.95 kB / 480.7 MB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/0.3995, allocations: 7.938 kB / 480.7 MB, free: 1.086 MB / 346.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 () * 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.0001102/0.3997, allocations: 114.3 kB / 480.8 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/0.3997, allocations: 27.7 kB / 480.8 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.214e-05/0.3998, allocations: 25.95 kB / 480.9 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.3998, allocations: 8 kB / 480.9 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.3998, allocations: 3.938 kB / 480.9 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3998, allocations: 3.984 kB / 480.9 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.4009, allocations: 0.7399 MB / 481.6 MB, free: 112 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.401, allocations: 0 / 481.6 MB, free: 112 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002354/0.4033, allocations: 327.7 kB / 481.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.4033, allocations: 0 / 481.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.4034, allocations: 4 kB / 481.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003874/0.4072, allocations: 2.953 MB / 484.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.912e-06/0.4073, allocations: 11.88 kB / 484.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006075/0.4079, allocations: 445.5 kB / 485.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.894e-05/0.408, allocations: 100.8 kB / 485.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.408, allocations: 0 / 485.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003905/0.4084, allocations: 56 kB / 485.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.581e-05/0.4085, allocations: 27.97 kB / 485.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.4086, allocations: 7.984 kB / 485.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001418/0.4087, allocations: 152.5 kB / 485.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.352e-06/0.4087, allocations: 0 / 485.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000491/0.4092, allocations: 91.77 kB / 485.8 MB, free: 11.69 MB / 362.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) * 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.0001807/0.4094, allocations: 103.2 kB / 485.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002192/0.4116, allocations: 481.5 kB / 486.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4116, allocations: 0 / 486.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001922/0.4135, allocations: 347.9 kB / 486.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.4139, allocations: 20.42 kB / 486.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.4152, allocations: 472.7 kB / 487.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.4156, allocations: 0.7633 MB / 487.9 MB, free: 9.457 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001479/0.4157, allocations: 26.02 kB / 487.9 MB, free: 9.434 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.702e-05/0.4158, allocations: 23.38 kB / 488 MB, free: 9.41 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4158, allocations: 0 / 488 MB, free: 9.41 MB / 362.7 MB Notification: Performance of Templates: time 0.006363/0.4222, allocations: 2.9 MB / 490.9 MB, free: 6.539 MB / 362.7 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","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches