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.001364/0.001364, allocations: 113.7 kB / 17.74 MB, free: 5.336 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.001467/0.001467, allocations: 189.6 kB / 18.67 MB, free: 4.41 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.395/1.395, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 51.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2336, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004092/0.2377, allocations: 2.742 MB / 404.1 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.2392, allocations: 0.6972 MB / 404.8 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002072/0.2394, allocations: 4 kB / 404.9 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.2396, allocations: 43.56 kB / 404.9 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002249/0.2399, allocations: 83.2 kB / 405 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.2402, allocations: 107.8 kB / 405.1 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004726/0.2407, allocations: 386.5 kB / 405.5 MB, free: 4.812 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.2409, allocations: 72.72 kB / 405.5 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002713/0.2412, allocations: 159.5 kB / 405.7 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/0.2415, allocations: 163.3 kB / 405.8 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.741e-05/0.2415, allocations: 32 kB / 405.9 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.628e-05/0.2416, allocations: 32 kB / 405.9 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.306e-05/0.2417, allocations: 75.73 kB / 406 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.2418, allocations: 155.2 kB / 406.1 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000357/0.2422, allocations: 359.9 kB / 406.5 MB, free: 3.785 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2422, allocations: 0 / 406.5 MB, free: 3.785 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2422, allocations: 0 / 406.5 MB, free: 3.785 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.2422, allocations: 0 / 406.5 MB, free: 3.785 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.001561/0.2438, allocations: 0.6803 MB / 407.2 MB, free: 3.051 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.2439, allocations: 15.89 kB / 407.2 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.144e-05/0.2439, allocations: 28.56 kB / 407.2 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.2443, allocations: 264.8 kB / 407.5 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.2444, allocations: 16.81 kB / 407.5 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.2444, allocations: 20.38 kB / 407.5 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007799/0.2452, allocations: 314 kB / 407.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2452, allocations: 0 / 407.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/0.2453, allocations: 11.98 kB / 407.8 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.2453, allocations: 8 kB / 407.8 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009456/0.2462, allocations: 293.5 kB / 408.1 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.248, allocations: 0.9646 MB / 409.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002912/0.2509, allocations: 0.4904 MB / 409.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006534/0.2516, allocations: 212 kB / 409.8 MB, free: 312 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.2516, allocations: 3.984 kB / 409.8 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000633/0.2522, allocations: 243.2 kB / 410 MB, free: 44 kB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.104e-06/0.2523, allocations: 0 / 410 MB, free: 44 kB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001591/0.2538, allocations: 461.5 kB / 410.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.2539, allocations: 106.8 kB / 410.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.2542, allocations: 237 kB / 410.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.2542, allocations: 29.7 kB / 410.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.2543, allocations: 160.1 kB / 411 MB, free: 15.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.867e-05/0.2544, allocations: 75 kB / 411.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.2545, allocations: 45.84 kB / 411.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.2547, allocations: 334.8 kB / 411.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004914/0.2552, allocations: 140.4 kB / 411.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/0.2557, allocations: 176.9 kB / 411.7 MB, free: 14.24 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009494/0.2566, allocations: 316 kB / 412.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2567, allocations: 0 / 412.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001137/0.2578, allocations: 402.8 kB / 412.4 MB, free: 13.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/0.2579, allocations: 37.64 kB / 412.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.2579, allocations: 0 / 412.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.2579, allocations: 0 / 412.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/0.2596, allocations: 251.6 kB / 412.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004633/0.2643, allocations: 3.392 MB / 416.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004009/0.2647, allocations: 47.8 kB / 416.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.2647, allocations: 11.98 kB / 416.2 MB, free: 9.488 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.0001679/0.2649, allocations: 141.9 kB / 416.3 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/0.265, allocations: 23.72 kB / 416.3 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.679e-05/0.265, allocations: 30.17 kB / 416.4 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2651, allocations: 4 kB / 416.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.2651, allocations: 0 / 416.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2651, allocations: 3.938 kB / 416.4 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.2668, allocations: 0.9036 MB / 417.3 MB, free: 8.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.2669, allocations: 0 / 417.3 MB, free: 8.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/0.2685, allocations: 231.8 kB / 417.5 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.2686, allocations: 4 kB / 417.5 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.2686, allocations: 7.984 kB / 417.5 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004436/0.273, allocations: 3.412 MB / 420.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2731, allocations: 0 / 420.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.2746, allocations: 0.5966 MB / 421.5 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.381e-05/0.2747, allocations: 104.8 kB / 421.6 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/0.2748, allocations: 11.94 kB / 421.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003698/0.2751, allocations: 35.95 kB / 421.7 MB, free: 3.605 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.511e-05/0.2752, allocations: 27.97 kB / 421.7 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.2753, allocations: 12.05 kB / 421.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001568/0.2754, allocations: 172.5 kB / 421.9 MB, free: 3.402 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2755, allocations: 0 / 421.9 MB, free: 3.402 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004835/0.2759, allocations: 79.84 kB / 422 MB, free: 3.324 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.0001393/0.2761, allocations: 111.1 kB / 422.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002541/0.2786, allocations: 0.5341 MB / 422.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2786, allocations: 0 / 422.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001968/0.2806, allocations: 355.7 kB / 423 MB, free: 2.309 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.2811, allocations: 44.3 kB / 423 MB, free: 2.262 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.2828, allocations: 0.702 MB / 423.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.2831, allocations: 0.7557 MB / 424.5 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.618e-05/0.2832, allocations: 23.44 kB / 424.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2832, allocations: 0 / 424.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of Templates: time 0.007623/0.2908, allocations: 5.442 MB / 429.9 MB, free: 11.29 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/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