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.001259/0.001259, allocations: 115.5 kB / 17.69 MB, free: 5.434 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.001122/0.001122, allocations: 188 kB / 18.63 MB, free: 4.504 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.541/1.541, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 55.27 kB / 302.1 MB, free: 5.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1341, allocations: 49.45 MB / 351.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004811/0.1389, allocations: 2.726 MB / 354.2 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.1402, allocations: 0.705 MB / 354.9 MB, free: 248 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.1404, allocations: 4 kB / 354.9 MB, free: 244 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.1405, allocations: 43.58 kB / 355 MB, free: 200 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.1407, allocations: 79.27 kB / 355.1 MB, free: 120 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.1411, allocations: 111.8 kB / 355.2 MB, free: 8 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004205/0.1415, allocations: 382.5 kB / 355.5 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.1417, allocations: 88.55 kB / 355.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.1419, allocations: 143.5 kB / 355.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.1422, allocations: 167.3 kB / 355.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.228e-05/0.1422, allocations: 36 kB / 356 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.441e-05/0.1423, allocations: 32 kB / 356 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.1424, allocations: 79.67 kB / 356.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.1426, allocations: 147.3 kB / 356.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000371/0.143, allocations: 362.8 kB / 356.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.143, allocations: 4 kB / 356.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.143, allocations: 4 kB / 356.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.405e-06/0.143, allocations: 0 / 356.6 MB, free: 14.59 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.001583/0.1446, allocations: 0.6765 MB / 357.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.1447, allocations: 11.89 kB / 357.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.592e-05/0.1447, allocations: 36.5 kB / 357.3 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.1451, allocations: 268.8 kB / 357.6 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.1452, allocations: 12.81 kB / 357.6 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.395e-05/0.1452, allocations: 24.36 kB / 357.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006981/0.1459, allocations: 310 kB / 357.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.146, allocations: 4 kB / 357.9 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.146, allocations: 4 kB / 357.9 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.146, allocations: 8 kB / 357.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008599/0.1469, allocations: 293.5 kB / 358.2 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.1486, allocations: 0.9685 MB / 359.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002762/0.1513, allocations: 490.2 kB / 359.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007106/0.1521, allocations: 216.7 kB / 359.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.1521, allocations: 4 kB / 359.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006022/0.1527, allocations: 245.7 kB / 360.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.803e-06/0.1527, allocations: 0 / 360.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001527/0.1543, allocations: 457.5 kB / 360.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.03e-05/0.1544, allocations: 114.8 kB / 360.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.1546, allocations: 225 kB / 360.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.1547, allocations: 29.7 kB / 360.9 MB, free: 9.988 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.1548, allocations: 160.2 kB / 361.1 MB, free: 9.828 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.825e-05/0.1549, allocations: 71 kB / 361.1 MB, free: 9.758 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.155, allocations: 53.92 kB / 361.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.1552, allocations: 334.8 kB / 361.5 MB, free: 9.359 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004621/0.1557, allocations: 136.4 kB / 361.7 MB, free: 9.227 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004544/0.1561, allocations: 173.4 kB / 361.8 MB, free: 9.047 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008407/0.157, allocations: 312.1 kB / 362.1 MB, free: 8.727 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.157, allocations: 0 / 362.1 MB, free: 8.727 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00103/0.158, allocations: 410.7 kB / 362.5 MB, free: 8.312 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.968e-05/0.1581, allocations: 41.64 kB / 362.6 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1581, allocations: 4.062 kB / 362.6 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.1582, allocations: 0 / 362.6 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/0.1599, allocations: 239.6 kB / 362.8 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00537/0.1653, allocations: 3.392 MB / 366.2 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004444/0.1658, allocations: 63.73 kB / 366.3 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.498e-05/0.1658, allocations: 12 kB / 366.3 MB, free: 4.289 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.0002424/0.1661, allocations: 137.8 kB / 366.4 MB, free: 4.145 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.1661, allocations: 19.81 kB / 366.4 MB, free: 4.125 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.086e-05/0.1662, allocations: 30.17 kB / 366.5 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1662, allocations: 11.98 kB / 366.5 MB, free: 4.078 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.1662, allocations: 0 / 366.5 MB, free: 4.078 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1662, allocations: 0 / 366.5 MB, free: 4.078 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/0.1681, allocations: 0.8999 MB / 367.4 MB, free: 3.117 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.1682, allocations: 3.938 kB / 367.4 MB, free: 3.113 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/0.1698, allocations: 227.8 kB / 367.6 MB, free: 2.891 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.1698, allocations: 4 kB / 367.6 MB, free: 2.887 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/0.1699, allocations: 8 kB / 367.6 MB, free: 2.879 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2834/0.4532, allocations: 3.403 MB / 371 MB, free: 24.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.4533, allocations: 4.734 kB / 371 MB, free: 24.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.4552, allocations: 0.5944 MB / 371.6 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.4553, allocations: 99.69 kB / 371.7 MB, free: 23.99 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.4554, allocations: 6.844 kB / 371.7 MB, free: 23.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004209/0.4558, allocations: 42.11 kB / 371.8 MB, free: 23.99 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.456, allocations: 31.14 kB / 371.8 MB, free: 23.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/0.456, allocations: 13.08 kB / 371.8 MB, free: 23.99 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002374/0.4563, allocations: 169.2 kB / 372 MB, free: 23.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4563, allocations: 0.6562 kB / 372 MB, free: 23.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006272/0.4569, allocations: 81.52 kB / 372 MB, free: 23.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.0002413/0.4572, allocations: 106.1 kB / 372.2 MB, free: 23.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002817/0.46, allocations: 0.5361 MB / 372.7 MB, free: 23.76 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.46, allocations: 0 / 372.7 MB, free: 23.76 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002039/0.462, allocations: 353.9 kB / 373 MB, free: 23.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.4625, allocations: 40.88 kB / 373.1 MB, free: 23.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.4649, allocations: 0.6801 MB / 373.8 MB, free: 23.51 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004822/0.4654, allocations: 0.7497 MB / 374.5 MB, free: 22.81 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001687/0.4656, allocations: 22.94 kB / 374.5 MB, free: 22.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.911e-05/0.4657, allocations: 22.47 kB / 374.5 MB, free: 22.8 MB / 302.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4657, allocations: 0 / 374.5 MB, free: 22.8 MB / 302.1 MB Notification: Performance of Templates: time 0.01136/0.477, allocations: 3.759 MB / 378.3 MB, free: 22.6 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 -s cvode -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