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.001146/0.001147, allocations: 105.8 kB / 17.59 MB, free: 5.441 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.001151/0.001152, allocations: 187.3 kB / 18.51 MB, free: 4.523 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.341/1.341, allocations: 222.9 MB / 242.2 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001015, allocations: 51.02 kB / 301.3 MB, free: 5.906 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1062, allocations: 49.45 MB / 350.7 MB, free: 4.449 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004558/0.1108, allocations: 2.729 MB / 353.5 MB, free: 1.699 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.1129, allocations: 0.6973 MB / 354.2 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003155/0.1133, allocations: 4 kB / 354.2 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002165/0.1135, allocations: 43.56 kB / 354.2 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002386/0.1138, allocations: 87.2 kB / 354.3 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004034/0.1142, allocations: 103.7 kB / 354.4 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005141/0.1147, allocations: 378.6 kB / 354.8 MB, free: 400 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.1149, allocations: 88.55 kB / 354.8 MB, free: 308 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002676/0.1152, allocations: 155.4 kB / 355 MB, free: 152 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.1154, allocations: 167.3 kB / 355.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.581e-05/0.1155, allocations: 36 kB / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.863e-05/0.1156, allocations: 32 kB / 355.2 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.266e-05/0.1157, allocations: 67.8 kB / 355.3 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002422/0.1159, allocations: 155.2 kB / 355.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003788/0.1163, allocations: 363.1 kB / 355.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.1163, allocations: 4 kB / 355.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1163, allocations: 3.938 kB / 355.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.1163, allocations: 0 / 355.8 MB, free: 15.34 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.001595/0.1179, allocations: 0.6608 MB / 356.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.118, allocations: 11.89 kB / 356.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.57e-05/0.1181, allocations: 36.56 kB / 356.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.1184, allocations: 264.8 kB / 356.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.1185, allocations: 16.81 kB / 356.8 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.686e-05/0.1185, allocations: 20.38 kB / 356.8 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007609/0.1193, allocations: 318 kB / 357.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1193, allocations: 7.984 kB / 357.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.331e-05/0.1194, allocations: 8 kB / 357.1 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.1194, allocations: 4 kB / 357.1 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009525/0.1204, allocations: 289.5 kB / 357.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.1222, allocations: 0.9763 MB / 358.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002906/0.1251, allocations: 0.4903 MB / 358.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006678/0.1258, allocations: 215.5 kB / 359.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/0.1258, allocations: 11.94 kB / 359.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007631/0.1266, allocations: 236.7 kB / 359.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.904e-06/0.1266, allocations: 0 / 359.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.00157/0.1282, allocations: 461.5 kB / 359.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.634e-05/0.1283, allocations: 106.8 kB / 359.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.1286, allocations: 233 kB / 360.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.1286, allocations: 33.7 kB / 360.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.1287, allocations: 164.1 kB / 360.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.845e-05/0.1288, allocations: 71 kB / 360.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.922e-05/0.1289, allocations: 41.94 kB / 360.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1291, allocations: 342.8 kB / 360.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004588/0.1296, allocations: 132.4 kB / 360.9 MB, free: 9.973 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004949/0.1301, allocations: 177.4 kB / 361.1 MB, free: 9.789 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009395/0.131, allocations: 312.1 kB / 361.4 MB, free: 9.469 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.131, allocations: 0 / 361.4 MB, free: 9.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001132/0.1322, allocations: 406.7 kB / 361.8 MB, free: 9.059 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.258e-05/0.1322, allocations: 37.62 kB / 361.8 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1322, allocations: 0 / 361.8 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.1323, allocations: 4 kB / 361.8 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/0.134, allocations: 239.8 kB / 362 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004803/0.1388, allocations: 3.392 MB / 365.4 MB, free: 5.113 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004268/0.1393, allocations: 67.73 kB / 365.5 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.1393, allocations: 4 kB / 365.5 MB, free: 5.043 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.0001878/0.1395, allocations: 141.7 kB / 365.6 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.1396, allocations: 23.8 kB / 365.7 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.482e-05/0.1396, allocations: 34.19 kB / 365.7 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1397, allocations: 0 / 365.7 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1397, allocations: 0 / 365.7 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.1397, allocations: 7.984 kB / 365.7 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.1415, allocations: 0.8962 MB / 366.6 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.1416, allocations: 0 / 366.6 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0017/0.1433, allocations: 231.7 kB / 366.8 MB, free: 3.641 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1433, allocations: 3.938 kB / 366.8 MB, free: 3.637 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-05/0.1433, allocations: 8 kB / 366.8 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1747/0.318, allocations: 3.406 MB / 370.2 MB, free: 24.94 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3181, allocations: 0.875 kB / 370.2 MB, free: 24.94 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.3199, allocations: 0.597 MB / 370.8 MB, free: 24.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.942e-05/0.32, allocations: 98.92 kB / 370.9 MB, free: 24.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.17e-05/0.3201, allocations: 6.969 kB / 370.9 MB, free: 24.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004539/0.3205, allocations: 39.69 kB / 371 MB, free: 24.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.3206, allocations: 33.62 kB / 371 MB, free: 24.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.3207, allocations: 6.031 kB / 371 MB, free: 24.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.3209, allocations: 169.3 kB / 371.2 MB, free: 24.62 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.3209, allocations: 0 / 371.2 MB, free: 24.62 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005427/0.3214, allocations: 86.03 kB / 371.3 MB, free: 24.62 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.0001499/0.3216, allocations: 113.3 kB / 371.4 MB, free: 24.54 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002692/0.3243, allocations: 0.5369 MB / 371.9 MB, free: 24.47 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.3243, allocations: 0.9688 kB / 371.9 MB, free: 24.47 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001947/0.3262, allocations: 356.4 kB / 372.3 MB, free: 24.47 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.3267, allocations: 33.81 kB / 372.3 MB, free: 24.47 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.3285, allocations: 0.7076 MB / 373 MB, free: 24.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.3287, allocations: 0.7488 MB / 373.8 MB, free: 23.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.994e-05/0.3288, allocations: 21.88 kB / 373.8 MB, free: 23.47 MB / 302.1 MB Notification: Performance of SimCode: time 1.232e-06/0.3288, allocations: 0 / 373.8 MB, free: 23.47 MB / 302.1 MB Notification: Performance of Templates: time 0.008424/0.3372, allocations: 5.428 MB / 379.2 MB, free: 22.71 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches