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.001349/0.00135, allocations: 109.6 kB / 17.06 MB, free: 6.004 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.00209/0.00209, allocations: 192 kB / 18 MB, free: 5.09 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.51/1.51, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 47.92 kB / 351.3 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3726, allocations: 49.43 MB / 400.7 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004185/0.3769, allocations: 2.74 MB / 403.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.3781, allocations: 0.6972 MB / 404.2 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.3783, allocations: 4 kB / 404.2 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.3784, allocations: 47.58 kB / 404.2 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001803/0.3786, allocations: 83.2 kB / 404.3 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.379, allocations: 107.8 kB / 404.4 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004073/0.3794, allocations: 374.5 kB / 404.8 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.3796, allocations: 84.69 kB / 404.9 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.3798, allocations: 147.4 kB / 405 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.38, allocations: 171.3 kB / 405.2 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.005e-05/0.3801, allocations: 36 kB / 405.2 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.807e-05/0.3802, allocations: 32 kB / 405.2 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.229e-05/0.3802, allocations: 71.75 kB / 405.3 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.3804, allocations: 159.2 kB / 405.5 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003847/0.3808, allocations: 354.5 kB / 405.8 MB, free: 3.801 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.3808, allocations: 4 kB / 405.8 MB, free: 3.797 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.3808, allocations: 7.922 kB / 405.8 MB, free: 3.789 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.3808, allocations: 0 / 405.8 MB, free: 3.789 MB / 318.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.001514/0.3824, allocations: 0.6762 MB / 406.5 MB, free: 3.059 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.3824, allocations: 11.89 kB / 406.5 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.842e-05/0.3825, allocations: 36.75 kB / 406.5 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.3829, allocations: 277 kB / 406.8 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.3829, allocations: 12.81 kB / 406.8 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.827e-05/0.383, allocations: 24.33 kB / 406.8 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007593/0.3838, allocations: 318 kB / 407.2 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3838, allocations: 4 kB / 407.2 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.3838, allocations: 4 kB / 407.2 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.3838, allocations: 4 kB / 407.2 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008935/0.3847, allocations: 289.5 kB / 407.4 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.3864, allocations: 0.961 MB / 408.4 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002631/0.389, allocations: 0.4904 MB / 408.9 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006098/0.3897, allocations: 216.7 kB / 409.1 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.3897, allocations: 7.938 kB / 409.1 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005914/0.3903, allocations: 235.2 kB / 409.3 MB, free: 44 kB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.463e-06/0.3903, allocations: 0 / 409.3 MB, free: 44 kB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001511/0.3918, allocations: 465.7 kB / 409.8 MB, free: 15.58 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/0.3919, allocations: 106.8 kB / 409.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.3922, allocations: 233 kB / 410.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.3922, allocations: 33.7 kB / 410.2 MB, free: 15.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.3923, allocations: 160.3 kB / 410.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.509e-05/0.3924, allocations: 71.36 kB / 410.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.3925, allocations: 53.89 kB / 410.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.3927, allocations: 334.8 kB / 410.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004491/0.3931, allocations: 132.4 kB / 410.9 MB, free: 14.42 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004596/0.3936, allocations: 184.9 kB / 411.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008606/0.3945, allocations: 316 kB / 411.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3945, allocations: 4 kB / 411.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001036/0.3955, allocations: 398.9 kB / 411.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.618e-05/0.3956, allocations: 33.64 kB / 411.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3956, allocations: 4.062 kB / 411.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.3956, allocations: 4 kB / 411.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/0.3972, allocations: 235.6 kB / 412.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004716/0.4019, allocations: 3.396 MB / 415.5 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/0.4023, allocations: 60.03 kB / 415.5 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.4023, allocations: 11.98 kB / 415.5 MB, free: 9.48 MB / 334.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.0002039/0.4025, allocations: 141.7 kB / 415.7 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.4026, allocations: 23.86 kB / 415.7 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.569e-05/0.4027, allocations: 38.17 kB / 415.7 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4027, allocations: 0 / 415.7 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4027, allocations: 4 kB / 415.7 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.4027, allocations: 3.938 kB / 415.7 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.4044, allocations: 0.8921 MB / 416.6 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.4044, allocations: 3.984 kB / 416.6 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001536/0.406, allocations: 227.8 kB / 416.8 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.406, allocations: 3.938 kB / 416.9 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/0.406, allocations: 7.984 kB / 416.9 MB, free: 8.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004646/0.4107, allocations: 3.416 MB / 420.3 MB, free: 4.383 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4107, allocations: 0 / 420.3 MB, free: 4.383 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.4122, allocations: 0.5965 MB / 420.9 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.33e-05/0.4123, allocations: 105 kB / 421 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.705e-05/0.4124, allocations: 7.938 kB / 421 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003389/0.4127, allocations: 40.02 kB / 421 MB, free: 3.598 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.4128, allocations: 31.95 kB / 421.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.4129, allocations: 8 kB / 421.1 MB, free: 3.559 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001641/0.413, allocations: 168.5 kB / 421.2 MB, free: 3.398 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.413, allocations: 0 / 421.2 MB, free: 3.398 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004907/0.4135, allocations: 79.89 kB / 421.3 MB, free: 3.32 MB / 334.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.0001511/0.4137, allocations: 115.1 kB / 421.4 MB, free: 3.195 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002432/0.4161, allocations: 0.5379 MB / 422 MB, free: 2.645 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4161, allocations: 0 / 422 MB, free: 2.645 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001806/0.418, allocations: 359.8 kB / 422.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.4184, allocations: 40.36 kB / 422.3 MB, free: 2.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.4202, allocations: 0.6877 MB / 423 MB, free: 1.531 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.4205, allocations: 0.7519 MB / 423.8 MB, free: 0.75 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001388/0.4207, allocations: 21.95 kB / 423.8 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.78e-05/0.4208, allocations: 19.44 kB / 423.8 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4208, allocations: 3.938 kB / 423.8 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of Templates: time 0.008478/0.4293, allocations: 3.805 MB / 427.6 MB, free: 12.95 MB / 350.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