Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009932/0.0009932, allocations: 177.2 kB / 17.36 MB, free: 4.324 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 205.6 MB / 223.7 MB, free: 8.969 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008011/0.000801, allocations: 82.44 kB / 272.1 MB, free: 8.148 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003163, allocations: 4 kB / 329 MB, free: 15.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3048, allocations: 47.58 MB / 376.6 MB, free: 45.61 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003021/0.3079, allocations: 2.295 MB / 378.9 MB, free: 43.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.3092, allocations: 0.7929 MB / 379.7 MB, free: 43.12 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.3094, allocations: 3.312 kB / 379.7 MB, free: 43.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.3095, allocations: 38.73 kB / 379.7 MB, free: 43.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001672/0.3097, allocations: 68.36 kB / 379.8 MB, free: 43.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.3101, allocations: 99.39 kB / 379.9 MB, free: 42.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004316/0.3105, allocations: 355.4 kB / 380.2 MB, free: 42.74 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.3107, allocations: 66.5 kB / 380.3 MB, free: 42.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.3109, allocations: 124.3 kB / 380.4 MB, free: 42.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.3112, allocations: 159.8 kB / 380.6 MB, free: 42.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.226e-05/0.3112, allocations: 17.66 kB / 380.6 MB, free: 42.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.257e-05/0.3113, allocations: 16.53 kB / 380.6 MB, free: 42.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.371e-05/0.3114, allocations: 54.62 kB / 380.7 MB, free: 42.49 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.3115, allocations: 160 kB / 380.8 MB, free: 42.37 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.3119, allocations: 345.4 kB / 381.2 MB, free: 42.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.3119, allocations: 0 / 381.2 MB, free: 42.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3119, allocations: 1.125 kB / 381.2 MB, free: 42.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.3119, allocations: 0 / 381.2 MB, free: 42.11 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.001527/0.3134, allocations: 0.6602 MB / 381.8 MB, free: 41.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.3135, allocations: 10.31 kB / 381.8 MB, free: 41.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.292e-05/0.3136, allocations: 31.06 kB / 381.9 MB, free: 41.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.3139, allocations: 267.3 kB / 382.1 MB, free: 41.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.314, allocations: 13.34 kB / 382.1 MB, free: 41.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.465e-05/0.314, allocations: 22.75 kB / 382.2 MB, free: 41.24 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008169/0.3149, allocations: 332.9 kB / 382.5 MB, free: 41.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.3149, allocations: 7.922 kB / 382.5 MB, free: 41.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.3149, allocations: 5.375 kB / 382.5 MB, free: 41.03 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.3149, allocations: 4.969 kB / 382.5 MB, free: 41.03 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009404/0.3159, allocations: 334.7 kB / 382.8 MB, free: 40.9 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.3176, allocations: 1 MB / 383.8 MB, free: 40.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003012/0.3207, allocations: 0.6031 MB / 384.4 MB, free: 39.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006633/0.3213, allocations: 235.1 kB / 384.7 MB, free: 39.72 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/0.3214, allocations: 10.14 kB / 384.7 MB, free: 39.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007286/0.3221, allocations: 255.9 kB / 384.9 MB, free: 39.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.905e-06/0.3221, allocations: 0 / 384.9 MB, free: 39.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.001847/0.324, allocations: 0.5191 MB / 385.4 MB, free: 39.31 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.3241, allocations: 109.5 kB / 385.5 MB, free: 39.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003578/0.3245, allocations: 235 kB / 385.8 MB, free: 39.01 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.3246, allocations: 27.83 kB / 385.8 MB, free: 38.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.3247, allocations: 158.3 kB / 386 MB, free: 38.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.338e-05/0.3248, allocations: 71.12 kB / 386 MB, free: 38.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.985e-05/0.3248, allocations: 5.031 kB / 386 MB, free: 38.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.325, allocations: 331.7 kB / 386.4 MB, free: 38.44 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004857/0.3255, allocations: 167.9 kB / 386.5 MB, free: 38.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004511/0.3259, allocations: 196.2 kB / 386.7 MB, free: 38.1 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008589/0.3268, allocations: 364 kB / 387.1 MB, free: 37.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3268, allocations: 0 / 387.1 MB, free: 37.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001037/0.3279, allocations: 448.6 kB / 387.5 MB, free: 37.28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.554e-05/0.3279, allocations: 33.64 kB / 387.5 MB, free: 37.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.3279, allocations: 7.938 kB / 387.5 MB, free: 37.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/0.328, allocations: 3.938 kB / 387.6 MB, free: 37.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/0.3297, allocations: 311.7 kB / 387.9 MB, free: 36.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004184/0.3339, allocations: 3.228 MB / 391.1 MB, free: 33.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004404/0.3343, allocations: 63.92 kB / 391.1 MB, free: 33.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.3344, allocations: 8 kB / 391.2 MB, free: 33.36 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.0002413/0.3346, allocations: 139.2 kB / 391.3 MB, free: 33.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.3347, allocations: 23.72 kB / 391.3 MB, free: 33.19 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.852e-05/0.3347, allocations: 30.17 kB / 391.3 MB, free: 33.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3347, allocations: 7.938 kB / 391.3 MB, free: 33.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3347, allocations: 0 / 391.3 MB, free: 33.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3348, allocations: 0 / 391.3 MB, free: 33.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.3363, allocations: 0.9527 MB / 392.3 MB, free: 32.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3363, allocations: 0 / 392.3 MB, free: 32.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001679/0.338, allocations: 307.7 kB / 392.6 MB, free: 31.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/0.338, allocations: 4 kB / 392.6 MB, free: 31.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.3381, allocations: 3.984 kB / 392.6 MB, free: 31.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003961/0.342, allocations: 3.236 MB / 395.8 MB, free: 28.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.3421, allocations: 7.984 kB / 395.9 MB, free: 28.33 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.3435, allocations: 0.6641 MB / 396.5 MB, free: 27.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.3437, allocations: 104.7 kB / 396.6 MB, free: 27.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-05/0.3437, allocations: 7.984 kB / 396.6 MB, free: 27.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003331/0.3441, allocations: 52.02 kB / 396.7 MB, free: 27.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.3442, allocations: 31.91 kB / 396.7 MB, free: 27.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.3442, allocations: 11.98 kB / 396.7 MB, free: 27.42 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001491/0.3444, allocations: 164.5 kB / 396.9 MB, free: 27.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3444, allocations: 0 / 396.9 MB, free: 27.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004738/0.3449, allocations: 79.84 kB / 397 MB, free: 27.18 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.0001516/0.345, allocations: 115.2 kB / 397.1 MB, free: 27.06 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002441/0.3475, allocations: 0.6356 MB / 397.7 MB, free: 26.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3475, allocations: 7.938 kB / 397.7 MB, free: 26.4 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001893/0.3494, allocations: 439.8 kB / 398.1 MB, free: 25.97 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.3498, allocations: 51.09 kB / 398.2 MB, free: 25.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.3515, allocations: 0.837 MB / 399 MB, free: 25.06 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.3517, allocations: 0.7482 MB / 399.8 MB, free: 24.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000152/0.3519, allocations: 25.95 kB / 399.8 MB, free: 24.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.271e-05/0.352, allocations: 23.44 kB / 399.8 MB, free: 24.23 MB / 298.7 MB Notification: Performance of SimCode: time 8.01e-07/0.352, allocations: 0 / 399.8 MB, free: 24.23 MB / 298.7 MB Notification: Performance of Templates: time 0.006808/0.3588, allocations: 3.392 MB / 403.2 MB, free: 20.86 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches