Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000859/0.0008588, allocations: 183.2 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 225.7 MB / 243.2 MB, free: 8.508 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007774/0.0007772, allocations: 94.02 kB / 294.4 MB, free: 9.531 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002535/0.0002535, allocations: 7.938 kB / 354.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2054, allocations: 50.41 MB / 404.6 MB, free: 31.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.001999/0.2075, allocations: 2.317 MB / 406.9 MB, free: 29.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007914/0.2083, allocations: 0.7466 MB / 407.6 MB, free: 28.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.803e-05/0.2084, allocations: 7.938 kB / 407.6 MB, free: 28.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.2085, allocations: 28.27 kB / 407.7 MB, free: 28.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.2086, allocations: 69.14 kB / 407.7 MB, free: 28.17 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.2089, allocations: 97.48 kB / 407.8 MB, free: 28.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.2091, allocations: 358.5 kB / 408.2 MB, free: 27.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.2093, allocations: 74.2 kB / 408.3 MB, free: 27.65 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.2095, allocations: 131.5 kB / 408.4 MB, free: 27.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.2096, allocations: 159.3 kB / 408.5 MB, free: 27.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.775e-05/0.2097, allocations: 16 kB / 408.6 MB, free: 27.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.192e-05/0.2097, allocations: 16 kB / 408.6 MB, free: 27.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.713e-05/0.2098, allocations: 55.8 kB / 408.6 MB, free: 27.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.2099, allocations: 168.9 kB / 408.8 MB, free: 27.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.2101, allocations: 336.3 kB / 409.1 MB, free: 26.78 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2101, allocations: 0 / 409.1 MB, free: 26.78 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2102, allocations: 0 / 409.1 MB, free: 26.78 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.2102, allocations: 3.938 kB / 409.1 MB, free: 26.78 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.001163/0.2113, allocations: 0.6533 MB / 409.8 MB, free: 26.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.2114, allocations: 11.97 kB / 409.8 MB, free: 26.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.449e-05/0.2114, allocations: 32.56 kB / 409.8 MB, free: 26.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.2116, allocations: 268.8 kB / 410.1 MB, free: 25.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.2117, allocations: 16.81 kB / 410.1 MB, free: 25.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.2117, allocations: 20.36 kB / 410.1 MB, free: 25.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006215/0.2124, allocations: 330 kB / 410.4 MB, free: 25.35 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2124, allocations: 3.938 kB / 410.4 MB, free: 25.35 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.2124, allocations: 12 kB / 410.5 MB, free: 25.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.2124, allocations: 12 kB / 410.5 MB, free: 25.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007898/0.2132, allocations: 333.5 kB / 410.8 MB, free: 25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.2145, allocations: 0.9959 MB / 411.8 MB, free: 23.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002578/0.2171, allocations: 0.5959 MB / 412.4 MB, free: 23.33 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005317/0.2177, allocations: 236.7 kB / 412.6 MB, free: 23.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.2177, allocations: 4 kB / 412.6 MB, free: 23.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005394/0.2183, allocations: 262.9 kB / 412.9 MB, free: 22.81 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.294e-06/0.2183, allocations: 0 / 412.9 MB, free: 22.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.001325/0.2196, allocations: 0.5236 MB / 413.4 MB, free: 22.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.2197, allocations: 106.8 kB / 413.5 MB, free: 22.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.2198, allocations: 229 kB / 413.7 MB, free: 21.92 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.2199, allocations: 33.7 kB / 413.8 MB, free: 21.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.426e-05/0.22, allocations: 156.2 kB / 413.9 MB, free: 21.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.22, allocations: 74.98 kB / 414 MB, free: 21.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.617e-05/0.22, allocations: 4 kB / 414 MB, free: 21.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.609e-05/0.2201, allocations: 338.8 kB / 414.3 MB, free: 21.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004094/0.2205, allocations: 160.3 kB / 414.5 MB, free: 21.15 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000425/0.2209, allocations: 200.2 kB / 414.7 MB, free: 20.94 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007601/0.2217, allocations: 348.1 kB / 415 MB, free: 20.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2217, allocations: 0 / 415 MB, free: 20.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008962/0.2226, allocations: 449.5 kB / 415.5 MB, free: 20.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.2227, allocations: 37.64 kB / 415.5 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2227, allocations: 7.938 kB / 415.5 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.2227, allocations: 0 / 415.5 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/0.2243, allocations: 311.7 kB / 415.8 MB, free: 19.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003498/0.2279, allocations: 3.22 MB / 419 MB, free: 16.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003268/0.2282, allocations: 59.83 kB / 419.1 MB, free: 16.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.2282, allocations: 15.98 kB / 419.1 MB, free: 16.23 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.0001211/0.2284, allocations: 141.8 kB / 419.2 MB, free: 16.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.2284, allocations: 27.72 kB / 419.3 MB, free: 16.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.689e-05/0.2285, allocations: 26.17 kB / 419.3 MB, free: 16.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2285, allocations: 7.938 kB / 419.3 MB, free: 16.01 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2285, allocations: 3.938 kB / 419.3 MB, free: 16.01 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2285, allocations: 0 / 419.3 MB, free: 16.01 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.2299, allocations: 0.9557 MB / 420.3 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.2299, allocations: 4 kB / 420.3 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001579/0.2315, allocations: 303.7 kB / 420.6 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2315, allocations: 4 kB / 420.6 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.2316, allocations: 7.984 kB / 420.6 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003354/0.2349, allocations: 3.236 MB / 423.8 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2349, allocations: 3.938 kB / 423.8 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.2362, allocations: 0.6648 MB / 424.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.2362, allocations: 100.7 kB / 424.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.2363, allocations: 12.06 kB / 424.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/0.2366, allocations: 51.95 kB / 424.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.915e-05/0.2367, allocations: 31.89 kB / 424.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.2367, allocations: 8 kB / 424.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001164/0.2369, allocations: 168.5 kB / 424.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2369, allocations: 0 / 424.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003898/0.2373, allocations: 83.84 kB / 424.9 MB, free: 10.03 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.0001226/0.2374, allocations: 115.2 kB / 425 MB, free: 9.906 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00226/0.2397, allocations: 0.6507 MB / 425.7 MB, free: 9.246 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2397, allocations: 0 / 425.7 MB, free: 9.246 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001815/0.2415, allocations: 447.8 kB / 426.1 MB, free: 8.809 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.2419, allocations: 36.34 kB / 426.2 MB, free: 8.773 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.2433, allocations: 0.8356 MB / 427 MB, free: 7.902 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.2434, allocations: 0.7521 MB / 427.7 MB, free: 7.125 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001251/0.2435, allocations: 21.95 kB / 427.8 MB, free: 7.102 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.64e-05/0.2436, allocations: 19.44 kB / 427.8 MB, free: 7.082 MB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2436, allocations: 4 kB / 427.8 MB, free: 7.078 MB / 298.7 MB Notification: Performance of Templates: time 0.00551/0.2491, allocations: 3.392 MB / 431.2 MB, free: 3.699 MB / 298.7 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","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches