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.0007477/0.0007477, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001075/0.001822, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007202/0.0007202, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001/0.00172, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9955/0.9955, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0876/1.083, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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 1.503e-06/1.503e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.442e-05/1.592e-05, allocations: 2.312 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003054/0.00307, allocations: 2.807 MB / 247.5 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.004183, allocations: 0.7591 MB / 248.3 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.004305, allocations: 4 kB / 248.3 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.231e-05/0.004388, allocations: 43.56 kB / 248.3 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.004531, allocations: 99.14 kB / 248.4 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.004786, allocations: 119.6 kB / 248.5 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003277/0.005113, allocations: 398.4 kB / 248.9 MB, free: 9.965 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.00524, allocations: 54.86 kB / 249 MB, free: 9.914 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000327/0.005566, allocations: 263.9 kB / 249.2 MB, free: 9.656 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.005714, allocations: 131.6 kB / 249.4 MB, free: 9.527 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.005753, allocations: 36 kB / 249.4 MB, free: 9.492 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.588e-05/0.005829, allocations: 36 kB / 249.4 MB, free: 9.457 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.278e-05/0.005872, allocations: 51.81 kB / 249.5 MB, free: 9.406 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.417e-05/0.005946, allocations: 87.81 kB / 249.6 MB, free: 9.32 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.006191, allocations: 227.2 kB / 249.8 MB, free: 9.098 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.006201, allocations: 0 / 249.8 MB, free: 9.098 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.006201, allocations: 0 / 249.8 MB, free: 9.098 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.00621, allocations: 0 / 249.8 MB, free: 9.098 MB / 250.7 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.0008776/0.007088, allocations: 0.6071 MB / 250.4 MB, free: 8.461 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.007118, allocations: 8.031 kB / 250.4 MB, free: 8.453 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.007278, allocations: 126 kB / 250.5 MB, free: 8.312 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.007484, allocations: 180.8 kB / 250.7 MB, free: 8.113 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.007506, allocations: 20.88 kB / 250.7 MB, free: 8.09 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.287e-05/0.007539, allocations: 24.31 kB / 250.8 MB, free: 8.066 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.007873, allocations: 253.6 kB / 251 MB, free: 7.797 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.007881, allocations: 192 / 251 MB, free: 7.797 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.007901, allocations: 12.36 kB / 251 MB, free: 7.785 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.007908, allocations: 7.938 kB / 251 MB, free: 7.777 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.008018, allocations: 63.47 kB / 251.1 MB, free: 7.719 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007676/0.008785, allocations: 0.606 MB / 251.7 MB, free: 7.082 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006167/0.009402, allocations: 217.1 kB / 251.9 MB, free: 6.863 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.009543, allocations: 97.06 kB / 252 MB, free: 6.766 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.009565, allocations: 4 kB / 252 MB, free: 6.762 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001887/0.009753, allocations: 183.4 kB / 252.2 MB, free: 6.555 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/0.009755, allocations: 3.938 kB / 252.2 MB, free: 6.551 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.000233/0.009988, allocations: 137.6 kB / 252.3 MB, free: 6.41 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.01003, allocations: 89.05 kB / 252.4 MB, free: 6.305 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.01015, allocations: 213 kB / 252.6 MB, free: 6.082 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.01018, allocations: 33.69 kB / 252.6 MB, free: 6.043 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.01024, allocations: 140.9 kB / 252.8 MB, free: 5.902 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.01028, allocations: 75.36 kB / 252.9 MB, free: 5.828 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-05/0.01034, allocations: 54.03 kB / 252.9 MB, free: 5.77 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.863e-05/0.01042, allocations: 338.7 kB / 253.2 MB, free: 5.43 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.961e-05/0.01048, allocations: 54.16 kB / 253.3 MB, free: 5.371 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.338e-05/0.01056, allocations: 119.7 kB / 253.4 MB, free: 5.23 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.01068, allocations: 126.8 kB / 253.5 MB, free: 5.094 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01069, allocations: 0 / 253.5 MB, free: 5.094 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001788/0.01086, allocations: 201.6 kB / 253.7 MB, free: 4.879 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.0109, allocations: 40.05 kB / 253.8 MB, free: 4.836 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.0109, allocations: 0 / 253.8 MB, free: 4.836 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.01091, allocations: 4 kB / 253.8 MB, free: 4.832 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007063/0.01162, allocations: 179.7 kB / 254 MB, free: 4.656 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.0132, allocations: 2.636 MB / 256.6 MB, free: 1.852 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.01333, allocations: 47.98 kB / 256.6 MB, free: 1.805 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.01335, allocations: 4 kB / 256.6 MB, free: 1.801 MB / 250.7 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 8.967e-05/0.01344, allocations: 133.7 kB / 256.8 MB, free: 1.66 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.01347, allocations: 23.98 kB / 256.8 MB, free: 1.637 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.637e-05/0.01349, allocations: 26.11 kB / 256.8 MB, free: 1.613 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.01349, allocations: 4 kB / 256.8 MB, free: 1.609 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.0135, allocations: 4 kB / 256.8 MB, free: 1.605 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.0135, allocations: 3.938 kB / 256.8 MB, free: 1.602 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004587/0.01396, allocations: 494 kB / 257.3 MB, free: 1.09 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.01396, allocations: 0 / 257.3 MB, free: 1.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005482/0.01451, allocations: 159.8 kB / 257.5 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.01455, allocations: 23.8 kB / 257.5 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.01455, allocations: 3.938 kB / 257.5 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.01458, allocations: 8 kB / 257.5 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/0.01612, allocations: 2.644 MB / 260.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01612, allocations: 4.188 kB / 260.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.01636, allocations: 276 kB / 260.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.01639, allocations: 15.92 kB / 260.4 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.01651, allocations: 31.91 kB / 260.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.01657, allocations: 23.95 kB / 260.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.01658, allocations: 8 kB / 260.5 MB, free: 13.72 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.691e-05/0.01664, allocations: 74.81 kB / 260.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01664, allocations: 0 / 260.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002616/0.0169, allocations: 75.89 kB / 260.6 MB, free: 13.57 MB / 266.7 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 9.833e-05/0.017, allocations: 96.34 kB / 260.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006226/0.01762, allocations: 319.5 kB / 261.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/0.01763, allocations: 3.984 kB / 261.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004829/0.01812, allocations: 202.6 kB / 261.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.0184, allocations: 345.1 kB / 261.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.02062, allocations: 0.5459 MB / 262.1 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.42e-05/0.02067, allocations: 88.31 kB / 262.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.514e-05/0.02076, allocations: 21.94 kB / 262.2 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.02091, allocations: 99.28 kB / 262.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.02091, allocations: 0 / 262.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of Templates: time 0.006078/0.02699, allocations: 4.083 MB / 266.4 MB, free: 7.688 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.546079045161605]