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.001908/0.001908, allocations: 115.1 kB / 18.45 MB, free: 4.605 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.002329/0.002329, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.467/1.467, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.001502/0.001502, allocations: 43.94 kB / 374.2 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09852/0.1, allocations: 53.33 MB / 427.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004619/0.1046, allocations: 2.791 MB / 430.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.1062, allocations: 0.7518 MB / 431 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002051/0.1064, allocations: 7.938 kB / 431 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.1066, allocations: 39.52 kB / 431.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.1069, allocations: 91.27 kB / 431.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004155/0.1073, allocations: 119.7 kB / 431.3 MB, free: 460 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005041/0.1078, allocations: 374.6 kB / 431.6 MB, free: 84 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.108, allocations: 64.69 kB / 431.7 MB, free: 12 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1939/0.3018, allocations: 154.4 kB / 431.9 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/0.3021, allocations: 174.7 kB / 432 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.131e-05/0.3021, allocations: 33.16 kB / 432.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.3022, allocations: 36.77 kB / 432.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.099e-05/0.3023, allocations: 74.73 kB / 432.2 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.3024, allocations: 162 kB / 432.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004583/0.3029, allocations: 372.6 kB / 432.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3029, allocations: 0.8438 kB / 432.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3029, allocations: 1.25 kB / 432.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.3029, allocations: 2.625 kB / 432.7 MB, free: 8.566 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001464/0.3044, allocations: 0.6909 MB / 433.4 MB, free: 8.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3044, allocations: 8.562 kB / 433.4 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.3046, allocations: 41.42 kB / 433.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.3049, allocations: 273.9 kB / 433.7 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.305, allocations: 18.72 kB / 433.7 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.371e-05/0.305, allocations: 25.2 kB / 433.8 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006971/0.3057, allocations: 316.8 kB / 434.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.3057, allocations: 3.938 kB / 434.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.964e-05/0.3057, allocations: 8.562 kB / 434.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.3058, allocations: 4.281 kB / 434.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009103/0.3067, allocations: 298.6 kB / 434.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.3081, allocations: 0.9624 MB / 435.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002833/0.311, allocations: 495.5 kB / 435.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006222/0.3116, allocations: 202.7 kB / 436 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.3116, allocations: 3.25 kB / 436 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006103/0.3122, allocations: 243.5 kB / 436.3 MB, free: 7.203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.773e-06/0.3122, allocations: 0 / 436.3 MB, free: 7.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001561/0.3138, allocations: 477.3 kB / 436.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.3138, allocations: 111.1 kB / 436.8 MB, free: 7.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.3141, allocations: 235 kB / 437.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.3141, allocations: 31.02 kB / 437.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.416e-05/0.3142, allocations: 171 kB / 437.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.184e-05/0.3142, allocations: 71.19 kB / 437.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.3143, allocations: 47.59 kB / 437.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.98e-05/0.3144, allocations: 333.8 kB / 437.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004944/0.3149, allocations: 143.3 kB / 437.8 MB, free: 6.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004946/0.3154, allocations: 184.3 kB / 438 MB, free: 6.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009132/0.3163, allocations: 312 kB / 438.3 MB, free: 6.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3163, allocations: 0.625 kB / 438.3 MB, free: 6.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00109/0.3174, allocations: 417.9 kB / 438.7 MB, free: 6.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/0.3174, allocations: 38.11 kB / 438.8 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3174, allocations: 0 / 438.8 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.3174, allocations: 2.5 kB / 438.8 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001762/0.3192, allocations: 272.5 kB / 439 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003989/0.3232, allocations: 3.434 MB / 442.5 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004148/0.3236, allocations: 57.22 kB / 442.5 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.3236, allocations: 6.719 kB / 442.5 MB, free: 2.859 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.0001438/0.3238, allocations: 143 kB / 442.7 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.762e-05/0.3238, allocations: 24.66 kB / 442.7 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.259e-05/0.3239, allocations: 30.52 kB / 442.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3239, allocations: 3.469 kB / 442.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3239, allocations: 0 / 442.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.3239, allocations: 4.219 kB / 442.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.3256, allocations: 0.9141 MB / 443.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.3256, allocations: 1.406 kB / 443.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001732/0.3273, allocations: 262.9 kB / 443.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3273, allocations: 5.281 kB / 443.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.3274, allocations: 3.672 kB / 443.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00428/0.3316, allocations: 3.451 MB / 447.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3316, allocations: 1.188 kB / 447.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.3333, allocations: 0.6056 MB / 448 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.3334, allocations: 105.5 kB / 448.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.316e-05/0.3334, allocations: 8.094 kB / 448.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/0.3338, allocations: 44.97 kB / 448.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.3339, allocations: 28.11 kB / 448.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.3339, allocations: 6.875 kB / 448.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001888/0.3341, allocations: 172.6 kB / 448.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3341, allocations: 0 / 448.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005132/0.3346, allocations: 84.17 kB / 448.4 MB, free: 14.45 MB / 366.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.0001463/0.3348, allocations: 106.9 kB / 448.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002528/0.3373, allocations: 0.5616 MB / 449.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3373, allocations: 9.094 kB / 449.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001952/0.3393, allocations: 367.5 kB / 449.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.3397, allocations: 38.33 kB / 449.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.3415, allocations: 0.7242 MB / 450.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.3419, allocations: 0.7515 MB / 451 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.342, allocations: 26.16 kB / 451 MB, free: 13.02 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.342, allocations: 1.219 kB / 451 MB, free: 13.02 MB / 366.1 MB Notification: Performance of Templates: time 0.008294/0.3503, allocations: 5.534 MB / 456.5 MB, free: 11.36 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: 7.599184827005956]