Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 210.8 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 258.3 MB, free: 7.801 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 47.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2292, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003979/0.2332, allocations: 2.599 MB / 434.9 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.2345, allocations: 0.7167 MB / 435.7 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.2346, allocations: 4 kB / 435.7 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.2348, allocations: 39.56 kB / 435.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001899/0.2349, allocations: 91.2 kB / 435.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003387/0.2353, allocations: 115.8 kB / 435.9 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004231/0.2357, allocations: 382.5 kB / 436.3 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.2359, allocations: 71.83 kB / 436.3 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002693/0.2361, allocations: 151.5 kB / 436.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002281/0.2364, allocations: 175.3 kB / 436.7 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.302e-05/0.2364, allocations: 36 kB / 436.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.439e-05/0.2365, allocations: 40 kB / 436.7 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.454e-05/0.2366, allocations: 67.75 kB / 436.8 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.2368, allocations: 139.4 kB / 436.9 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004337/0.2372, allocations: 378.2 kB / 437.3 MB, free: 1.723 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2372, allocations: 0 / 437.3 MB, free: 1.723 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2372, allocations: 0 / 437.3 MB, free: 1.723 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.2372, allocations: 4 kB / 437.3 MB, free: 1.719 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.00171/0.2389, allocations: 0.6048 MB / 437.9 MB, free: 1.078 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.239, allocations: 16.02 kB / 437.9 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.2391, allocations: 40.75 kB / 438 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.2395, allocations: 217 kB / 438.2 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.2395, allocations: 12.81 kB / 438.2 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.988e-05/0.2396, allocations: 24.38 kB / 438.2 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008498/0.2404, allocations: 351.6 kB / 438.6 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.2405, allocations: 0 / 438.6 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.2405, allocations: 8 kB / 438.6 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.2405, allocations: 4 kB / 438.6 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009766/0.2415, allocations: 301.5 kB / 438.9 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001798/0.2433, allocations: 0.8319 MB / 439.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003342/0.2466, allocations: 490.2 kB / 440.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006502/0.2473, allocations: 196.7 kB / 440.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.2473, allocations: 3.984 kB / 440.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006576/0.2479, allocations: 261.8 kB / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.613e-06/0.248, allocations: 4 kB / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001607/0.2496, allocations: 483.8 kB / 441.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/0.2496, allocations: 102.8 kB / 441.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.2499, allocations: 233 kB / 441.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/0.2499, allocations: 33.7 kB / 441.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.25, allocations: 160.4 kB / 441.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.926e-05/0.2501, allocations: 79.3 kB / 441.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.2502, allocations: 45.94 kB / 441.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.2504, allocations: 338.8 kB / 442.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005248/0.2509, allocations: 174 kB / 442.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005486/0.2515, allocations: 243.6 kB / 442.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009324/0.2524, allocations: 308.1 kB / 442.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2524, allocations: 4 kB / 442.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001185/0.2536, allocations: 444.6 kB / 443.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.041e-05/0.2536, allocations: 37.69 kB / 443.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.2536, allocations: 0 / 443.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.2536, allocations: 7.875 kB / 443.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002041/0.2557, allocations: 267.7 kB / 443.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005275/0.261, allocations: 3.19 MB / 446.7 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/0.2614, allocations: 51.88 kB / 446.8 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.2614, allocations: 4 kB / 446.8 MB, free: 7.762 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.0001718/0.2616, allocations: 141.8 kB / 446.9 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/0.2616, allocations: 27.89 kB / 446.9 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.437e-05/0.2617, allocations: 34.11 kB / 447 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.2617, allocations: 3.984 kB / 447 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2617, allocations: 0 / 447 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.783e-05/0.2617, allocations: 27.8 kB / 447 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.437e-05/0.2618, allocations: 8 kB / 447 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/0.2622, allocations: 35.95 kB / 447.1 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.077e-05/0.2622, allocations: 27.95 kB / 447.1 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003339/0.2656, allocations: 0.7772 MB / 447.9 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001642/0.2672, allocations: 0.7505 MB / 448.6 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004888/0.2677, allocations: 151.9 kB / 448.8 MB, free: 5.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001691/0.2679, allocations: 168.5 kB / 448.9 MB, free: 5.578 MB / 350.1 MB Notification: Performance of Backend: time 3.5e-07/0.2679, allocations: 0 / 448.9 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002833/0.2707, allocations: 0.5381 MB / 449.5 MB, free: 5.016 MB / 350.1 MB Notification: Performance of SimCode: time 0.001297/0.272, allocations: 1.026 MB / 450.5 MB, free: 3.934 MB / 350.1 MB Notification: Performance of Templates: time 0.009751/0.2818, allocations: 5.095 MB / 455.6 MB, free: 14.89 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.522108773999207]