Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001762/0.001762, allocations: 175.9 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008042/0.000804, allocations: 85.03 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003584, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2641, allocations: 47.56 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003341/0.2675, allocations: 2.294 MB / 377.4 MB, free: 43.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.2689, allocations: 0.7054 MB / 378.1 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.2691, allocations: 7.094 kB / 378.1 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.2692, allocations: 30.36 kB / 378.1 MB, free: 43.01 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.2694, allocations: 69.14 kB / 378.2 MB, free: 42.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.2697, allocations: 78.86 kB / 378.3 MB, free: 42.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003805/0.2701, allocations: 332.4 kB / 378.6 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002052/0.2703, allocations: 79.41 kB / 378.7 MB, free: 42.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.2705, allocations: 124.2 kB / 378.8 MB, free: 42.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.2707, allocations: 148.6 kB / 378.9 MB, free: 42.47 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.036e-05/0.2708, allocations: 20.06 kB / 378.9 MB, free: 42.47 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.514e-05/0.2708, allocations: 17.09 kB / 379 MB, free: 42.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.768e-05/0.2709, allocations: 51.53 kB / 379 MB, free: 42.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.2711, allocations: 159.7 kB / 379.2 MB, free: 42.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.2713, allocations: 263.2 kB / 379.4 MB, free: 42.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.2713, allocations: 0 / 379.4 MB, free: 42.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.208e-06/0.2713, allocations: 0 / 379.4 MB, free: 42.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.2714, allocations: 3.938 kB / 379.4 MB, free: 42.11 MB / 298.7 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.001649/0.273, allocations: 0.6571 MB / 380.1 MB, free: 41.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.2731, allocations: 9.688 kB / 380.1 MB, free: 41.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.524e-05/0.2732, allocations: 35.31 kB / 380.1 MB, free: 41.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.2735, allocations: 268.5 kB / 380.4 MB, free: 41.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.2735, allocations: 21.16 kB / 380.4 MB, free: 41.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.849e-05/0.2736, allocations: 21.31 kB / 380.4 MB, free: 41.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007857/0.2744, allocations: 329.4 kB / 380.8 MB, free: 41.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.2744, allocations: 3.984 kB / 380.8 MB, free: 41.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.2744, allocations: 10.41 kB / 380.8 MB, free: 41.03 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.2744, allocations: 4.75 kB / 380.8 MB, free: 41.03 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009805/0.2754, allocations: 337 kB / 381.1 MB, free: 40.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.2772, allocations: 0.9895 MB / 382.1 MB, free: 40.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002948/0.2802, allocations: 0.5955 MB / 382.7 MB, free: 39.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006482/0.2808, allocations: 242.2 kB / 382.9 MB, free: 39.72 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.803e-05/0.2809, allocations: 6.328 kB / 382.9 MB, free: 39.72 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006599/0.2816, allocations: 267.9 kB / 383.2 MB, free: 39.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 3.246e-06/0.2816, allocations: 1.062 kB / 383.2 MB, free: 39.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.001604/0.2832, allocations: 0.5228 MB / 383.7 MB, free: 39.31 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.2833, allocations: 106.6 kB / 383.8 MB, free: 39.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.2835, allocations: 230.1 kB / 384 MB, free: 39.01 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.2836, allocations: 32.11 kB / 384.1 MB, free: 38.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.383e-05/0.2837, allocations: 156.6 kB / 384.2 MB, free: 38.83 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.88e-05/0.2837, allocations: 71.78 kB / 384.3 MB, free: 38.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.946e-05/0.2838, allocations: 5.312 kB / 384.3 MB, free: 38.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.114e-05/0.2838, allocations: 331.9 kB / 384.6 MB, free: 38.44 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004957/0.2843, allocations: 162.9 kB / 384.8 MB, free: 38.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005086/0.2849, allocations: 201.6 kB / 385 MB, free: 38.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009365/0.2858, allocations: 367.8 kB / 385.3 MB, free: 38.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2858, allocations: 0 / 385.3 MB, free: 38.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001062/0.2869, allocations: 449.5 kB / 385.8 MB, free: 37.69 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.2869, allocations: 33.64 kB / 385.8 MB, free: 37.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.287, allocations: 4 kB / 385.8 MB, free: 37.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.287, allocations: 4 kB / 385.8 MB, free: 37.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/0.2887, allocations: 315.6 kB / 386.1 MB, free: 37.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003783/0.2925, allocations: 3.224 MB / 389.4 MB, free: 33.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004226/0.2929, allocations: 63.95 kB / 389.4 MB, free: 33.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.293, allocations: 4 kB / 389.4 MB, free: 33.78 MB / 298.7 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 ($whenCondition1,$PRE.pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.count) * 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001884/0.2932, allocations: 141.8 kB / 389.6 MB, free: 33.63 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.148e-05/0.2932, allocations: 19.72 kB / 389.6 MB, free: 33.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.584e-05/0.2933, allocations: 34.17 kB / 389.6 MB, free: 33.58 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2933, allocations: 11.88 kB / 389.6 MB, free: 33.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.2933, allocations: 4 kB / 389.6 MB, free: 33.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2933, allocations: 0 / 389.6 MB, free: 33.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.2949, allocations: 0.9544 MB / 390.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2949, allocations: 0 / 390.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/0.2966, allocations: 299.7 kB / 390.9 MB, free: 32.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.2966, allocations: 4 kB / 390.9 MB, free: 32.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.2966, allocations: 19.91 kB / 390.9 MB, free: 32.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003665/0.3003, allocations: 3.22 MB / 394.1 MB, free: 28.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/0.3003, allocations: 0 / 394.1 MB, free: 28.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.3017, allocations: 0.6631 MB / 394.8 MB, free: 28.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.83e-05/0.3018, allocations: 108.7 kB / 394.9 MB, free: 27.95 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.385e-05/0.3019, allocations: 11.98 kB / 394.9 MB, free: 27.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003427/0.3022, allocations: 48.02 kB / 394.9 MB, free: 27.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.3023, allocations: 31.97 kB / 395 MB, free: 27.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.3024, allocations: 11.98 kB / 395 MB, free: 27.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001291/0.3025, allocations: 172.5 kB / 395.2 MB, free: 27.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3025, allocations: 0 / 395.2 MB, free: 27.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004604/0.303, allocations: 75.84 kB / 395.2 MB, free: 27.6 MB / 298.7 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001566/0.3031, allocations: 107.2 kB / 395.3 MB, free: 27.49 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002405/0.3055, allocations: 0.6395 MB / 396 MB, free: 26.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.3056, allocations: 4 kB / 396 MB, free: 26.83 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001894/0.3075, allocations: 443.8 kB / 396.4 MB, free: 26.4 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.3079, allocations: 36.36 kB / 396.5 MB, free: 26.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.3096, allocations: 0.8411 MB / 397.3 MB, free: 25.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/0.3098, allocations: 0.7482 MB / 398 MB, free: 24.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.863e-05/0.3099, allocations: 19.44 kB / 398.1 MB, free: 24.69 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.3099, allocations: 3.938 kB / 398.1 MB, free: 24.69 MB / 298.7 MB Notification: Performance of Templates: time 0.006187/0.3161, allocations: 5.392 MB / 403.5 MB, free: 19.3 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches