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.001078/0.001078, allocations: 94.95 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001371/0.001371, allocations: 203.1 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.585/1.585, allocations: 227.8 MB / 246.8 MB, free: 11.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002824/0.0002824, allocations: 8 kB / 307.7 MB, free: 0.7891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1492, allocations: 51.52 MB / 359.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003264/0.1525, allocations: 2.45 MB / 361.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.1541, allocations: 0.7363 MB / 362.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.1543, allocations: 4 kB / 362.5 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.1544, allocations: 35.7 kB / 362.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.1546, allocations: 71.39 kB / 362.6 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003462/0.155, allocations: 99.89 kB / 362.7 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003823/0.1554, allocations: 362.5 kB / 363 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.1556, allocations: 69.12 kB / 363.1 MB, free: 9.434 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002927/0.1559, allocations: 135.5 kB / 363.2 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.1561, allocations: 155.3 kB / 363.4 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.746e-05/0.1562, allocations: 20 kB / 363.4 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.373e-05/0.1563, allocations: 23.94 kB / 363.4 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.799e-05/0.1563, allocations: 51.75 kB / 363.5 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.1565, allocations: 168.9 kB / 363.6 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004021/0.1569, allocations: 343 kB / 364 MB, free: 8.547 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.1569, allocations: 3.938 kB / 364 MB, free: 8.543 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1569, allocations: 0 / 364 MB, free: 8.543 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.157, allocations: 0 / 364 MB, free: 8.543 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.001728/0.1587, allocations: 0.676 MB / 364.6 MB, free: 7.812 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/0.1588, allocations: 8.031 kB / 364.6 MB, free: 7.805 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002563/0.159, allocations: 44.55 kB / 364.7 MB, free: 7.762 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004458/0.1595, allocations: 278.6 kB / 365 MB, free: 7.449 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.074e-05/0.1595, allocations: 20.8 kB / 365 MB, free: 7.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.004e-05/0.1596, allocations: 20.38 kB / 365 MB, free: 7.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008239/0.1604, allocations: 338 kB / 365.3 MB, free: 7.066 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1605, allocations: 0 / 365.3 MB, free: 7.066 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/0.1605, allocations: 8 kB / 365.3 MB, free: 7.059 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.1605, allocations: 4 kB / 365.3 MB, free: 7.055 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.1616, allocations: 353.5 kB / 365.7 MB, free: 6.711 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.1636, allocations: 0.9921 MB / 366.7 MB, free: 5.648 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003233/0.1668, allocations: 0.6154 MB / 367.3 MB, free: 5.023 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007274/0.1676, allocations: 240.7 kB / 367.5 MB, free: 4.785 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.875e-05/0.1676, allocations: 8 kB / 367.5 MB, free: 4.777 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007726/0.1684, allocations: 272.8 kB / 367.8 MB, free: 4.492 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 2.415e-06/0.1684, allocations: 0 / 367.8 MB, free: 4.492 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001798/0.1702, allocations: 0.5366 MB / 368.3 MB, free: 3.949 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.739e-05/0.1703, allocations: 110.8 kB / 368.4 MB, free: 3.816 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.1706, allocations: 237 kB / 368.7 MB, free: 3.574 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.1706, allocations: 33.7 kB / 368.7 MB, free: 3.535 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.1708, allocations: 156.2 kB / 368.9 MB, free: 3.379 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.66e-05/0.1708, allocations: 74.98 kB / 368.9 MB, free: 3.305 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.081e-05/0.1709, allocations: 25.7 kB / 369 MB, free: 3.273 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.171, allocations: 334.8 kB / 369.3 MB, free: 2.938 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005313/0.1716, allocations: 168.4 kB / 369.4 MB, free: 2.773 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005557/0.1721, allocations: 200.2 kB / 369.6 MB, free: 2.566 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.1732, allocations: 377.8 kB / 370 MB, free: 2.184 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1732, allocations: 4 kB / 370 MB, free: 2.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00128/0.1745, allocations: 454.8 kB / 370.5 MB, free: 1.723 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.488e-05/0.1746, allocations: 41.62 kB / 370.5 MB, free: 1.676 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1746, allocations: 4 kB / 370.5 MB, free: 1.672 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.1746, allocations: 0 / 370.5 MB, free: 1.672 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002022/0.1766, allocations: 359.6 kB / 370.9 MB, free: 1.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3345/0.5112, allocations: 3.281 MB / 374.1 MB, free: 17.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005844/0.5118, allocations: 67.58 kB / 374.2 MB, free: 17.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.5119, allocations: 8.891 kB / 374.2 MB, free: 17.04 MB / 302.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 (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.0002524/0.5122, allocations: 146.5 kB / 374.4 MB, free: 16.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.949e-05/0.5122, allocations: 34.67 kB / 374.4 MB, free: 16.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.315e-05/0.5123, allocations: 33.11 kB / 374.4 MB, free: 16.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.5123, allocations: 4.812 kB / 374.4 MB, free: 16.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.5123, allocations: 1.891 kB / 374.4 MB, free: 16.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.5124, allocations: 1.688 kB / 374.4 MB, free: 16.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002402/0.5148, allocations: 0.9668 MB / 375.4 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.5148, allocations: 0.5 kB / 375.4 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002063/0.5169, allocations: 355.8 kB / 375.7 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.5169, allocations: 5.812 kB / 375.8 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.5169, allocations: 6.734 kB / 375.8 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005088/0.522, allocations: 3.294 MB / 379.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.522, allocations: 1.375 kB / 379.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.5238, allocations: 0.6836 MB / 379.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.846e-05/0.5239, allocations: 103.3 kB / 379.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.478e-05/0.5239, allocations: 6.406 kB / 379.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/0.5243, allocations: 56.67 kB / 379.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.5245, allocations: 37.5 kB / 379.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.5245, allocations: 8.188 kB / 379.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002092/0.5247, allocations: 172.5 kB / 380.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5247, allocations: 0 / 380.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005207/0.5252, allocations: 81.28 kB / 380.2 MB, free: 13.43 MB / 302.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) * 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.0001577/0.5254, allocations: 107.4 kB / 380.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002814/0.5282, allocations: 0.7065 MB / 381 MB, free: 13.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5282, allocations: 1.5 kB / 381 MB, free: 13.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002268/0.5305, allocations: 495.8 kB / 381.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004608/0.531, allocations: 38.73 kB / 381.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.5329, allocations: 0.8526 MB / 382.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.5332, allocations: 0.7514 MB / 383.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001477/0.5333, allocations: 27.44 kB / 383.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.641e-05/0.5334, allocations: 20.27 kB / 383.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of SimCode: time 1.463e-06/0.5334, allocations: 0 / 383.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of Templates: time 0.008655/0.5421, allocations: 3.428 MB / 386.6 MB, free: 11.82 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches