Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001523/0.001523, allocations: 192.7 kB / 17.43 MB, free: 4.238 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008468/0.0008471, allocations: 92.92 kB / 299.8 MB, free: 5.359 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002664/0.0002666, allocations: 4 kB / 360.6 MB, free: 8.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2852, allocations: 51.41 MB / 412 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.002151/0.2874, allocations: 2.334 MB / 414.4 MB, free: 23.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.2885, allocations: 1.025 MB / 415.4 MB, free: 22.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.811e-05/0.2886, allocations: 0 / 415.4 MB, free: 22.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.2887, allocations: 31.77 kB / 415.4 MB, free: 22.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.2888, allocations: 72.61 kB / 415.5 MB, free: 22.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.2891, allocations: 87.91 kB / 415.6 MB, free: 22.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.2894, allocations: 370.5 kB / 415.9 MB, free: 21.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.2895, allocations: 69.12 kB / 416 MB, free: 21.87 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000215/0.2897, allocations: 131.5 kB / 416.1 MB, free: 21.74 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.2899, allocations: 159.3 kB / 416.3 MB, free: 21.58 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/0.29, allocations: 16 kB / 416.3 MB, free: 21.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.155e-05/0.29, allocations: 24 kB / 416.3 MB, free: 21.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.132e-05/0.2901, allocations: 51.7 kB / 416.4 MB, free: 21.49 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.2902, allocations: 157 kB / 416.5 MB, free: 21.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.2905, allocations: 348.2 kB / 416.9 MB, free: 20.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2905, allocations: 0 / 416.9 MB, free: 20.99 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2905, allocations: 0 / 416.9 MB, free: 20.99 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.2905, allocations: 0 / 416.9 MB, free: 20.99 MB / 298.7 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.001217/0.2918, allocations: 0.6533 MB / 417.5 MB, free: 20.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.2918, allocations: 16.03 kB / 417.6 MB, free: 20.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.292, allocations: 44.55 kB / 417.6 MB, free: 20.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.2923, allocations: 260.8 kB / 417.9 MB, free: 19.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.2923, allocations: 16.81 kB / 417.9 MB, free: 19.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.857e-05/0.2924, allocations: 28.36 kB / 417.9 MB, free: 19.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006621/0.293, allocations: 334 kB / 418.2 MB, free: 19.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2931, allocations: 4 kB / 418.2 MB, free: 19.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.2931, allocations: 4 kB / 418.2 MB, free: 19.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.2931, allocations: 4 kB / 418.2 MB, free: 19.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008279/0.2939, allocations: 329.5 kB / 418.6 MB, free: 19.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.2954, allocations: 1.004 MB / 419.6 MB, free: 18.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002758/0.2982, allocations: 0.592 MB / 420.2 MB, free: 17.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005636/0.2987, allocations: 240.7 kB / 420.4 MB, free: 17.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.2988, allocations: 7.984 kB / 420.4 MB, free: 17.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005664/0.2994, allocations: 259.5 kB / 420.6 MB, free: 17.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.684e-06/0.2994, allocations: 0 / 420.6 MB, free: 17.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.001386/0.3008, allocations: 0.5145 MB / 421.2 MB, free: 16.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.3008, allocations: 110.8 kB / 421.3 MB, free: 16.37 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.301, allocations: 241 kB / 421.5 MB, free: 16.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.301, allocations: 29.7 kB / 421.5 MB, free: 16.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.012e-05/0.3011, allocations: 160.2 kB / 421.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.136e-05/0.3012, allocations: 67.02 kB / 421.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.634e-05/0.3012, allocations: 4 kB / 421.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.465e-05/0.3013, allocations: 334.8 kB / 422.1 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004205/0.3017, allocations: 164.4 kB / 422.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004176/0.3021, allocations: 193.7 kB / 422.4 MB, free: 15.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007981/0.3029, allocations: 362.7 kB / 422.8 MB, free: 14.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3029, allocations: 0 / 422.8 MB, free: 14.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009573/0.3039, allocations: 449.7 kB / 423.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.304, allocations: 37.64 kB / 423.3 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.304, allocations: 0 / 423.3 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.304, allocations: 7.984 kB / 423.3 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/0.3057, allocations: 307.7 kB / 423.6 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003663/0.3094, allocations: 3.224 MB / 426.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003625/0.3097, allocations: 59.89 kB / 426.9 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.3098, allocations: 8 kB / 426.9 MB, free: 10.43 MB / 298.7 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 ($whenCondition1,$PRE.pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.count) * 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.000137/0.3099, allocations: 148.6 kB / 427 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/0.31, allocations: 23.72 kB / 427 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.26e-05/0.31, allocations: 34.17 kB / 427.1 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.31, allocations: 3.938 kB / 427.1 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3101, allocations: 4 kB / 427.1 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3101, allocations: 7.984 kB / 427.1 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.3116, allocations: 0.9555 MB / 428 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3116, allocations: 0 / 428 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001646/0.3133, allocations: 303.8 kB / 428.3 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.3133, allocations: 3.984 kB / 428.3 MB, free: 8.887 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.3133, allocations: 4 kB / 428.3 MB, free: 8.883 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003457/0.3168, allocations: 3.235 MB / 431.6 MB, free: 5.391 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3168, allocations: 4 kB / 431.6 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.318, allocations: 0.6634 MB / 432.2 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-05/0.3181, allocations: 108.7 kB / 432.4 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.3181, allocations: 8 kB / 432.4 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003164/0.3185, allocations: 52.02 kB / 432.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.146e-05/0.3186, allocations: 27.92 kB / 432.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.3186, allocations: 11.98 kB / 432.4 MB, free: 4.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001141/0.3187, allocations: 164.5 kB / 432.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3187, allocations: 0 / 432.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000409/0.3191, allocations: 83.84 kB / 432.7 MB, free: 4.234 MB / 298.7 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.0001729/0.3193, allocations: 117.6 kB / 432.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002304/0.3216, allocations: 0.6395 MB / 433.4 MB, free: 3.457 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3216, allocations: 4.062 kB / 433.4 MB, free: 3.453 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001798/0.3234, allocations: 447.7 kB / 433.9 MB, free: 3.016 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.3238, allocations: 36.36 kB / 433.9 MB, free: 2.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.3253, allocations: 0.8395 MB / 434.8 MB, free: 2.109 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/0.3255, allocations: 0.7482 MB / 435.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.3256, allocations: 25.94 kB / 435.5 MB, free: 1.309 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.763e-05/0.3257, allocations: 19.44 kB / 435.6 MB, free: 1.289 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.3257, allocations: 0 / 435.6 MB, free: 1.289 MB / 298.7 MB Notification: Performance of Templates: time 0.006738/0.3325, allocations: 3.41 MB / 439 MB, free: 13.89 MB / 314.7 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","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches