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.001449/0.00145, allocations: 107.5 kB / 18.39 MB, free: 4.703 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.001774/0.001774, allocations: 191 kB / 19.33 MB, free: 3.781 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.497/1.497, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001238/0.001238, allocations: 55.92 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.124, allocations: 46.62 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004318/0.1284, allocations: 2.688 MB / 378.5 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.1298, allocations: 0.7485 MB / 379.3 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.1299, allocations: 8 kB / 379.3 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.1301, allocations: 39.58 kB / 379.3 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.1303, allocations: 79.27 kB / 379.4 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.1307, allocations: 103.8 kB / 379.5 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004287/0.1311, allocations: 382.5 kB / 379.9 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002426/0.1314, allocations: 88.53 kB / 379.9 MB, free: 428 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002697/0.1317, allocations: 147.5 kB / 380.1 MB, free: 280 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.1319, allocations: 171.3 kB / 380.3 MB, free: 108 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.51e-05/0.132, allocations: 32 kB / 380.3 MB, free: 76 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.367e-05/0.1321, allocations: 36 kB / 380.3 MB, free: 40 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2875/0.4195, allocations: 74.67 kB / 380.4 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003468/0.4199, allocations: 150.8 kB / 380.5 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006882/0.4206, allocations: 363.7 kB / 380.9 MB, free: 10.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.4207, allocations: 1.375 kB / 380.9 MB, free: 10.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4207, allocations: 0 / 380.9 MB, free: 10.73 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.4207, allocations: 0 / 380.9 MB, free: 10.73 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.001697/0.4224, allocations: 0.6696 MB / 381.6 MB, free: 10.26 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.4225, allocations: 15.38 kB / 381.6 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.729e-05/0.4226, allocations: 30.47 kB / 381.6 MB, free: 10.24 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005052/0.4231, allocations: 270.9 kB / 381.9 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.4231, allocations: 12.77 kB / 381.9 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.946e-05/0.4232, allocations: 23.66 kB / 381.9 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008866/0.4241, allocations: 308 kB / 382.2 MB, free: 9.957 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.4241, allocations: 5.312 kB / 382.2 MB, free: 9.953 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.4241, allocations: 8.938 kB / 382.2 MB, free: 9.953 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.4242, allocations: 5.5 kB / 382.2 MB, free: 9.953 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.4254, allocations: 293.3 kB / 382.5 MB, free: 9.953 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001928/0.4273, allocations: 0.9655 MB / 383.5 MB, free: 9.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003272/0.4306, allocations: 498.2 kB / 384 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008812/0.4315, allocations: 212.7 kB / 384.2 MB, free: 9.457 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.468e-05/0.4316, allocations: 8.094 kB / 384.2 MB, free: 9.457 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000867/0.4325, allocations: 236.9 kB / 384.4 MB, free: 9.383 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 5.05e-06/0.4325, allocations: 2.297 kB / 384.4 MB, free: 9.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001775/0.4343, allocations: 467.8 kB / 384.9 MB, free: 9.266 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.4343, allocations: 107.3 kB / 385 MB, free: 9.141 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.4346, allocations: 231.3 kB / 385.2 MB, free: 9 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.4347, allocations: 31.05 kB / 385.2 MB, free: 8.965 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.4348, allocations: 162.5 kB / 385.4 MB, free: 8.828 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.424e-05/0.4349, allocations: 63.14 kB / 385.5 MB, free: 8.777 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.435, allocations: 52.02 kB / 385.5 MB, free: 8.742 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.936e-05/0.4351, allocations: 342.2 kB / 385.8 MB, free: 8.414 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004911/0.4356, allocations: 134.2 kB / 386 MB, free: 8.383 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000517/0.4361, allocations: 184.3 kB / 386.2 MB, free: 8.305 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009656/0.4371, allocations: 320.2 kB / 386.5 MB, free: 8.168 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.4371, allocations: 1.844 kB / 386.5 MB, free: 8.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0012/0.4383, allocations: 404.5 kB / 386.9 MB, free: 8.008 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.66e-05/0.4384, allocations: 35.95 kB / 386.9 MB, free: 7.973 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.4384, allocations: 1.219 kB / 386.9 MB, free: 7.973 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.653e-05/0.4384, allocations: 6.781 kB / 386.9 MB, free: 7.969 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/0.4402, allocations: 238.8 kB / 387.1 MB, free: 7.961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004406/0.4446, allocations: 3.4 MB / 390.5 MB, free: 4.832 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004346/0.4451, allocations: 54.91 kB / 390.6 MB, free: 4.816 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.4451, allocations: 6.656 kB / 390.6 MB, free: 4.816 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.0001835/0.4453, allocations: 147.7 kB / 390.7 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.4453, allocations: 23.09 kB / 390.8 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.23e-05/0.4454, allocations: 31.23 kB / 390.8 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.4454, allocations: 2.438 kB / 390.8 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4454, allocations: 5.219 kB / 390.8 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.4455, allocations: 1.312 kB / 390.8 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.4473, allocations: 0.8973 MB / 391.7 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.4474, allocations: 5.188 kB / 391.7 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001747/0.4491, allocations: 228.5 kB / 391.9 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.4491, allocations: 1.531 kB / 391.9 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.4492, allocations: 8.453 kB / 391.9 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003946/0.4531, allocations: 3.411 MB / 395.4 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4531, allocations: 1.875 kB / 395.4 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/0.4547, allocations: 0.5905 MB / 395.9 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.4548, allocations: 101.8 kB / 396 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.92e-05/0.4548, allocations: 13.8 kB / 396.1 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003638/0.4552, allocations: 43.14 kB / 396.1 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.4553, allocations: 31.77 kB / 396.1 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.4553, allocations: 6.391 kB / 396.1 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001721/0.4555, allocations: 171.1 kB / 396.3 MB, free: 440 kB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4555, allocations: 0 / 396.3 MB, free: 440 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.000502/0.456, allocations: 75.09 kB / 396.4 MB, free: 432 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.0001573/0.4562, allocations: 108 kB / 396.5 MB, free: 336 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002619/0.4588, allocations: 0.5495 MB / 397 MB, free: 176 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4588, allocations: 0 / 397 MB, free: 176 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002015/0.4609, allocations: 349.5 kB / 397.4 MB, free: 132 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.4613, allocations: 33.42 kB / 397.4 MB, free: 120 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.4632, allocations: 0.7134 MB / 398.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.4636, allocations: 0.7507 MB / 398.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.4637, allocations: 26.34 kB / 398.9 MB, free: 15 MB / 334.1 MB Notification: Performance of SimCode: time 1.643e-06/0.4638, allocations: 0 / 398.9 MB, free: 15 MB / 334.1 MB Notification: Performance of Templates: time 0.00901/0.4728, allocations: 5.478 MB / 404.4 MB, free: 13.06 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/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