Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.001645/0.001645, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001593/0.001593, allocations: 207 kB / 23.73 MB, free: 4.387 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.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 55.86 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2954, allocations: 53.36 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.007366/0.3027, allocations: 3.662 MB / 435.2 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003753/0.3065, allocations: 1.553 MB / 436.8 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006021/0.3071, allocations: 11.94 kB / 436.8 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.3082, allocations: 258.7 kB / 437.1 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001099/0.3093, allocations: 306.1 kB / 437.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008899/0.3102, allocations: 267.4 kB / 437.6 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001243/0.3114, allocations: 0.7319 MB / 438.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002976/0.3117, allocations: 105.3 kB / 438.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006163/0.3123, allocations: 295 kB / 438.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005243/0.3128, allocations: 270.8 kB / 439 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.313, allocations: 52 kB / 439.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003269/0.3133, allocations: 115.9 kB / 439.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.3135, allocations: 143.5 kB / 439.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003456/0.3139, allocations: 250.7 kB / 439.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.3149, allocations: 0.7233 MB / 440.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3149, allocations: 4 kB / 440.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3149, allocations: 4 kB / 440.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.638e-05/0.3149, allocations: 0 / 440.3 MB, free: 13.98 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.002036/0.317, allocations: 0.8888 MB / 441.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.317, allocations: 12.03 kB / 441.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003353/0.3174, allocations: 72.52 kB / 441.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006929/0.318, allocations: 368.2 kB / 441.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.218e-05/0.3181, allocations: 33.38 kB / 441.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.59e-05/0.3182, allocations: 40.12 kB / 441.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009047/0.3191, allocations: 0.5307 MB / 442.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.3191, allocations: 0 / 442.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.571e-05/0.3191, allocations: 20 kB / 442.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.3191, allocations: 12 kB / 442.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006974/0.3198, allocations: 311.8 kB / 442.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002684/0.3225, allocations: 1.486 MB / 444 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007202/0.3232, allocations: 327.1 kB / 444.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003481/0.3236, allocations: 165.4 kB / 444.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.3236, allocations: 4 kB / 444.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005652/0.3242, allocations: 365.2 kB / 444.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.943e-06/0.3242, allocations: 4 kB / 444.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002306/0.3265, allocations: 0.7168 MB / 445.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.3266, allocations: 162.2 kB / 445.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000659/0.3273, allocations: 0.49 MB / 446.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.709e-05/0.3273, allocations: 37.7 kB / 446.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002416/0.3276, allocations: 256.7 kB / 446.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.3277, allocations: 127 kB / 446.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.3278, allocations: 78.12 kB / 446.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.328, allocations: 358.8 kB / 447.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003422/0.3284, allocations: 120.8 kB / 447.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004516/0.3288, allocations: 340.9 kB / 447.5 MB, free: 6.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006155/0.3294, allocations: 273.1 kB / 447.8 MB, free: 6.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3294, allocations: 3.938 kB / 447.8 MB, free: 6.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009207/0.3303, allocations: 473.1 kB / 448.3 MB, free: 5.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.3304, allocations: 12 kB / 448.3 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3304, allocations: 3.984 kB / 448.3 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005248/0.3309, allocations: 155.3 kB / 448.4 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.3311, allocations: 51.91 kB / 448.5 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00608/0.3372, allocations: 6.13 MB / 454.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003815/0.3376, allocations: 55.94 kB / 454.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.3376, allocations: 12 kB / 454.7 MB, free: 14.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,IdealGTOThyristor2.off,IdealThyristor2.off,$PRE.IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEvent,IdealGTOThyristor1.off,IdealThyristor1.fire,IdealThyristor1.off,$PRE.IdealThyristor1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003128/0.3379, allocations: 191.7 kB / 454.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-05/0.338, allocations: 51.67 kB / 454.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.3392, allocations: 0.4969 MB / 455.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.3392, allocations: 4 kB / 455.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.3392, allocations: 128 / 455.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/0.3392, allocations: 7.984 kB / 455.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006017/0.3398, allocations: 353 kB / 455.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3398, allocations: 0 / 455.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.3399, allocations: 35.91 kB / 455.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004368/0.3404, allocations: 147.3 kB / 456 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.3404, allocations: 15.98 kB / 456 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005927/0.3463, allocations: 5.836 MB / 461.8 MB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3463, allocations: 0 / 461.8 MB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.3474, allocations: 0.5034 MB / 462.3 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.3476, allocations: 79.55 kB / 462.4 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.379e-05/0.3477, allocations: 12.12 kB / 462.4 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.348, allocations: 31.97 kB / 462.4 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.3482, allocations: 55.91 kB / 462.5 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.648e-05/0.3482, allocations: 15.98 kB / 462.5 MB, free: 6.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004868/0.3487, allocations: 351.1 kB / 462.9 MB, free: 6.066 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3487, allocations: 0 / 462.9 MB, free: 6.066 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008323/0.3496, allocations: 187.6 kB / 463 MB, free: 5.883 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001787/0.3513, allocations: 464.7 kB / 463.5 MB, free: 5.605 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001409/0.3528, allocations: 0.7834 MB / 464.3 MB, free: 4.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3528, allocations: 4.188 kB / 464.3 MB, free: 4.766 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008518/0.3536, allocations: 0.6429 MB / 464.9 MB, free: 4.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005522/0.3542, allocations: 111.9 kB / 465 MB, free: 3.965 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.3565, allocations: 0.9822 MB / 466 MB, free: 2.957 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.3568, allocations: 267.4 kB / 466.3 MB, free: 2.664 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001958/0.357, allocations: 51.31 kB / 466.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.925e-05/0.3571, allocations: 31.44 kB / 466.4 MB, free: 2.582 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3571, allocations: 0 / 466.4 MB, free: 2.582 MB / 366.1 MB Notification: Performance of Templates: time 0.01915/0.3763, allocations: 9.663 MB / 476 MB, free: 9.059 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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: 5.109774215146899]