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.001181/0.001181, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001207/0.001207, allocations: 212.6 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 68.5 kB / 306.9 MB, free: 0.6523 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1381, allocations: 50.52 MB / 357.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004657/0.1428, allocations: 2.763 MB / 360.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.1443, allocations: 0.7596 MB / 361 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.1445, allocations: 3.938 kB / 361 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.1447, allocations: 39.62 kB / 361 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002085/0.1449, allocations: 91.2 kB / 361.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004622/0.1454, allocations: 115.7 kB / 361.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004585/0.1459, allocations: 382.5 kB / 361.6 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002464/0.1461, allocations: 80.69 kB / 361.7 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003839/0.1465, allocations: 163.5 kB / 361.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.1468, allocations: 167.3 kB / 362 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.521e-05/0.1469, allocations: 32 kB / 362 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.147, allocations: 36 kB / 362.1 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.335e-05/0.1471, allocations: 75.73 kB / 362.1 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002067/0.1473, allocations: 163.2 kB / 362.3 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004919/0.1478, allocations: 367 kB / 362.7 MB, free: 8.887 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.1478, allocations: 3.938 kB / 362.7 MB, free: 8.883 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.1478, allocations: 0 / 362.7 MB, free: 8.883 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.1478, allocations: 0 / 362.7 MB, free: 8.883 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.001642/0.1495, allocations: 0.6803 MB / 363.4 MB, free: 8.148 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1495, allocations: 12.03 kB / 363.4 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002089/0.1498, allocations: 36.56 kB / 363.4 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/0.1502, allocations: 278.8 kB / 363.7 MB, free: 7.785 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.1502, allocations: 12.81 kB / 363.7 MB, free: 7.773 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.42e-05/0.1503, allocations: 28.28 kB / 363.7 MB, free: 7.746 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007269/0.151, allocations: 318 kB / 364 MB, free: 7.422 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.151, allocations: 0 / 364 MB, free: 7.422 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.467e-05/0.151, allocations: 8 kB / 364 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1511, allocations: 4 kB / 364 MB, free: 7.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000905/0.152, allocations: 301.5 kB / 364.3 MB, free: 7.117 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.1537, allocations: 0.9687 MB / 365.3 MB, free: 6.082 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002807/0.1565, allocations: 0.4942 MB / 365.8 MB, free: 5.578 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006338/0.1571, allocations: 220.7 kB / 366 MB, free: 5.359 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/0.1572, allocations: 4 kB / 366 MB, free: 5.355 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007215/0.1579, allocations: 244.6 kB / 366.2 MB, free: 5.098 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 3.026e-06/0.1579, allocations: 0 / 366.2 MB, free: 5.098 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001496/0.1594, allocations: 475.9 kB / 366.7 MB, free: 4.629 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.389e-05/0.1595, allocations: 110.8 kB / 366.8 MB, free: 4.496 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.1598, allocations: 240.9 kB / 367.1 MB, free: 4.246 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.1598, allocations: 33.7 kB / 367.1 MB, free: 4.207 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.1599, allocations: 156.2 kB / 367.2 MB, free: 4.051 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.55e-05/0.16, allocations: 78.98 kB / 367.3 MB, free: 3.973 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.682e-05/0.1601, allocations: 45.94 kB / 367.4 MB, free: 3.922 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1602, allocations: 334.8 kB / 367.7 MB, free: 3.586 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004616/0.1607, allocations: 144.3 kB / 367.8 MB, free: 3.445 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004757/0.1612, allocations: 177.9 kB / 368 MB, free: 3.262 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008896/0.1621, allocations: 321.8 kB / 368.3 MB, free: 2.934 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1621, allocations: 0 / 368.3 MB, free: 2.934 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001083/0.1632, allocations: 414.8 kB / 368.7 MB, free: 2.516 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.875e-05/0.1632, allocations: 33.64 kB / 368.8 MB, free: 2.477 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1633, allocations: 0 / 368.8 MB, free: 2.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.1633, allocations: 8 kB / 368.8 MB, free: 2.469 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001692/0.165, allocations: 271.7 kB / 369 MB, free: 2.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2093/0.3743, allocations: 3.427 MB / 372.5 MB, free: 18.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000565/0.3749, allocations: 51.77 kB / 372.5 MB, free: 18.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.375, allocations: 10.56 kB / 372.5 MB, free: 18.78 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.0002087/0.3752, allocations: 138.8 kB / 372.7 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/0.3752, allocations: 27.61 kB / 372.7 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.768e-05/0.3753, allocations: 43.72 kB / 372.7 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.3753, allocations: 2.531 kB / 372.7 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3753, allocations: 5.203 kB / 372.7 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.3754, allocations: 1.219 kB / 372.7 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002027/0.3774, allocations: 0.908 MB / 373.6 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3774, allocations: 1.281 kB / 373.6 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001836/0.3793, allocations: 256.9 kB / 373.9 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.3793, allocations: 5.469 kB / 373.9 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.3793, allocations: 7.062 kB / 373.9 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004415/0.3837, allocations: 3.438 MB / 377.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.3838, allocations: 5.125 kB / 377.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.3855, allocations: 0.6105 MB / 378 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.865e-05/0.3856, allocations: 104 kB / 378.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.986e-05/0.3857, allocations: 3.25 kB / 378.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003707/0.3861, allocations: 47.05 kB / 378.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.3862, allocations: 27.64 kB / 378.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.3862, allocations: 14.8 kB / 378.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002181/0.3864, allocations: 172.5 kB / 378.3 MB, free: 14.99 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3864, allocations: 3.938 kB / 378.3 MB, free: 14.99 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005416/0.387, allocations: 80.89 kB / 378.4 MB, free: 14.99 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.000158/0.3872, allocations: 102.5 kB / 378.5 MB, free: 14.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002786/0.3899, allocations: 0.5796 MB / 379.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.39, allocations: 0 / 379.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002092/0.3921, allocations: 388.7 kB / 379.5 MB, free: 14.72 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.3925, allocations: 36.67 kB / 379.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.3946, allocations: 0.6969 MB / 380.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.3948, allocations: 0.757 MB / 381 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001519/0.395, allocations: 24.64 kB / 381 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.967e-05/0.3951, allocations: 25.3 kB / 381 MB, free: 13.6 MB / 302.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3951, allocations: 0 / 381 MB, free: 13.6 MB / 302.1 MB Notification: Performance of Templates: time 0.01027/0.4054, allocations: 3.799 MB / 384.8 MB, free: 13.34 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