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.001287/0.001287, allocations: 110.3 kB / 17.06 MB, free: 6.137 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.001357/0.001357, allocations: 191 kB / 18 MB, free: 5.219 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.551/1.551, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 47.92 kB / 351.3 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.4377, allocations: 49.43 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004317/0.4421, allocations: 2.743 MB / 403.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.4434, allocations: 0.6933 MB / 404.2 MB, free: 5.449 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.4435, allocations: 4 kB / 404.2 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.4437, allocations: 43.58 kB / 404.2 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.4439, allocations: 87.2 kB / 404.3 MB, free: 5.316 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.4443, allocations: 107.8 kB / 404.4 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004317/0.4447, allocations: 382.5 kB / 404.8 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002268/0.445, allocations: 92.67 kB / 404.9 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002435/0.4452, allocations: 159.4 kB / 405 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.4455, allocations: 167.3 kB / 405.2 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.486e-05/0.4455, allocations: 32 kB / 405.2 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.163e-05/0.4456, allocations: 32 kB / 405.2 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.309e-05/0.4457, allocations: 71.8 kB / 405.3 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.4459, allocations: 159.2 kB / 405.5 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000422/0.4463, allocations: 356 kB / 405.8 MB, free: 3.789 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.187e-05/0.4463, allocations: 4 kB / 405.8 MB, free: 3.785 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4463, allocations: 3.938 kB / 405.8 MB, free: 3.781 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.647e-06/0.4464, allocations: 0 / 405.8 MB, free: 3.781 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.001667/0.448, allocations: 0.6647 MB / 406.5 MB, free: 3.062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.4481, allocations: 12.03 kB / 406.5 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.954e-05/0.4482, allocations: 32.56 kB / 406.5 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.4485, allocations: 268.9 kB / 406.8 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.4486, allocations: 16.81 kB / 406.8 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/0.4486, allocations: 16.38 kB / 406.8 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006882/0.4493, allocations: 318 kB / 407.1 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4494, allocations: 0 / 407.1 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/0.4494, allocations: 8 kB / 407.1 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.4494, allocations: 4 kB / 407.2 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008449/0.4503, allocations: 285.5 kB / 407.4 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.4519, allocations: 0.9763 MB / 408.4 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002888/0.4548, allocations: 494.2 kB / 408.9 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000665/0.4555, allocations: 212.7 kB / 409.1 MB, free: 328 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.511e-05/0.4556, allocations: 7.938 kB / 409.1 MB, free: 320 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000658/0.4563, allocations: 239.4 kB / 409.3 MB, free: 60 kB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.244e-06/0.4563, allocations: 0 / 409.3 MB, free: 60 kB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001489/0.4578, allocations: 457.5 kB / 409.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.359e-05/0.4579, allocations: 110.8 kB / 409.9 MB, free: 15.47 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.4581, allocations: 237 kB / 410.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.4581, allocations: 25.7 kB / 410.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.4583, allocations: 168.1 kB / 410.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.377e-05/0.4584, allocations: 67.09 kB / 410.4 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.4585, allocations: 57.83 kB / 410.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.4586, allocations: 330.8 kB / 410.8 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004336/0.4591, allocations: 136.4 kB / 410.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004633/0.4595, allocations: 173 kB / 411.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00084/0.4604, allocations: 324 kB / 411.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4604, allocations: 0 / 411.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001026/0.4614, allocations: 398.8 kB / 411.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.21e-05/0.4615, allocations: 45.58 kB / 411.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4615, allocations: 4.062 kB / 411.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.4615, allocations: 4 kB / 411.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/0.4632, allocations: 231.7 kB / 412 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004619/0.4678, allocations: 3.396 MB / 415.4 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003828/0.4682, allocations: 51.98 kB / 415.5 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.4683, allocations: 12 kB / 415.5 MB, free: 9.5 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.0001818/0.4685, allocations: 145.7 kB / 415.6 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.4685, allocations: 23.72 kB / 415.7 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.833e-05/0.4686, allocations: 22.19 kB / 415.7 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.4686, allocations: 8 kB / 415.7 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.4686, allocations: 0 / 415.7 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.4686, allocations: 3.984 kB / 415.7 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.4703, allocations: 0.8997 MB / 416.6 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.4703, allocations: 4 kB / 416.6 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00164/0.472, allocations: 223.8 kB / 416.8 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.472, allocations: 7.938 kB / 416.8 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.472, allocations: 4 kB / 416.8 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00439/0.4764, allocations: 3.42 MB / 420.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.4764, allocations: 4.031 kB / 420.3 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.4779, allocations: 0.5887 MB / 420.8 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.996e-05/0.478, allocations: 104.8 kB / 421 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/0.478, allocations: 15.92 kB / 421 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003347/0.4784, allocations: 40.02 kB / 421 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.4785, allocations: 23.97 kB / 421 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.4785, allocations: 8 kB / 421 MB, free: 3.582 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000164/0.4787, allocations: 168.5 kB / 421.2 MB, free: 3.422 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4787, allocations: 0 / 421.2 MB, free: 3.422 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005222/0.4792, allocations: 83.84 kB / 421.3 MB, free: 3.34 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.0002043/0.4794, allocations: 122.8 kB / 421.4 MB, free: 3.211 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002443/0.4819, allocations: 0.5262 MB / 421.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4819, allocations: 4 kB / 421.9 MB, free: 2.668 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001863/0.4837, allocations: 347.8 kB / 422.3 MB, free: 2.328 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.4842, allocations: 52.28 kB / 422.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.486, allocations: 0.6751 MB / 423 MB, free: 1.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.4864, allocations: 0.7519 MB / 423.8 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001184/0.4865, allocations: 25.94 kB / 423.8 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.857e-05/0.4866, allocations: 23.44 kB / 423.8 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4866, allocations: 3.938 kB / 423.8 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of Templates: time 0.008403/0.495, allocations: 3.797 MB / 427.6 MB, free: 12.97 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins/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