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.001093/0.001093, allocations: 112.2 kB / 16.51 MB, free: 6.707 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.001169/0.001169, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.558/1.558, allocations: 222.9 MB / 241.1 MB, free: 13.65 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 56.05 kB / 300 MB, free: 6.062 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1091, allocations: 49.44 MB / 349.4 MB, free: 4.617 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004073/0.1133, allocations: 2.776 MB / 352.2 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.1146, allocations: 0.6973 MB / 352.9 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.1147, allocations: 4 kB / 352.9 MB, free: 1.113 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.1149, allocations: 31.77 kB / 352.9 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.1151, allocations: 71.39 kB / 353 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.1154, allocations: 99.83 kB / 353.1 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003574/0.1158, allocations: 354.6 kB / 353.4 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.116, allocations: 73.05 kB / 353.5 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.1162, allocations: 135.5 kB / 353.6 MB, free: 368 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.1164, allocations: 163.3 kB / 353.8 MB, free: 204 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.892e-05/0.1165, allocations: 20 kB / 353.8 MB, free: 184 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.473e-05/0.1165, allocations: 20 kB / 353.8 MB, free: 164 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.981e-05/0.1166, allocations: 59.75 kB / 353.9 MB, free: 104 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.1168, allocations: 135.4 kB / 354 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003158/0.1171, allocations: 347 kB / 354.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1171, allocations: 0 / 354.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1171, allocations: 0 / 354.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1171, allocations: 0 / 354.3 MB, free: 15.63 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.001623/0.1188, allocations: 0.6726 MB / 355 MB, free: 14.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1188, allocations: 15.97 kB / 355 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.924e-05/0.1189, allocations: 36.55 kB / 355.1 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.1192, allocations: 260.8 kB / 355.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.1192, allocations: 12.81 kB / 355.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.037e-05/0.1193, allocations: 24.38 kB / 355.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007578/0.1201, allocations: 310 kB / 355.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1201, allocations: 0 / 355.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.785e-05/0.1201, allocations: 8 kB / 355.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.1201, allocations: 8 kB / 355.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009274/0.1211, allocations: 297.4 kB / 356 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.1228, allocations: 0.9647 MB / 356.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003003/0.1259, allocations: 498.2 kB / 357.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006433/0.1265, allocations: 216.7 kB / 357.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.941e-05/0.1266, allocations: 7.938 kB / 357.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007295/0.1273, allocations: 233.7 kB / 357.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 2.083e-06/0.1273, allocations: 0 / 357.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001547/0.1289, allocations: 468.4 kB / 358.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.456e-05/0.129, allocations: 106.8 kB / 358.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.1292, allocations: 233 kB / 358.7 MB, free: 11.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.1293, allocations: 29.7 kB / 358.7 MB, free: 11.03 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.1294, allocations: 164.2 kB / 358.8 MB, free: 10.87 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.191e-05/0.1295, allocations: 71 kB / 358.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.1296, allocations: 45.94 kB / 359 MB, free: 10.74 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1298, allocations: 330.8 kB / 359.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004521/0.1302, allocations: 140.4 kB / 359.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004598/0.1307, allocations: 184.2 kB / 359.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008516/0.1315, allocations: 312.1 kB / 359.9 MB, free: 9.762 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1316, allocations: 0 / 359.9 MB, free: 9.762 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001056/0.1326, allocations: 406.8 kB / 360.3 MB, free: 9.352 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.203e-05/0.1327, allocations: 37.64 kB / 360.3 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1327, allocations: 0 / 360.3 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1327, allocations: 3.984 kB / 360.3 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/0.1345, allocations: 235.7 kB / 360.6 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00467/0.1391, allocations: 3.111 MB / 363.7 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004131/0.1396, allocations: 59.92 kB / 363.7 MB, free: 5.645 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.1396, allocations: 4 kB / 363.8 MB, free: 5.641 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.0002146/0.1398, allocations: 137.8 kB / 363.9 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/0.1399, allocations: 19.72 kB / 363.9 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.303e-05/0.14, allocations: 38.11 kB / 363.9 MB, free: 5.434 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.14, allocations: 3.938 kB / 363.9 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.14, allocations: 4 kB / 363.9 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.14, allocations: 11.92 kB / 364 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.1418, allocations: 0.8932 MB / 364.9 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.1418, allocations: 4 kB / 364.9 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001714/0.1435, allocations: 231.7 kB / 365.1 MB, free: 4.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.1436, allocations: 3.984 kB / 365.1 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.1436, allocations: 8 kB / 365.1 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004625/0.1482, allocations: 3.111 MB / 368.2 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.1482, allocations: 0 / 368.2 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.1498, allocations: 0.5964 MB / 368.8 MB, free: 236 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.1499, allocations: 108.8 kB / 368.9 MB, free: 108 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.1499, allocations: 12 kB / 368.9 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003405/0.1503, allocations: 35.95 kB / 369 MB, free: 60 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.1504, allocations: 27.97 kB / 369 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.1504, allocations: 7.984 kB / 369 MB, free: 24 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.2051/0.3556, allocations: 163.4 kB / 369.2 MB, free: 25.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.3556, allocations: 1.062 kB / 369.2 MB, free: 25.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008038/0.3564, allocations: 80.2 kB / 369.2 MB, free: 25.91 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.000163/0.3566, allocations: 110.3 kB / 369.3 MB, free: 25.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002801/0.3594, allocations: 0.5402 MB / 369.9 MB, free: 25.76 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.3594, allocations: 0 / 369.9 MB, free: 25.76 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002193/0.3616, allocations: 350.2 kB / 370.2 MB, free: 25.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005248/0.3622, allocations: 44.2 kB / 370.3 MB, free: 25.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.3642, allocations: 0.7751 MB / 371 MB, free: 25.42 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.3644, allocations: 0.7484 MB / 371.8 MB, free: 24.72 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001687/0.3646, allocations: 29.38 kB / 371.8 MB, free: 24.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.284e-05/0.3647, allocations: 20.17 kB / 371.8 MB, free: 24.71 MB / 302.1 MB Notification: Performance of SimCode: time 1.422e-06/0.3647, allocations: 0 / 371.8 MB, free: 24.71 MB / 302.1 MB Notification: Performance of Templates: time 0.009189/0.3739, allocations: 3.448 MB / 375.3 MB, free: 24.52 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","/var/lib/jenkins/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