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.001204/0.001204, allocations: 103.4 kB / 16.62 MB, free: 6.809 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.00109/0.00109, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.444/1.444, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 51.3 kB / 300.1 MB, free: 6.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.109, allocations: 49.45 MB / 349.6 MB, free: 4.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004097/0.1131, allocations: 2.772 MB / 352.3 MB, free: 1.973 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1144, allocations: 0.6973 MB / 353 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.1145, allocations: 7.938 kB / 353 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.1148, allocations: 27.77 kB / 353.1 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.1149, allocations: 67.45 kB / 353.1 MB, free: 1.168 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.1153, allocations: 95.78 kB / 353.2 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003868/0.1157, allocations: 374.6 kB / 353.6 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.1158, allocations: 84.55 kB / 353.7 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002495/0.1161, allocations: 159.5 kB / 353.8 MB, free: 476 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.1163, allocations: 175.3 kB / 354 MB, free: 300 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.154e-05/0.1164, allocations: 36 kB / 354 MB, free: 264 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.475e-05/0.1164, allocations: 32 kB / 354.1 MB, free: 232 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.209e-05/0.1165, allocations: 63.81 kB / 354.1 MB, free: 168 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.1167, allocations: 159.2 kB / 354.3 MB, free: 8 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003812/0.1171, allocations: 355.1 kB / 354.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.1171, allocations: 4 kB / 354.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.1171, allocations: 0 / 354.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.1171, allocations: 3.938 kB / 354.6 MB, free: 15.65 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.001648/0.1188, allocations: 0.6647 MB / 355.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.1188, allocations: 11.89 kB / 355.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.323e-05/0.1189, allocations: 32.56 kB / 355.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.1192, allocations: 268.8 kB / 355.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.1193, allocations: 16.81 kB / 355.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.883e-05/0.1193, allocations: 20.38 kB / 355.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007918/0.1201, allocations: 310 kB / 356 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1202, allocations: 11.88 kB / 356 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.1202, allocations: 4 kB / 356 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.1202, allocations: 4 kB / 356 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009444/0.1212, allocations: 293.5 kB / 356.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.123, allocations: 0.9725 MB / 357.2 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003096/0.1261, allocations: 0.4943 MB / 357.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006654/0.1268, allocations: 212.8 kB / 357.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.598e-05/0.1269, allocations: 4 kB / 357.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007721/0.1277, allocations: 248.7 kB / 358.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 2.004e-06/0.1277, allocations: 0 / 358.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001547/0.1292, allocations: 457.4 kB / 358.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.1294, allocations: 106.8 kB / 358.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.1297, allocations: 229 kB / 359 MB, free: 11.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.1297, allocations: 37.73 kB / 359 MB, free: 11.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.1299, allocations: 164.1 kB / 359.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.019e-05/0.13, allocations: 67.02 kB / 359.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.1301, allocations: 45.92 kB / 359.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1302, allocations: 338.8 kB / 359.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004877/0.1307, allocations: 140.3 kB / 359.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004853/0.1312, allocations: 184.2 kB / 359.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000914/0.1321, allocations: 304.1 kB / 360.2 MB, free: 9.785 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1322, allocations: 0 / 360.2 MB, free: 9.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001127/0.1333, allocations: 410.8 kB / 360.6 MB, free: 9.371 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.204e-05/0.1333, allocations: 33.64 kB / 360.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.1334, allocations: 4 kB / 360.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1334, allocations: 3.938 kB / 360.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001897/0.1353, allocations: 239.7 kB / 360.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00521/0.1405, allocations: 3.388 MB / 364.3 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005164/0.1411, allocations: 63.77 kB / 364.3 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.1411, allocations: 4 kB / 364.3 MB, free: 5.363 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.0002262/0.1414, allocations: 149.7 kB / 364.5 MB, free: 5.207 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.011e-05/0.1414, allocations: 19.81 kB / 364.5 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.468e-05/0.1415, allocations: 34.17 kB / 364.5 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1415, allocations: 0 / 364.5 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1415, allocations: 4 kB / 364.5 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.1415, allocations: 0 / 364.5 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/0.1434, allocations: 0.9005 MB / 365.4 MB, free: 4.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.1435, allocations: 4 kB / 365.4 MB, free: 4.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001935/0.1454, allocations: 235.7 kB / 365.7 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/0.1454, allocations: 0 / 365.7 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.1455, allocations: 11.94 kB / 365.7 MB, free: 3.938 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005301/0.1508, allocations: 3.408 MB / 369.1 MB, free: 268 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1508, allocations: 3.938 kB / 369.1 MB, free: 264 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2131/0.3639, allocations: 0.5849 MB / 369.7 MB, free: 25.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.3641, allocations: 103.8 kB / 369.8 MB, free: 25.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.989e-05/0.3641, allocations: 7.656 kB / 369.8 MB, free: 25.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004144/0.3645, allocations: 38.77 kB / 369.8 MB, free: 25.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.3647, allocations: 29.8 kB / 369.9 MB, free: 25.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.3647, allocations: 9.844 kB / 369.9 MB, free: 25.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002238/0.3649, allocations: 170.3 kB / 370 MB, free: 25.37 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.123e-06/0.365, allocations: 0 / 370 MB, free: 25.37 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005552/0.3655, allocations: 83.92 kB / 370.1 MB, free: 25.37 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.000167/0.3657, allocations: 112 kB / 370.2 MB, free: 25.28 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002954/0.3687, allocations: 0.535 MB / 370.8 MB, free: 25.22 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.3687, allocations: 3.844 kB / 370.8 MB, free: 25.22 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002308/0.371, allocations: 353.5 kB / 371.1 MB, free: 25.22 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005019/0.3715, allocations: 46.67 kB / 371.2 MB, free: 25.22 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.3734, allocations: 0.7683 MB / 371.9 MB, free: 24.88 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.3736, allocations: 0.7508 MB / 372.7 MB, free: 24.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001789/0.3738, allocations: 24.23 kB / 372.7 MB, free: 24.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.047e-05/0.3739, allocations: 21.16 kB / 372.7 MB, free: 24.17 MB / 302.1 MB Notification: Performance of SimCode: time 1.713e-06/0.3739, allocations: 2.344 kB / 372.7 MB, free: 24.17 MB / 302.1 MB Notification: Performance of Templates: time 0.009314/0.3833, allocations: 3.63 MB / 376.4 MB, free: 23.97 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