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.0008859/0.000886, allocations: 91.8 kB / 17.31 MB, free: 5.59 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.001071/0.001071, allocations: 178.8 kB / 18.21 MB, free: 5.191 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.268/1.268, allocations: 223.3 MB / 242.3 MB, free: 184 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002313/0.0002314, allocations: 15.94 kB / 302.1 MB, free: 6.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07544/0.07568, allocations: 50.43 MB / 352.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.002576/0.07829, allocations: 2.405 MB / 354.9 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.07943, allocations: 0.6857 MB / 355.6 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.07957, allocations: 4 kB / 355.6 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.0797, allocations: 31.77 kB / 355.6 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.07991, allocations: 71.39 kB / 355.7 MB, free: 496 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.0802, allocations: 91.91 kB / 355.8 MB, free: 404 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000334/0.08055, allocations: 362.5 kB / 356.1 MB, free: 40 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.08073, allocations: 72.98 kB / 356.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.08094, allocations: 131.5 kB / 356.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.08116, allocations: 147.4 kB / 356.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.343e-05/0.08121, allocations: 20 kB / 356.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.41e-05/0.08126, allocations: 16 kB / 356.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6e-05/0.08133, allocations: 59.73 kB / 356.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.08153, allocations: 157 kB / 356.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.08177, allocations: 267.5 kB / 357 MB, free: 15.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.08178, allocations: 0 / 357 MB, free: 15.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.08178, allocations: 0 / 357 MB, free: 15.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.08179, allocations: 0 / 357 MB, free: 15.18 MB / 302.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.001431/0.08323, allocations: 0.661 MB / 357.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.08327, allocations: 12.03 kB / 357.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.92e-05/0.08335, allocations: 24.66 kB / 357.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.08362, allocations: 264.8 kB / 357.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.08366, allocations: 20.8 kB / 358 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.817e-05/0.08371, allocations: 20.38 kB / 358 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007828/0.0845, allocations: 338 kB / 358.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.08453, allocations: 3.984 kB / 358.3 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.08456, allocations: 8 kB / 358.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.08457, allocations: 4 kB / 358.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.0856, allocations: 337.5 kB / 358.7 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.08727, allocations: 0.992 MB / 359.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003265/0.09054, allocations: 0.6036 MB / 360.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006851/0.09124, allocations: 240.7 kB / 360.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.09128, allocations: 0 / 360.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006817/0.09197, allocations: 264.9 kB / 360.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.472e-06/0.09198, allocations: 4 kB / 360.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001681/0.09367, allocations: 0.5159 MB / 361.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.09374, allocations: 110.8 kB / 361.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.09398, allocations: 233 kB / 361.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.09403, allocations: 37.64 kB / 361.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.09415, allocations: 156.2 kB / 361.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.584e-05/0.09423, allocations: 70.98 kB / 361.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/0.09429, allocations: 29.7 kB / 361.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.09442, allocations: 334.8 kB / 362.2 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005409/0.09497, allocations: 164.4 kB / 362.4 MB, free: 9.508 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005442/0.09552, allocations: 201.2 kB / 362.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.09657, allocations: 352.1 kB / 362.9 MB, free: 8.941 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.09658, allocations: 4 kB / 362.9 MB, free: 8.938 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001202/0.09779, allocations: 454.8 kB / 363.4 MB, free: 8.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/0.09784, allocations: 36.45 kB / 363.4 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.09785, allocations: 8 kB / 363.4 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.09787, allocations: 0 / 363.4 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001958/0.09983, allocations: 319.6 kB / 363.7 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004691/0.1045, allocations: 3.213 MB / 366.9 MB, free: 4.648 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004081/0.105, allocations: 67.86 kB / 367 MB, free: 4.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.105, allocations: 15.98 kB / 367 MB, free: 4.566 MB / 302.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.0001456/0.1051, allocations: 137.8 kB / 367.2 MB, free: 4.422 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.1052, allocations: 23.72 kB / 367.2 MB, free: 4.398 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.429e-05/0.1053, allocations: 26.17 kB / 367.2 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.1053, allocations: 7.938 kB / 367.2 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.1053, allocations: 4 kB / 367.2 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1053, allocations: 0 / 367.2 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/0.1072, allocations: 0.9595 MB / 368.2 MB, free: 3.332 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1072, allocations: 0 / 368.2 MB, free: 3.332 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001953/0.1092, allocations: 303.8 kB / 368.5 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.1092, allocations: 0 / 368.5 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.1092, allocations: 12 kB / 368.5 MB, free: 3.023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1407/0.25, allocations: 3.221 MB / 371.7 MB, free: 23.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.25, allocations: 3.062 kB / 371.7 MB, free: 23.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.2518, allocations: 0.6684 MB / 372.4 MB, free: 23.6 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.19e-05/0.2519, allocations: 96.91 kB / 372.5 MB, free: 23.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/0.2519, allocations: 9.906 kB / 372.5 MB, free: 23.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/0.2523, allocations: 53.89 kB / 372.5 MB, free: 23.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.984e-05/0.2524, allocations: 25.89 kB / 372.6 MB, free: 23.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.2525, allocations: 8.406 kB / 372.6 MB, free: 23.51 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001647/0.2526, allocations: 173.7 kB / 372.7 MB, free: 23.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.2526, allocations: 0 / 372.7 MB, free: 23.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004881/0.2531, allocations: 81.95 kB / 372.8 MB, free: 23.43 MB / 302.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.000106/0.2532, allocations: 104.4 kB / 372.9 MB, free: 23.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00273/0.256, allocations: 0.6467 MB / 373.6 MB, free: 23.28 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.256, allocations: 5 kB / 373.6 MB, free: 23.28 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002168/0.2582, allocations: 444 kB / 374 MB, free: 23.28 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.2586, allocations: 36.47 kB / 374 MB, free: 23.28 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.2602, allocations: 0.8766 MB / 374.9 MB, free: 22.85 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.2604, allocations: 0.7502 MB / 375.7 MB, free: 22.15 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.972e-05/0.2605, allocations: 20.66 kB / 375.7 MB, free: 22.14 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2605, allocations: 0 / 375.7 MB, free: 22.14 MB / 302.1 MB Notification: Performance of Templates: time 0.007479/0.268, allocations: 5.379 MB / 381.1 MB, free: 21.3 MB / 302.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