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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001105, allocations: 187 kB / 17.92 MB, free: 3.855 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.186/1.186, allocations: 205.1 MB / 223.7 MB, free: 8.477 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.0008914/0.0008914, allocations: 91.94 kB / 271.2 MB, free: 8.445 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007194/0.0007194, allocations: 39.94 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1956, allocations: 46.61 MB / 373.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003347/0.199, allocations: 2.75 MB / 376.6 MB, free: 43.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.2, allocations: 0.7435 MB / 377.3 MB, free: 43.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.2001, allocations: 3.438 kB / 377.3 MB, free: 43.06 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.2003, allocations: 27.17 kB / 377.3 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.2004, allocations: 75.73 kB / 377.4 MB, free: 42.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.2007, allocations: 95.42 kB / 377.5 MB, free: 42.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.2009, allocations: 358.2 kB / 377.9 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.2011, allocations: 80 kB / 377.9 MB, free: 42.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.2013, allocations: 126.2 kB / 378.1 MB, free: 42.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.2015, allocations: 164 kB / 378.2 MB, free: 42.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.712e-05/0.2015, allocations: 19.06 kB / 378.2 MB, free: 42.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.063e-05/0.2016, allocations: 20 kB / 378.3 MB, free: 42.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.295e-05/0.2016, allocations: 58.44 kB / 378.3 MB, free: 42.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.2018, allocations: 139 kB / 378.4 MB, free: 42.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.202, allocations: 348.9 kB / 378.8 MB, free: 42.05 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.202, allocations: 1.062 kB / 378.8 MB, free: 42.05 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.202, allocations: 0 / 378.8 MB, free: 42.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.2021, allocations: 4 kB / 378.8 MB, free: 42.05 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.001321/0.2034, allocations: 0.67 MB / 379.5 MB, free: 41.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.2034, allocations: 9.625 kB / 379.5 MB, free: 41.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.532e-05/0.2035, allocations: 35.8 kB / 379.5 MB, free: 41.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.2037, allocations: 266.7 kB / 379.8 MB, free: 41.17 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.2038, allocations: 18 kB / 379.8 MB, free: 41.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.589e-05/0.2038, allocations: 17.22 kB / 379.8 MB, free: 41.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006867/0.2045, allocations: 310.5 kB / 380.1 MB, free: 40.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.2045, allocations: 0 / 380.1 MB, free: 40.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.2046, allocations: 10.59 kB / 380.1 MB, free: 40.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.2046, allocations: 5.094 kB / 380.1 MB, free: 40.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008442/0.2054, allocations: 300.1 kB / 380.4 MB, free: 40.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.2068, allocations: 0.9744 MB / 381.4 MB, free: 39.99 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002616/0.2095, allocations: 498.4 kB / 381.9 MB, free: 39.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005752/0.2101, allocations: 217 kB / 382.1 MB, free: 39.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.2101, allocations: 6.516 kB / 382.1 MB, free: 39.65 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005454/0.2106, allocations: 240.9 kB / 382.3 MB, free: 39.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.352e-06/0.2107, allocations: 0 / 382.3 MB, free: 39.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.001394/0.2121, allocations: 465 kB / 382.8 MB, free: 39.26 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.2121, allocations: 106.4 kB / 382.9 MB, free: 39.13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.2123, allocations: 235.6 kB / 383.1 MB, free: 38.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.2123, allocations: 32.23 kB / 383.1 MB, free: 38.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.68e-05/0.2124, allocations: 156.5 kB / 383.3 MB, free: 38.78 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.2124, allocations: 67.66 kB / 383.4 MB, free: 38.72 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.283e-05/0.2125, allocations: 46.84 kB / 383.4 MB, free: 38.69 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.981e-05/0.2126, allocations: 336.3 kB / 383.7 MB, free: 38.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004427/0.213, allocations: 139 kB / 383.9 MB, free: 38.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004438/0.2135, allocations: 183.1 kB / 384.1 MB, free: 38.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008385/0.2143, allocations: 315 kB / 384.4 MB, free: 38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.2143, allocations: 5.062 kB / 384.4 MB, free: 38 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000992/0.2153, allocations: 403.3 kB / 384.8 MB, free: 37.78 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.2154, allocations: 35.58 kB / 384.8 MB, free: 37.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2154, allocations: 5.188 kB / 384.8 MB, free: 37.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2154, allocations: 5.141 kB / 384.8 MB, free: 37.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.217, allocations: 241.1 kB / 385 MB, free: 37.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003436/0.2204, allocations: 3.113 MB / 388.2 MB, free: 34.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003372/0.2208, allocations: 51.95 kB / 388.2 MB, free: 34.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.2208, allocations: 12 kB / 388.2 MB, free: 34.54 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 (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.0001121/0.221, allocations: 133.8 kB / 388.3 MB, free: 34.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.221, allocations: 27.72 kB / 388.4 MB, free: 34.37 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.359e-05/0.2211, allocations: 26.17 kB / 388.4 MB, free: 34.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2211, allocations: 11.94 kB / 388.4 MB, free: 34.33 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.2211, allocations: 0 / 388.4 MB, free: 34.33 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2211, allocations: 3.984 kB / 388.4 MB, free: 34.33 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/0.2225, allocations: 0.8933 MB / 389.3 MB, free: 33.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2225, allocations: 0 / 389.3 MB, free: 33.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001513/0.224, allocations: 227.7 kB / 389.5 MB, free: 33.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.2241, allocations: 3.984 kB / 389.5 MB, free: 33.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.2241, allocations: 8 kB / 389.5 MB, free: 33.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003225/0.2273, allocations: 3.111 MB / 392.7 MB, free: 29.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2273, allocations: 3.938 kB / 392.7 MB, free: 29.76 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/0.2381, allocations: 3.086 MB / 395.7 MB, free: 26.53 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/0.2382, allocations: 96.77 kB / 395.8 MB, free: 26.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.2383, allocations: 8 kB / 395.8 MB, free: 26.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003132/0.2386, allocations: 48 kB / 395.9 MB, free: 26.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.395e-05/0.2387, allocations: 31.84 kB / 395.9 MB, free: 26.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.2387, allocations: 4 kB / 395.9 MB, free: 26.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001154/0.2388, allocations: 172.5 kB / 396.1 MB, free: 26.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2388, allocations: 0 / 396.1 MB, free: 26.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005327/0.2394, allocations: 103.9 kB / 396.2 MB, free: 26.05 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 (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.0001192/0.2395, allocations: 119.1 kB / 396.3 MB, free: 25.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002193/0.2417, allocations: 0.5301 MB / 396.8 MB, free: 25.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2417, allocations: 0 / 396.8 MB, free: 25.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001721/0.2434, allocations: 353.5 kB / 397.2 MB, free: 25.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.2438, allocations: 48.38 kB / 397.2 MB, free: 24.99 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.2453, allocations: 0.9402 MB / 398.2 MB, free: 24 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.2455, allocations: 0.756 MB / 398.9 MB, free: 23.22 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000165/0.2456, allocations: 29.94 kB / 399 MB, free: 23.2 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.2458, allocations: 19.44 kB / 399 MB, free: 23.18 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2458, allocations: 4 kB / 399 MB, free: 23.17 MB / 298.7 MB Notification: Performance of Templates: time 0.006564/0.2523, allocations: 5.028 MB / 404 MB, free: 18.16 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches