Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.0009619/0.0009621, allocations: 95.69 kB / 17.3 MB, free: 6.395 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.00112/0.00112, allocations: 172.5 kB / 18.2 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004571/0.0004574, allocations: 12 kB / 281.4 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09921/0.09968, allocations: 47.58 MB / 329 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003105/0.1029, allocations: 2.383 MB / 331.3 MB, free: 1.363 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1043, allocations: 0.7333 MB / 332.1 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001876/0.1045, allocations: 4 kB / 332.1 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.1047, allocations: 31.77 kB / 332.1 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.1049, allocations: 71.39 kB / 332.2 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.1052, allocations: 91.84 kB / 332.3 MB, free: 436 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004292/0.1057, allocations: 358.5 kB / 332.6 MB, free: 76 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.1058, allocations: 69.14 kB / 332.7 MB, free: 12 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000251/0.1061, allocations: 131.7 kB / 332.8 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.1063, allocations: 147.4 kB / 333 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.823e-05/0.1064, allocations: 16 kB / 333 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.697e-05/0.1065, allocations: 16 kB / 333 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.037e-05/0.1065, allocations: 67.67 kB / 333.1 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.1067, allocations: 161 kB / 333.2 MB, free: 15.47 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.107, allocations: 338.7 kB / 333.5 MB, free: 15.14 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.107, allocations: 0 / 333.5 MB, free: 15.14 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.107, allocations: 0 / 333.5 MB, free: 15.14 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.107, allocations: 0 / 333.5 MB, free: 15.14 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.001409/0.1084, allocations: 0.661 MB / 334.2 MB, free: 14.43 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.1085, allocations: 15.97 kB / 334.2 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.689e-05/0.1086, allocations: 24.66 kB / 334.2 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.1089, allocations: 276.5 kB / 334.5 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.1089, allocations: 16.81 kB / 334.5 MB, free: 14.06 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.791e-05/0.109, allocations: 20.38 kB / 334.5 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000791/0.1098, allocations: 334 kB / 334.9 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1098, allocations: 0 / 334.9 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.1098, allocations: 8 kB / 334.9 MB, free: 13.69 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.1098, allocations: 12 kB / 334.9 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009541/0.1108, allocations: 333.5 kB / 335.2 MB, free: 13.36 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.1125, allocations: 0.9919 MB / 336.2 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002979/0.1154, allocations: 0.5998 MB / 336.8 MB, free: 11.69 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006543/0.1161, allocations: 240.7 kB / 337 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.1162, allocations: 0 / 337 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006695/0.1168, allocations: 261.7 kB / 337.3 MB, free: 11.17 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 2.144e-06/0.1169, allocations: 0 / 337.3 MB, free: 11.17 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.001626/0.1185, allocations: 0.5287 MB / 337.8 MB, free: 10.64 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.14e-05/0.1186, allocations: 106.8 kB / 337.9 MB, free: 10.51 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.1189, allocations: 229 kB / 338.2 MB, free: 10.27 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.568e-05/0.119, allocations: 33.7 kB / 338.2 MB, free: 10.23 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.1191, allocations: 156.2 kB / 338.3 MB, free: 10.08 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.289e-05/0.1192, allocations: 78.92 kB / 338.4 MB, free: 10 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.219e-05/0.1193, allocations: 29.7 kB / 338.4 MB, free: 9.965 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1195, allocations: 330.8 kB / 338.8 MB, free: 9.633 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005297/0.12, allocations: 164.4 kB / 338.9 MB, free: 9.473 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005874/0.1206, allocations: 204.2 kB / 339.1 MB, free: 9.262 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009741/0.1216, allocations: 364 kB / 339.5 MB, free: 8.891 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.1216, allocations: 0 / 339.5 MB, free: 8.891 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001213/0.1228, allocations: 454.8 kB / 339.9 MB, free: 8.434 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.572e-05/0.1229, allocations: 37.64 kB / 340 MB, free: 8.391 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.1229, allocations: 4 kB / 340 MB, free: 8.387 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.1229, allocations: 0 / 340 MB, free: 8.387 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/0.1247, allocations: 311.6 kB / 340.3 MB, free: 8.082 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004883/0.1296, allocations: 3.212 MB / 343.5 MB, free: 4.602 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.1301, allocations: 67.83 kB / 343.6 MB, free: 4.535 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.1301, allocations: 15.98 kB / 343.6 MB, free: 4.52 MB / 286.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.0002055/0.1303, allocations: 137.8 kB / 343.7 MB, free: 4.375 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.061e-05/0.1304, allocations: 23.72 kB / 343.7 MB, free: 4.352 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.944e-05/0.1305, allocations: 30.17 kB / 343.8 MB, free: 4.324 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.1305, allocations: 7.938 kB / 343.8 MB, free: 4.316 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.1305, allocations: 0 / 343.8 MB, free: 4.316 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1305, allocations: 0 / 343.8 MB, free: 4.316 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/0.1324, allocations: 0.9595 MB / 344.7 MB, free: 3.293 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1324, allocations: 0 / 344.7 MB, free: 3.293 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001769/0.1342, allocations: 299.8 kB / 345 MB, free: 3 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/0.1342, allocations: 7.984 kB / 345 MB, free: 2.992 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.1343, allocations: 8 kB / 345 MB, free: 2.984 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004917/0.1392, allocations: 3.232 MB / 348.3 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1392, allocations: 0 / 348.3 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.1409, allocations: 0.6647 MB / 348.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.706e-05/0.141, allocations: 100.8 kB / 349 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.91e-05/0.141, allocations: 16.06 kB / 349 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003623/0.1414, allocations: 43.95 kB / 349.1 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.892e-05/0.1415, allocations: 35.95 kB / 349.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.1416, allocations: 4 kB / 349.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000186/0.1418, allocations: 172.5 kB / 349.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1418, allocations: 0 / 349.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004928/0.1423, allocations: 79.84 kB / 349.4 MB, free: 14.34 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.0001715/0.1424, allocations: 111.2 kB / 349.5 MB, free: 14.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002776/0.1452, allocations: 0.6473 MB / 350.1 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1452, allocations: 0 / 350.1 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002101/0.1473, allocations: 439.8 kB / 350.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004755/0.1478, allocations: 48.27 kB / 350.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.1499, allocations: 0.8317 MB / 351.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/0.1503, allocations: 0.7524 MB / 352.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001618/0.1505, allocations: 21.95 kB / 352.2 MB, free: 11.42 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.716e-05/0.1506, allocations: 19.44 kB / 352.2 MB, free: 11.4 MB / 302.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1506, allocations: 4 kB / 352.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of Templates: time 0.008006/0.1586, allocations: 3.4 MB / 355.6 MB, free: 8.008 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches