Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001149/0.001149, allocations: 115.2 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001277/0.001277, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 55.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.233, allocations: 50.54 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003554/0.2366, allocations: 2.773 MB / 412.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.2378, allocations: 0.7478 MB / 413.4 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.238, allocations: 4 kB / 413.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001428/0.2381, allocations: 39.58 kB / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.2383, allocations: 87.2 kB / 413.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.2387, allocations: 115.8 kB / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003893/0.2391, allocations: 386.5 kB / 414.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.2392, allocations: 88.61 kB / 414.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002473/0.2395, allocations: 155.5 kB / 414.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.2397, allocations: 167.3 kB / 414.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.195e-05/0.2398, allocations: 32 kB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.768e-05/0.2398, allocations: 43.94 kB / 414.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.792e-05/0.2399, allocations: 79.67 kB / 414.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.24, allocations: 155.2 kB / 414.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.2404, allocations: 367.9 kB / 415.1 MB, free: 12.37 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2404, allocations: 4 kB / 415.1 MB, free: 12.37 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2404, allocations: 4 kB / 415.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.2404, allocations: 0 / 415.1 MB, free: 12.36 MB / 334.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.00142/0.2418, allocations: 0.6803 MB / 415.8 MB, free: 11.63 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.2419, allocations: 8.031 kB / 415.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/0.242, allocations: 44.55 kB / 415.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.2424, allocations: 282.7 kB / 416.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.2424, allocations: 16.81 kB / 416.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.781e-05/0.2425, allocations: 20.38 kB / 416.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000743/0.2432, allocations: 314 kB / 416.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.2432, allocations: 0 / 416.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/0.2433, allocations: 8 kB / 416.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.2433, allocations: 4 kB / 416.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009252/0.2442, allocations: 301.5 kB / 416.8 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.2458, allocations: 0.9685 MB / 417.8 MB, free: 9.566 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002798/0.2486, allocations: 0.4943 MB / 418.3 MB, free: 9.062 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006037/0.2492, allocations: 216.7 kB / 418.5 MB, free: 8.848 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.2493, allocations: 4 kB / 418.5 MB, free: 8.844 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005939/0.2499, allocations: 248.7 kB / 418.7 MB, free: 8.582 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.904e-06/0.2499, allocations: 0 / 418.7 MB, free: 8.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001506/0.2514, allocations: 475.8 kB / 419.2 MB, free: 8.113 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.2514, allocations: 102.8 kB / 419.3 MB, free: 7.988 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.2517, allocations: 241 kB / 419.5 MB, free: 7.746 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.2517, allocations: 25.7 kB / 419.5 MB, free: 7.715 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.863e-05/0.2518, allocations: 164.2 kB / 419.7 MB, free: 7.551 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.933e-05/0.2519, allocations: 74.98 kB / 419.8 MB, free: 7.477 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.853e-05/0.252, allocations: 45.94 kB / 419.8 MB, free: 7.426 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.2521, allocations: 330.8 kB / 420.1 MB, free: 7.094 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004822/0.2526, allocations: 152.3 kB / 420.3 MB, free: 6.945 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000481/0.2531, allocations: 176.2 kB / 420.5 MB, free: 6.762 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008991/0.254, allocations: 320 kB / 420.8 MB, free: 6.434 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.254, allocations: 0 / 420.8 MB, free: 6.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001082/0.2551, allocations: 414.8 kB / 421.2 MB, free: 6.016 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.2551, allocations: 33.64 kB / 421.2 MB, free: 5.977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2551, allocations: 0 / 421.2 MB, free: 5.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.2552, allocations: 4 kB / 421.2 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/0.2569, allocations: 275.6 kB / 421.5 MB, free: 5.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004356/0.2613, allocations: 3.435 MB / 424.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.2617, allocations: 67.66 kB / 425 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.2617, allocations: 8.094 kB / 425 MB, free: 1.918 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.0001665/0.2619, allocations: 145.7 kB / 425.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-05/0.2619, allocations: 23.72 kB / 425.2 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.52e-05/0.262, allocations: 38.16 kB / 425.2 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.262, allocations: 0 / 425.2 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.262, allocations: 4 kB / 425.2 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.262, allocations: 3.938 kB / 425.2 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.2637, allocations: 0.9071 MB / 426.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2637, allocations: 0 / 426.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/0.2654, allocations: 267.7 kB / 426.4 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.2655, allocations: 0 / 426.4 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.2655, allocations: 4 kB / 426.4 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004322/0.2698, allocations: 3.448 MB / 429.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2698, allocations: 0 / 429.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.2713, allocations: 0.5982 MB / 430.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.817e-05/0.2714, allocations: 100.9 kB / 430.5 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.768e-05/0.2715, allocations: 11.94 kB / 430.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003516/0.2718, allocations: 48 kB / 430.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.335e-05/0.2719, allocations: 27.97 kB / 430.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.2719, allocations: 4 kB / 430.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001458/0.2721, allocations: 172.5 kB / 430.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2721, allocations: 0 / 430.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004542/0.2726, allocations: 83.84 kB / 430.9 MB, free: 11.66 MB / 350.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.0001326/0.2727, allocations: 119.2 kB / 431 MB, free: 11.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002494/0.2752, allocations: 0.5654 MB / 431.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2752, allocations: 0 / 431.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00195/0.2772, allocations: 379.7 kB / 431.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.2776, allocations: 44.34 kB / 432 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.2792, allocations: 0.7131 MB / 432.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.2795, allocations: 0.7558 MB / 433.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.779e-05/0.2796, allocations: 19.44 kB / 433.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2796, allocations: 3.938 kB / 433.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of Templates: time 0.006668/0.2862, allocations: 5.52 MB / 439 MB, free: 3.484 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches