Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 109.4 kB / 17.73 MB, free: 5.363 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.001653/0.001653, allocations: 188.1 kB / 18.66 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 51.91 kB / 328.5 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1091, allocations: 46.63 MB / 375.2 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004139/0.1133, allocations: 2.691 MB / 377.8 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.1146, allocations: 0.7408 MB / 378.6 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.1148, allocations: 11.94 kB / 378.6 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.1149, allocations: 39.64 kB / 378.6 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.1151, allocations: 83.2 kB / 378.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.1154, allocations: 103.8 kB / 378.8 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004082/0.1158, allocations: 378.5 kB / 379.2 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.116, allocations: 100.5 kB / 379.3 MB, free: 432 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.1163, allocations: 143.5 kB / 379.4 MB, free: 288 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.1165, allocations: 171.3 kB / 379.6 MB, free: 116 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.251e-05/0.1165, allocations: 32 kB / 379.6 MB, free: 84 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.826e-05/0.1166, allocations: 36 kB / 379.7 MB, free: 48 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2837/0.4003, allocations: 71.44 kB / 379.7 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003944/0.4007, allocations: 152 kB / 379.9 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008192/0.4016, allocations: 365.1 kB / 380.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.4016, allocations: 0 / 380.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4016, allocations: 0 / 380.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.4016, allocations: 1.375 kB / 380.2 MB, free: 10.11 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.002/0.4036, allocations: 0.6711 MB / 380.9 MB, free: 9.641 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.4037, allocations: 14.28 kB / 380.9 MB, free: 9.637 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.4038, allocations: 31.69 kB / 380.9 MB, free: 9.621 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004471/0.4043, allocations: 266 kB / 381.2 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/0.4043, allocations: 15.44 kB / 381.2 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.778e-05/0.4044, allocations: 18.69 kB / 381.2 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.4055, allocations: 313.4 kB / 381.5 MB, free: 9.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.4055, allocations: 5.969 kB / 381.6 MB, free: 9.336 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.977e-05/0.4056, allocations: 5.094 kB / 381.6 MB, free: 9.336 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.4056, allocations: 7.031 kB / 381.6 MB, free: 9.336 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.4069, allocations: 293.6 kB / 381.9 MB, free: 9.336 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00237/0.4093, allocations: 0.9641 MB / 382.8 MB, free: 8.883 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003838/0.4131, allocations: 0.4894 MB / 383.3 MB, free: 8.852 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.4142, allocations: 212.3 kB / 383.5 MB, free: 8.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.234e-05/0.4142, allocations: 2.953 kB / 383.5 MB, free: 8.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008981/0.4151, allocations: 233.1 kB / 383.7 MB, free: 8.766 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 3.667e-06/0.4152, allocations: 3.562 kB / 383.7 MB, free: 8.766 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.0022/0.4174, allocations: 467 kB / 384.2 MB, free: 8.703 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.042e-05/0.4175, allocations: 116.4 kB / 384.3 MB, free: 8.578 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004144/0.4179, allocations: 230.5 kB / 384.5 MB, free: 8.477 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.571e-05/0.418, allocations: 30.83 kB / 384.6 MB, free: 8.445 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.4181, allocations: 160.3 kB / 384.7 MB, free: 8.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.4182, allocations: 66.34 kB / 384.8 MB, free: 8.297 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.4184, allocations: 50.89 kB / 384.8 MB, free: 8.277 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.676e-05/0.4185, allocations: 339.5 kB / 385.2 MB, free: 7.961 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006233/0.4191, allocations: 135.6 kB / 385.3 MB, free: 7.961 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006249/0.4198, allocations: 183.2 kB / 385.5 MB, free: 7.918 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.421, allocations: 321.5 kB / 385.8 MB, free: 7.848 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.4211, allocations: 3.938 kB / 385.8 MB, free: 7.844 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001633/0.4227, allocations: 398.8 kB / 386.2 MB, free: 7.742 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.578e-05/0.4228, allocations: 36.28 kB / 386.2 MB, free: 7.707 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.4228, allocations: 1.969 kB / 386.2 MB, free: 7.707 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.544e-05/0.4228, allocations: 6.219 kB / 386.2 MB, free: 7.703 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00226/0.4251, allocations: 240.3 kB / 386.5 MB, free: 7.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005922/0.431, allocations: 3.404 MB / 389.9 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005917/0.4317, allocations: 53.14 kB / 389.9 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.266e-05/0.4317, allocations: 8.312 kB / 389.9 MB, free: 4.551 MB / 318.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.0002702/0.432, allocations: 144.2 kB / 390.1 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.368e-05/0.4321, allocations: 24.8 kB / 390.1 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.935e-05/0.4322, allocations: 29.89 kB / 390.1 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4322, allocations: 3.031 kB / 390.1 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.4323, allocations: 5.375 kB / 390.1 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.4323, allocations: 1.359 kB / 390.1 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002546/0.4348, allocations: 0.899 MB / 391 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.4348, allocations: 4.031 kB / 391 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002085/0.4369, allocations: 226.8 kB / 391.3 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.406e-05/0.437, allocations: 2.953 kB / 391.3 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.433e-05/0.437, allocations: 7.531 kB / 391.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005567/0.4426, allocations: 3.411 MB / 394.7 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.4426, allocations: 4.75 kB / 394.7 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/0.4447, allocations: 0.5867 MB / 395.3 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.4449, allocations: 105.4 kB / 395.4 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.975e-05/0.445, allocations: 11.12 kB / 395.4 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003905/0.4454, allocations: 44.3 kB / 395.4 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.4455, allocations: 32.5 kB / 395.5 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.4455, allocations: 5.172 kB / 395.5 MB, free: 280 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002101/0.4457, allocations: 170.3 kB / 395.6 MB, free: 172 kB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4458, allocations: 1.344 kB / 395.6 MB, free: 172 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006503/0.4464, allocations: 73.28 kB / 395.7 MB, free: 164 kB / 318.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.0001822/0.4466, allocations: 108 kB / 395.8 MB, free: 68 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00296/0.4496, allocations: 0.552 MB / 396.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.4496, allocations: 0 / 396.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002242/0.4518, allocations: 357.7 kB / 396.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008086/0.4527, allocations: 38.3 kB / 396.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003523/0.4562, allocations: 0.683 MB / 397.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007191/0.457, allocations: 0.7516 MB / 398.2 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002912/0.4573, allocations: 29.62 kB / 398.2 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.4575, allocations: 20.41 kB / 398.2 MB, free: 14.76 MB / 334.1 MB Notification: Performance of SimCode: time 1.393e-06/0.4575, allocations: 0 / 398.2 MB, free: 14.76 MB / 334.1 MB Notification: Performance of Templates: time 0.01682/0.4743, allocations: 3.787 MB / 402 MB, free: 13.89 MB / 334.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches