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.001656/0.001656, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001999/0.001999, allocations: 210.4 kB / 23.73 MB, free: 4.41 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.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001547/0.001547, allocations: 43.92 kB / 378.2 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2753, allocations: 53.36 MB / 431.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.005572/0.2809, allocations: 2.584 MB / 434.2 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.2828, allocations: 0.7128 MB / 434.9 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.283, allocations: 7.938 kB / 434.9 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.2832, allocations: 43.56 kB / 434.9 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.2834, allocations: 91.2 kB / 435 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.2839, allocations: 115.8 kB / 435.1 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006142/0.2845, allocations: 386.5 kB / 435.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.2847, allocations: 64.42 kB / 435.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004206/0.2852, allocations: 163.5 kB / 435.7 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/0.2854, allocations: 151.3 kB / 435.9 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.599e-05/0.2855, allocations: 35.98 kB / 435.9 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-05/0.2856, allocations: 40 kB / 435.9 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.074e-05/0.2857, allocations: 75.75 kB / 436 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.2858, allocations: 127.4 kB / 436.1 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006368/0.2865, allocations: 385.1 kB / 436.5 MB, free: 1.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2865, allocations: 0 / 436.5 MB, free: 1.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2865, allocations: 0 / 436.5 MB, free: 1.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.2865, allocations: 4 kB / 436.5 MB, free: 1.727 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.002201/0.2887, allocations: 0.6125 MB / 437.1 MB, free: 1.078 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.2887, allocations: 8.031 kB / 437.1 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002615/0.289, allocations: 44.75 kB / 437.2 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005909/0.2896, allocations: 225 kB / 437.4 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.2896, allocations: 12.81 kB / 437.4 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.398e-05/0.2897, allocations: 28.36 kB / 437.5 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.2908, allocations: 339.7 kB / 437.8 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.2908, allocations: 0 / 437.8 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.284e-05/0.2909, allocations: 12 kB / 437.8 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.2909, allocations: 4 kB / 437.8 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.2924, allocations: 301.5 kB / 438.1 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002393/0.2948, allocations: 0.8202 MB / 438.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004255/0.299, allocations: 488.5 kB / 439.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000977/0.3, allocations: 212.3 kB / 439.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.3, allocations: 3.938 kB / 439.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009578/0.301, allocations: 265.4 kB / 439.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.954e-06/0.301, allocations: 0 / 439.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001869/0.3028, allocations: 477.5 kB / 440.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.448e-05/0.3029, allocations: 106.8 kB / 440.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.3032, allocations: 233 kB / 440.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.3032, allocations: 29.7 kB / 440.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.3034, allocations: 168.4 kB / 440.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.101e-05/0.3034, allocations: 71.33 kB / 440.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.3035, allocations: 53.92 kB / 441 MB, free: 13.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3037, allocations: 334.8 kB / 441.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005204/0.3042, allocations: 166 kB / 441.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000558/0.3048, allocations: 239.6 kB / 441.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009752/0.3058, allocations: 316.1 kB / 442 MB, free: 11.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3058, allocations: 0 / 442 MB, free: 11.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001177/0.3069, allocations: 440.7 kB / 442.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.109e-05/0.307, allocations: 37.69 kB / 442.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.307, allocations: 7.875 kB / 442.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.307, allocations: 0 / 442.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/0.3088, allocations: 271.6 kB / 442.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005175/0.314, allocations: 3.19 MB / 445.9 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003998/0.3144, allocations: 56.03 kB / 446 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.3144, allocations: 4 kB / 446 MB, free: 7.77 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.0001859/0.3146, allocations: 141.7 kB / 446.1 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.208e-05/0.3147, allocations: 31.78 kB / 446.2 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.853e-05/0.3147, allocations: 30.12 kB / 446.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3147, allocations: 0 / 446.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3147, allocations: 4 kB / 446.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3147, allocations: 3.984 kB / 446.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.3166, allocations: 0.8018 MB / 447 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3166, allocations: 0 / 447 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001763/0.3183, allocations: 263.7 kB / 447.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3183, allocations: 0 / 447.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.3184, allocations: 8 kB / 447.3 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004829/0.3232, allocations: 3.182 MB / 450.5 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3232, allocations: 4 kB / 450.5 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.3248, allocations: 0.6101 MB / 451.1 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.519e-05/0.3249, allocations: 19.89 kB / 451.1 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.302e-05/0.3249, allocations: 4 kB / 451.1 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003564/0.3253, allocations: 44.02 kB / 451.1 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.3254, allocations: 27.95 kB / 451.2 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.3254, allocations: 15.92 kB / 451.2 MB, free: 2.309 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001843/0.3256, allocations: 168.5 kB / 451.3 MB, free: 2.141 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3256, allocations: 0 / 451.3 MB, free: 2.141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005051/0.3261, allocations: 87.83 kB / 451.4 MB, free: 2.055 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.0001362/0.3263, allocations: 99.25 kB / 451.5 MB, free: 1.945 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002632/0.3289, allocations: 0.5958 MB / 452.1 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3289, allocations: 0 / 452.1 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002014/0.3309, allocations: 379.8 kB / 452.5 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.3314, allocations: 28.42 kB / 452.5 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.3336, allocations: 0.7085 MB / 453.2 MB, free: 200 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.3338, allocations: 146.1 kB / 453.4 MB, free: 36 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.3339, allocations: 17.95 kB / 453.4 MB, free: 16 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.334, allocations: 27.42 kB / 453.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of SimCode: time 9.62e-07/0.334, allocations: 0 / 453.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of Templates: time 0.009864/0.3439, allocations: 4.279 MB / 457.7 MB, free: 11.77 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins/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.871895249933004]