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.0008864/0.0008864, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001033/0.001033, allocations: 169.9 kB / 24.91 MB, free: 9.18 MB / 18.57 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.9018/0.9018, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.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.212e-06/1.212e-06, allocations: 0 / 273.5 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.087e-05/1.208e-05, allocations: 2.312 kB / 273.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.006126/0.006138, allocations: 2.744 MB / 276.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.007431, allocations: 0.7515 MB / 277 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.007557, allocations: 7.938 kB / 277 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.007693, allocations: 39.58 kB / 277 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.007886, allocations: 95.12 kB / 277.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.008227, allocations: 127.6 kB / 277.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003902/0.008617, allocations: 394.3 kB / 277.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.008759, allocations: 58.84 kB / 277.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000342/0.009101, allocations: 227.4 kB / 277.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.009301, allocations: 135.6 kB / 278 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.07e-05/0.009352, allocations: 32 kB / 278 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.333e-05/0.009425, allocations: 32 kB / 278.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.782e-05/0.009493, allocations: 71.73 kB / 278.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.009611, allocations: 107.7 kB / 278.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003169/0.009928, allocations: 263.1 kB / 278.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.00993, allocations: 4 kB / 278.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.009931, allocations: 0 / 278.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.009934, allocations: 0 / 278.5 MB, free: 12.2 MB / 266.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.0009585/0.01089, allocations: 0.5565 MB / 279.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.01093, allocations: 12.03 kB / 279.1 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.01107, allocations: 36.91 kB / 279.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.01132, allocations: 192.8 kB / 279.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.01135, allocations: 16.86 kB / 279.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/0.01139, allocations: 28.31 kB / 279.3 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/0.01181, allocations: 257.6 kB / 279.6 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.01182, allocations: 192 / 279.6 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.01185, allocations: 12.38 kB / 279.6 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.01186, allocations: 11.94 kB / 279.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.01202, allocations: 67.34 kB / 279.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.01306, allocations: 0.6022 MB / 280.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000911/0.01397, allocations: 218.3 kB / 280.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.01417, allocations: 92.73 kB / 280.6 MB, free: 9.996 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.01419, allocations: 4 kB / 280.6 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002143/0.01441, allocations: 166.5 kB / 280.8 MB, free: 9.805 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.492e-06/0.01441, allocations: 0 / 280.8 MB, free: 9.805 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003145/0.01472, allocations: 153.3 kB / 280.9 MB, free: 9.652 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.01478, allocations: 106.8 kB / 281 MB, free: 9.523 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.01494, allocations: 213 kB / 281.2 MB, free: 9.305 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.01497, allocations: 33.69 kB / 281.3 MB, free: 9.266 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.495e-05/0.01504, allocations: 144.9 kB / 281.4 MB, free: 9.121 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.709e-05/0.0151, allocations: 71.36 kB / 281.5 MB, free: 9.051 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-05/0.01519, allocations: 49.89 kB / 281.5 MB, free: 8.996 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.01529, allocations: 342.7 kB / 281.9 MB, free: 8.652 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.932e-05/0.01538, allocations: 58.16 kB / 281.9 MB, free: 8.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.01549, allocations: 115.7 kB / 282 MB, free: 8.453 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.01567, allocations: 134.8 kB / 282.2 MB, free: 8.309 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.01567, allocations: 0 / 282.2 MB, free: 8.309 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002598/0.01593, allocations: 193.6 kB / 282.3 MB, free: 8.102 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/0.01596, allocations: 33.69 kB / 282.4 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.01596, allocations: 0 / 282.4 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.01598, allocations: 4 kB / 282.4 MB, free: 8.059 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000782/0.01676, allocations: 167.8 kB / 282.5 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002371/0.01913, allocations: 2.643 MB / 285.2 MB, free: 5.078 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.01932, allocations: 39.81 kB / 285.2 MB, free: 5.039 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.01934, allocations: 8 kB / 285.2 MB, free: 5.031 MB / 266.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 0.0001127/0.01945, allocations: 133.7 kB / 285.4 MB, free: 4.891 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.476e-05/0.0195, allocations: 23.97 kB / 285.4 MB, free: 4.867 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/0.01954, allocations: 26.19 kB / 285.4 MB, free: 4.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.01954, allocations: 8 kB / 285.4 MB, free: 4.832 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.01954, allocations: 0 / 285.4 MB, free: 4.832 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.01955, allocations: 3.984 kB / 285.4 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000667/0.02022, allocations: 483.2 kB / 285.9 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.02022, allocations: 0 / 285.9 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007301/0.02095, allocations: 151.8 kB / 286 MB, free: 4.176 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.02095, allocations: 4 kB / 286 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.02097, allocations: 3.984 kB / 286.1 MB, free: 4.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001421/0.02239, allocations: 2.656 MB / 288.7 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.02239, allocations: 0 / 288.7 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.02262, allocations: 269.1 kB / 289 MB, free: 1.062 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.104e-05/0.02264, allocations: 31.72 kB / 289 MB, free: 1.031 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.02267, allocations: 8 kB / 289 MB, free: 1.023 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.02279, allocations: 32.06 kB / 289 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.02284, allocations: 27.95 kB / 289.1 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.02285, allocations: 4 kB / 289.1 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.749e-05/0.0229, allocations: 70.78 kB / 289.1 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0229, allocations: 0 / 289.1 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002506/0.02315, allocations: 79.89 kB / 289.2 MB, free: 0.8164 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 7.968e-05/0.02323, allocations: 92.34 kB / 289.3 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005773/0.02381, allocations: 293.8 kB / 289.6 MB, free: 416 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.02381, allocations: 4 kB / 289.6 MB, free: 412 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004604/0.02427, allocations: 183.9 kB / 289.8 MB, free: 228 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.02446, allocations: 44.41 kB / 289.8 MB, free: 180 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.02556, allocations: 0.5486 MB / 290.4 MB, free: 15.6 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.322e-05/0.02561, allocations: 84.31 kB / 290.5 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.226e-05/0.02568, allocations: 25.94 kB / 290.5 MB, free: 15.47 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.02579, allocations: 95.28 kB / 290.6 MB, free: 15.38 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02579, allocations: 0 / 290.6 MB, free: 15.38 MB / 282.7 MB Notification: Performance of Templates: time 0.005416/0.03121, allocations: 4.03 MB / 294.6 MB, free: 11.4 MB / 282.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.636755258310586]