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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001062, allocations: 92.34 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 182.1 kB / 17.2 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.2 MB / 241.1 MB, free: 5.453 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002798/0.0002797, allocations: 6.219 kB / 300.7 MB, free: 6.496 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1073, allocations: 50.43 MB / 351.1 MB, free: 11.89 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.002837/0.1102, allocations: 2.218 MB / 353.3 MB, free: 9.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.1114, allocations: 0.6861 MB / 354 MB, free: 8.969 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.1115, allocations: 4 kB / 354 MB, free: 8.965 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.179e-05/0.1116, allocations: 27.75 kB / 354.1 MB, free: 8.938 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.1118, allocations: 95.73 kB / 354.2 MB, free: 8.844 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.1121, allocations: 79.77 kB / 354.2 MB, free: 8.766 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.1124, allocations: 231.5 kB / 354.5 MB, free: 8.539 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.1126, allocations: 69.17 kB / 354.5 MB, free: 8.469 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.1128, allocations: 131.6 kB / 354.7 MB, free: 8.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.113, allocations: 151.4 kB / 354.8 MB, free: 8.191 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.944e-05/0.113, allocations: 16 kB / 354.8 MB, free: 8.176 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.172e-05/0.1131, allocations: 16 kB / 354.8 MB, free: 8.16 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.72e-05/0.1132, allocations: 51.81 kB / 354.9 MB, free: 8.109 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.37e-05/0.1132, allocations: 73.52 kB / 355 MB, free: 8.031 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.1135, allocations: 259.2 kB / 355.2 MB, free: 7.777 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1135, allocations: 0 / 355.2 MB, free: 7.777 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1135, allocations: 0 / 355.2 MB, free: 7.777 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1135, allocations: 4 kB / 355.2 MB, free: 7.773 MB / 286.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.00148/0.115, allocations: 0.6686 MB / 355.9 MB, free: 7.051 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1151, allocations: 8.031 kB / 355.9 MB, free: 7.043 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.715e-05/0.1151, allocations: 35.56 kB / 355.9 MB, free: 7.008 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.1155, allocations: 255.5 kB / 356.2 MB, free: 6.715 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.1155, allocations: 12.44 kB / 356.2 MB, free: 6.703 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.946e-05/0.1156, allocations: 20 kB / 356.2 MB, free: 6.684 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007654/0.1163, allocations: 329.7 kB / 356.5 MB, free: 6.352 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1164, allocations: 0 / 356.5 MB, free: 6.352 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/0.1164, allocations: 8 kB / 356.5 MB, free: 6.344 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.1164, allocations: 7.953 kB / 356.5 MB, free: 6.336 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009479/0.1174, allocations: 345.5 kB / 356.9 MB, free: 5.996 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.1192, allocations: 0.992 MB / 357.9 MB, free: 4.934 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002945/0.1221, allocations: 0.6019 MB / 358.5 MB, free: 4.324 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/0.1222, allocations: 4 kB / 358.5 MB, free: 4.32 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006942/0.1229, allocations: 256.1 kB / 358.7 MB, free: 4.055 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.623e-06/0.1229, allocations: 0 / 358.7 MB, free: 4.055 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.001531/0.1244, allocations: 0.5288 MB / 359.3 MB, free: 3.523 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.1245, allocations: 81.11 kB / 359.3 MB, free: 3.426 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.1247, allocations: 229 kB / 359.6 MB, free: 3.191 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.1248, allocations: 33.7 kB / 359.6 MB, free: 3.152 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.1249, allocations: 160.1 kB / 359.8 MB, free: 2.992 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.513e-05/0.125, allocations: 70.98 kB / 359.8 MB, free: 2.922 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-05/0.125, allocations: 4 kB / 359.8 MB, free: 2.918 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1251, allocations: 343.1 kB / 360.2 MB, free: 2.574 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004791/0.1256, allocations: 164.4 kB / 360.3 MB, free: 2.41 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004895/0.1261, allocations: 195.4 kB / 360.5 MB, free: 2.211 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004763/0.1266, allocations: 186.6 kB / 360.7 MB, free: 2.023 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1266, allocations: 0 / 360.7 MB, free: 2.023 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001074/0.1277, allocations: 452.5 kB / 361.1 MB, free: 1.57 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.471e-05/0.1277, allocations: 41.64 kB / 361.2 MB, free: 1.523 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1278, allocations: 0 / 361.2 MB, free: 1.523 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1278, allocations: 0 / 361.2 MB, free: 1.523 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/0.1295, allocations: 307.7 kB / 361.5 MB, free: 1.223 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004444/0.134, allocations: 3.259 MB / 364.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/0.1344, allocations: 75.78 kB / 364.8 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.1344, allocations: 4 kB / 364.8 MB, free: 13.62 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.00018/0.1346, allocations: 141.8 kB / 365 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.1347, allocations: 23.75 kB / 365 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.935e-05/0.1347, allocations: 26.19 kB / 365 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1347, allocations: 4 kB / 365 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1347, allocations: 3.953 kB / 365 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1348, allocations: 3.984 kB / 365 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003413/0.1351, allocations: 349.3 kB / 365.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1351, allocations: 0 / 365.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001729/0.1368, allocations: 303.6 kB / 365.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.1369, allocations: 0 / 365.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.1369, allocations: 8 kB / 365.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004273/0.1412, allocations: 3.255 MB / 368.9 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1412, allocations: 0 / 368.9 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.1428, allocations: 0.5826 MB / 369.5 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.335e-05/0.1429, allocations: 112.8 kB / 369.6 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.871e-05/0.1429, allocations: 7.953 kB / 369.6 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/0.1433, allocations: 52.02 kB / 369.7 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.536e-05/0.1434, allocations: 31.95 kB / 369.7 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.1434, allocations: 4 kB / 369.7 MB, free: 8.379 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001558/0.1436, allocations: 168.5 kB / 369.9 MB, free: 8.219 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1436, allocations: 4 kB / 369.9 MB, free: 8.215 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004267/0.144, allocations: 75.91 kB / 369.9 MB, free: 8.141 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.0001453/0.1442, allocations: 106.5 kB / 370.1 MB, free: 8.027 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00259/0.1468, allocations: 0.6608 MB / 370.7 MB, free: 7.355 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1468, allocations: 0 / 370.7 MB, free: 7.355 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001947/0.1487, allocations: 423.6 kB / 371.1 MB, free: 6.941 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.149, allocations: 40.36 kB / 371.2 MB, free: 6.902 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.1506, allocations: 0.756 MB / 371.9 MB, free: 6.117 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.1509, allocations: 0.7598 MB / 372.7 MB, free: 5.332 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001373/0.151, allocations: 25.94 kB / 372.7 MB, free: 5.305 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.489e-05/0.1511, allocations: 19.44 kB / 372.7 MB, free: 5.285 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1511, allocations: 4 kB / 372.7 MB, free: 5.281 MB / 302.1 MB Notification: Performance of Templates: time 0.006714/0.1578, allocations: 3.207 MB / 375.9 MB, free: 2.098 MB / 302.1 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