Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001183/0.001183, allocations: 109.2 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.593/1.593, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 55.62 kB / 306.3 MB, free: 1.062 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1517, allocations: 50.54 MB / 356.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.005226/0.157, allocations: 2.816 MB / 359.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.1589, allocations: 0.748 MB / 360.4 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003188/0.1592, allocations: 8 kB / 360.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002233/0.1595, allocations: 27.77 kB / 360.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003419/0.1598, allocations: 71.39 kB / 360.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004888/0.1603, allocations: 103.8 kB / 360.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005284/0.1609, allocations: 366.5 kB / 360.9 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002216/0.1611, allocations: 69.14 kB / 361 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000419/0.1615, allocations: 143.5 kB / 361.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002819/0.1618, allocations: 159.3 kB / 361.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.906e-05/0.1619, allocations: 20 kB / 361.3 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.162, allocations: 31.98 kB / 361.3 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.689e-05/0.1621, allocations: 55.75 kB / 361.4 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.1623, allocations: 139.2 kB / 361.5 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004124/0.1627, allocations: 355 kB / 361.9 MB, free: 9.418 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1627, allocations: 4 kB / 361.9 MB, free: 9.414 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1627, allocations: 0 / 361.9 MB, free: 9.414 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.1627, allocations: 0 / 361.9 MB, free: 9.414 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.001845/0.1646, allocations: 0.6841 MB / 362.6 MB, free: 8.672 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.1646, allocations: 8.031 kB / 362.6 MB, free: 8.664 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002539/0.1649, allocations: 48.56 kB / 362.6 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004004/0.1653, allocations: 274.8 kB / 362.9 MB, free: 8.309 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.1654, allocations: 12.81 kB / 362.9 MB, free: 8.297 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.755e-05/0.1654, allocations: 24.28 kB / 362.9 MB, free: 8.273 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008725/0.1663, allocations: 322 kB / 363.2 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1663, allocations: 0 / 363.2 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.1664, allocations: 4 kB / 363.2 MB, free: 7.941 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.1664, allocations: 4 kB / 363.2 MB, free: 7.938 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009959/0.1674, allocations: 301.5 kB / 363.5 MB, free: 7.645 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001949/0.1693, allocations: 0.9687 MB / 364.5 MB, free: 6.605 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003186/0.1725, allocations: 0.4982 MB / 365 MB, free: 6.098 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006905/0.1733, allocations: 216.7 kB / 365.2 MB, free: 5.883 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.706e-05/0.1733, allocations: 0 / 365.2 MB, free: 5.883 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007726/0.1741, allocations: 253.6 kB / 365.5 MB, free: 5.613 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 2.484e-06/0.1741, allocations: 0 / 365.5 MB, free: 5.613 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001592/0.1757, allocations: 465.6 kB / 365.9 MB, free: 5.152 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.1758, allocations: 114.7 kB / 366 MB, free: 5.016 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/0.1761, allocations: 244.9 kB / 366.3 MB, free: 4.766 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.314e-05/0.1761, allocations: 29.7 kB / 366.3 MB, free: 4.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.1763, allocations: 160.2 kB / 366.5 MB, free: 4.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.488e-05/0.1763, allocations: 75 kB / 366.5 MB, free: 4.496 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.1764, allocations: 41.94 kB / 366.6 MB, free: 4.449 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.1766, allocations: 334.8 kB / 366.9 MB, free: 4.113 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005135/0.1771, allocations: 144.3 kB / 367 MB, free: 3.973 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005185/0.1777, allocations: 180.2 kB / 367.2 MB, free: 3.785 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000971/0.1787, allocations: 321.8 kB / 367.5 MB, free: 3.457 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.1787, allocations: 0 / 367.5 MB, free: 3.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001223/0.1799, allocations: 410.8 kB / 367.9 MB, free: 3.043 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.752e-05/0.18, allocations: 40.45 kB / 368 MB, free: 3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.18, allocations: 0 / 368 MB, free: 3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.663e-05/0.18, allocations: 4 kB / 368 MB, free: 2.996 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/0.182, allocations: 279.5 kB / 368.2 MB, free: 2.723 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3097/0.4918, allocations: 3.138 MB / 371.4 MB, free: 19.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006303/0.4925, allocations: 53.86 kB / 371.4 MB, free: 19.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.027e-05/0.4926, allocations: 6.891 kB / 371.4 MB, free: 19.28 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.0002641/0.4928, allocations: 142.8 kB / 371.6 MB, free: 19.17 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.98e-05/0.4929, allocations: 27.39 kB / 371.6 MB, free: 19.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.46e-05/0.4931, allocations: 29.66 kB / 371.6 MB, free: 19.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.4931, allocations: 3.891 kB / 371.6 MB, free: 19.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4931, allocations: 0 / 371.6 MB, free: 19.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.4931, allocations: 5.859 kB / 371.6 MB, free: 19.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002427/0.4955, allocations: 0.9112 MB / 372.6 MB, free: 18.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.4956, allocations: 1.875 kB / 372.6 MB, free: 18.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002196/0.4978, allocations: 264.4 kB / 372.8 MB, free: 18.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.809e-06/0.4978, allocations: 1.312 kB / 372.8 MB, free: 18.78 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.032e-05/0.4978, allocations: 6.984 kB / 372.8 MB, free: 18.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004894/0.5027, allocations: 3.153 MB / 376 MB, free: 16.08 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.5027, allocations: 1.188 kB / 376 MB, free: 16.08 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.5046, allocations: 0.6024 MB / 376.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.5047, allocations: 105.6 kB / 376.7 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.982e-05/0.5048, allocations: 3.797 kB / 376.7 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004083/0.5052, allocations: 48.84 kB / 376.7 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.5054, allocations: 30.81 kB / 376.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.591e-05/0.5054, allocations: 6.469 kB / 376.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002587/0.5057, allocations: 176.9 kB / 376.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5057, allocations: 0.5 kB / 376.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006662/0.5064, allocations: 82.75 kB / 377 MB, free: 15.75 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.0001898/0.5066, allocations: 106.2 kB / 377.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003045/0.5096, allocations: 0.5774 MB / 377.7 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5096, allocations: 1.375 kB / 377.7 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002277/0.5119, allocations: 381.2 kB / 378.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000528/0.5125, allocations: 41.84 kB / 378.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.5149, allocations: 0.7734 MB / 378.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.5154, allocations: 0.752 MB / 379.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002028/0.5156, allocations: 24.39 kB / 379.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.5157, allocations: 20.56 kB / 379.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.5157, allocations: 0 / 379.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of Templates: time 0.01277/0.5285, allocations: 3.467 MB / 383.2 MB, free: 14.11 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches