Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001224/0.001224, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001369/0.001369, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.422/1.422, allocations: 230.4 MB / 258.1 MB, free: 8.16 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=5032,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5032,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 71.83 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2264, allocations: 53.31 MB / 432.1 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004253/0.2307, allocations: 2.808 MB / 434.9 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.2322, allocations: 0.7556 MB / 435.6 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.2324, allocations: 4 kB / 435.6 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.2326, allocations: 39.56 kB / 435.7 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.2328, allocations: 91.27 kB / 435.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004039/0.2332, allocations: 115.7 kB / 435.9 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005207/0.2337, allocations: 382.5 kB / 436.2 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.2339, allocations: 64.7 kB / 436.3 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003138/0.2342, allocations: 155.5 kB / 436.5 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002578/0.2345, allocations: 167.3 kB / 436.6 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.905e-05/0.2345, allocations: 40 kB / 436.7 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.901e-05/0.2346, allocations: 36 kB / 436.7 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.287e-05/0.2347, allocations: 79.66 kB / 436.8 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.2349, allocations: 155.2 kB / 436.9 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000482/0.2354, allocations: 380.5 kB / 437.3 MB, free: 2.168 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2354, allocations: 0 / 437.3 MB, free: 2.168 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2354, allocations: 0 / 437.3 MB, free: 2.168 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.2354, allocations: 0 / 437.3 MB, free: 2.168 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.001697/0.2371, allocations: 0.6918 MB / 438 MB, free: 1.422 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.2371, allocations: 8.031 kB / 438 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.2373, allocations: 40.73 kB / 438 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004301/0.2377, allocations: 274.9 kB / 438.3 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.2378, allocations: 24.8 kB / 438.3 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.064e-05/0.2378, allocations: 24.27 kB / 438.3 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008171/0.2386, allocations: 314 kB / 438.7 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.2387, allocations: 4 kB / 438.7 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/0.2387, allocations: 8 kB / 438.7 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.2387, allocations: 4 kB / 438.7 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.2397, allocations: 305.5 kB / 439 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.2416, allocations: 0.9571 MB / 439.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003063/0.2446, allocations: 498.1 kB / 440.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006843/0.2453, allocations: 200.7 kB / 440.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.2454, allocations: 4 kB / 440.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006823/0.246, allocations: 245.7 kB / 440.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.753e-06/0.246, allocations: 0 / 440.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.002034/0.2481, allocations: 471.8 kB / 441.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/0.2482, allocations: 110.8 kB / 441.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.2484, allocations: 237 kB / 441.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.2485, allocations: 29.7 kB / 441.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.2486, allocations: 168.3 kB / 441.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.637e-05/0.2487, allocations: 71.38 kB / 441.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.2488, allocations: 49.92 kB / 442 MB, free: 13.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.2489, allocations: 334.8 kB / 442.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006808/0.2496, allocations: 140.4 kB / 442.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005531/0.2502, allocations: 184.2 kB / 442.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.2512, allocations: 316.7 kB / 442.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2512, allocations: 0 / 442.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001221/0.2524, allocations: 414.9 kB / 443.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.173e-05/0.2525, allocations: 44.59 kB / 443.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.2525, allocations: 0 / 443.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.2525, allocations: 4 kB / 443.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002021/0.2545, allocations: 267.6 kB / 443.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005384/0.2599, allocations: 3.44 MB / 447.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004232/0.2603, allocations: 52 kB / 447.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/0.2604, allocations: 15.98 kB / 447.1 MB, free: 7.738 MB / 350.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.0002011/0.2606, allocations: 145.7 kB / 447.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.2606, allocations: 23.86 kB / 447.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.531e-05/0.2607, allocations: 34.17 kB / 447.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2607, allocations: 4 kB / 447.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.2607, allocations: 0 / 447.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-05/0.2608, allocations: 104.9 kB / 447.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-05/0.2608, allocations: 7.984 kB / 447.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.2612, allocations: 35.95 kB / 447.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.184e-05/0.2613, allocations: 35.84 kB / 447.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003154/0.2645, allocations: 0.763 MB / 448.3 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001794/0.2663, allocations: 0.7566 MB / 449 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005177/0.2668, allocations: 151.9 kB / 449.2 MB, free: 5.629 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001972/0.267, allocations: 172.5 kB / 449.4 MB, free: 5.457 MB / 350.1 MB Notification: Performance of Backend: time 6.21e-07/0.267, allocations: 0 / 449.4 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002732/0.2697, allocations: 0.5168 MB / 449.9 MB, free: 4.922 MB / 350.1 MB Notification: Performance of SimCode: time 0.001484/0.2712, allocations: 1.04 MB / 450.9 MB, free: 3.836 MB / 350.1 MB Notification: Performance of Templates: time 0.009817/0.281, allocations: 4.563 MB / 455.5 MB, free: 15.3 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.317932331934571]