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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.000955/0.0009549, allocations: 94.75 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001187/0.001187, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.531/1.531, allocations: 227.2 MB / 245.9 MB, free: 12.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002792/0.0002795, allocations: 8 kB / 306.6 MB, free: 1.668 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1278, allocations: 51.5 MB / 358.1 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.002812/0.1307, allocations: 2.225 MB / 360.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.1319, allocations: 0.7212 MB / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.132, allocations: 7.938 kB / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.244e-05/0.1321, allocations: 23.83 kB / 361 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002243/0.1323, allocations: 103.6 kB / 361.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.1326, allocations: 75.83 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002975/0.133, allocations: 239.5 kB / 361.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.1331, allocations: 65.31 kB / 361.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.1334, allocations: 135.5 kB / 361.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.1336, allocations: 151.4 kB / 361.8 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.1337, allocations: 16 kB / 361.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.03e-05/0.1337, allocations: 20 kB / 361.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.967e-05/0.1338, allocations: 51.81 kB / 361.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.721e-05/0.1339, allocations: 69.58 kB / 361.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.1342, allocations: 263.5 kB / 362.2 MB, free: 10 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1342, allocations: 4 kB / 362.2 MB, free: 9.996 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1342, allocations: 4 kB / 362.2 MB, free: 9.992 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1342, allocations: 0 / 362.2 MB, free: 9.992 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.001447/0.1356, allocations: 0.6608 MB / 362.9 MB, free: 9.277 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.1357, allocations: 12.02 kB / 362.9 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001933/0.1359, allocations: 35.72 kB / 362.9 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.1362, allocations: 263.6 kB / 363.2 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.1363, allocations: 24.39 kB / 363.2 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.549e-05/0.1363, allocations: 16 kB / 363.2 MB, free: 8.891 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007257/0.137, allocations: 329.7 kB / 363.5 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1371, allocations: 0 / 363.5 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.1371, allocations: 8 kB / 363.5 MB, free: 8.547 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.1371, allocations: 4 kB / 363.5 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008978/0.138, allocations: 341.5 kB / 363.9 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.1397, allocations: 0.9881 MB / 364.9 MB, free: 7.152 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002872/0.1426, allocations: 0.592 MB / 365.5 MB, free: 6.551 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.219e-05/0.1426, allocations: 4 kB / 365.5 MB, free: 6.547 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006596/0.1433, allocations: 264.4 kB / 365.7 MB, free: 6.273 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.834e-06/0.1433, allocations: 0 / 365.7 MB, free: 6.273 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001537/0.1448, allocations: 0.5225 MB / 366.2 MB, free: 5.746 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.1449, allocations: 81.11 kB / 366.3 MB, free: 5.648 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/0.1451, allocations: 233 kB / 366.6 MB, free: 5.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.1452, allocations: 29.7 kB / 366.6 MB, free: 5.375 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1453, allocations: 156.2 kB / 366.7 MB, free: 5.219 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.911e-05/0.1454, allocations: 78.98 kB / 366.8 MB, free: 5.141 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.687e-05/0.1454, allocations: 4 kB / 366.8 MB, free: 5.137 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1455, allocations: 334.8 kB / 367.1 MB, free: 4.801 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004647/0.146, allocations: 160.4 kB / 367.3 MB, free: 4.645 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004784/0.1465, allocations: 203.3 kB / 367.5 MB, free: 4.438 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004752/0.147, allocations: 188.5 kB / 367.7 MB, free: 4.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.147, allocations: 0 / 367.7 MB, free: 4.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001094/0.1481, allocations: 452.7 kB / 368.1 MB, free: 3.797 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.099e-05/0.1481, allocations: 29.7 kB / 368.2 MB, free: 3.762 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1481, allocations: 3.938 kB / 368.2 MB, free: 3.758 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1482, allocations: 4 kB / 368.2 MB, free: 3.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/0.1499, allocations: 315.7 kB / 368.5 MB, free: 3.445 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2069/0.3568, allocations: 3.256 MB / 371.7 MB, free: 19.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004947/0.3573, allocations: 72.41 kB / 371.8 MB, free: 19.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.3574, allocations: 7.953 kB / 371.8 MB, free: 19.03 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.0001771/0.3575, allocations: 142.9 kB / 371.9 MB, free: 18.92 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.3576, allocations: 25.92 kB / 372 MB, free: 18.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.33e-05/0.3577, allocations: 30.98 kB / 372 MB, free: 18.92 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.3577, allocations: 1.844 kB / 372 MB, free: 18.92 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3577, allocations: 0.8125 kB / 372 MB, free: 18.92 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.3577, allocations: 4.797 kB / 372 MB, free: 18.92 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004414/0.3582, allocations: 347.4 kB / 372.3 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3582, allocations: 0 / 372.3 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001865/0.36, allocations: 310.2 kB / 372.6 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/0.3601, allocations: 1.125 kB / 372.6 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.3601, allocations: 6.516 kB / 372.7 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003981/0.3641, allocations: 3.254 MB / 375.9 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3641, allocations: 0 / 375.9 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.3657, allocations: 0.5964 MB / 376.5 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.316e-05/0.3658, allocations: 96.17 kB / 376.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.53e-05/0.3658, allocations: 9.688 kB / 376.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003546/0.3662, allocations: 50.14 kB / 376.7 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.3663, allocations: 28.97 kB / 376.7 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.3663, allocations: 9.094 kB / 376.7 MB, free: 15.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001693/0.3665, allocations: 168.3 kB / 376.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3665, allocations: 0 / 376.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004608/0.367, allocations: 80.94 kB / 376.9 MB, free: 15.8 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001239/0.3671, allocations: 105.4 kB / 377 MB, free: 15.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002612/0.3697, allocations: 0.6461 MB / 377.7 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3698, allocations: 1.406 kB / 377.7 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00205/0.3718, allocations: 441.6 kB / 378.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.3721, allocations: 35.44 kB / 378.2 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.3737, allocations: 0.7661 MB / 378.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.374, allocations: 0.7577 MB / 379.7 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001415/0.3741, allocations: 21.41 kB / 379.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.13e-05/0.3742, allocations: 20.17 kB / 379.7 MB, free: 14.49 MB / 302.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3742, allocations: 0 / 379.7 MB, free: 14.49 MB / 302.1 MB Notification: Performance of Templates: time 0.008318/0.3825, allocations: 3.203 MB / 382.9 MB, free: 14.28 MB / 302.1 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/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