Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 78.97 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 152.7 kB / 24.81 MB, free: 8.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9209/0.9209, allocations: 173.4 MB / 201.5 MB, free: 8.309 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 268.4 MB, free: 9.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.208e-05/1.343e-05, allocations: 2.312 kB / 268.4 MB, free: 9.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.002549/0.002562, allocations: 2.705 MB / 271.1 MB, free: 7.059 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000927/0.003489, allocations: 0.6908 MB / 271.8 MB, free: 6.367 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.0036, allocations: 7.938 kB / 271.8 MB, free: 6.359 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.003717, allocations: 40.39 kB / 271.9 MB, free: 6.32 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.003841, allocations: 92.61 kB / 272 MB, free: 6.23 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.004067, allocations: 113.2 kB / 272.1 MB, free: 6.121 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000534/0.004601, allocations: 386.3 kB / 272.4 MB, free: 5.742 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.004734, allocations: 52.89 kB / 272.5 MB, free: 5.688 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002633/0.004997, allocations: 229.4 kB / 272.7 MB, free: 5.465 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.005141, allocations: 131.7 kB / 272.8 MB, free: 5.336 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.339e-05/0.005185, allocations: 32 kB / 272.9 MB, free: 5.305 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.507e-05/0.00522, allocations: 32 kB / 272.9 MB, free: 5.273 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.00527, allocations: 68.56 kB / 273 MB, free: 5.207 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.838e-05/0.005349, allocations: 103.7 kB / 273.1 MB, free: 5.105 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.005574, allocations: 245.2 kB / 273.3 MB, free: 4.867 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.005576, allocations: 0 / 273.3 MB, free: 4.867 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.005577, allocations: 0 / 273.3 MB, free: 4.867 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.005581, allocations: 0 / 273.3 MB, free: 4.867 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.0007549/0.006335, allocations: 0.6756 MB / 274 MB, free: 4.148 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.006366, allocations: 16.03 kB / 274 MB, free: 4.133 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.035e-05/0.006427, allocations: 52.69 kB / 274.1 MB, free: 4.082 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.006618, allocations: 212.9 kB / 274.3 MB, free: 3.844 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.006635, allocations: 12.88 kB / 274.3 MB, free: 3.832 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.006667, allocations: 24.38 kB / 274.3 MB, free: 3.809 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.006972, allocations: 255.3 kB / 274.6 MB, free: 3.539 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.00698, allocations: 4.188 kB / 274.6 MB, free: 3.535 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.006999, allocations: 8.375 kB / 274.6 MB, free: 3.527 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.007005, allocations: 7.938 kB / 274.6 MB, free: 3.52 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.007118, allocations: 71.38 kB / 274.6 MB, free: 3.453 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008294/0.007948, allocations: 0.8157 MB / 275.5 MB, free: 2.59 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006499/0.008597, allocations: 238.8 kB / 275.7 MB, free: 2.344 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.008737, allocations: 95.62 kB / 275.8 MB, free: 2.246 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.008758, allocations: 4 kB / 275.8 MB, free: 2.242 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.008923, allocations: 179.7 kB / 276 MB, free: 2.035 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.243e-06/0.008924, allocations: 0 / 276 MB, free: 2.035 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002834/0.009208, allocations: 189.7 kB / 276.1 MB, free: 1.844 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.009245, allocations: 106.9 kB / 276.3 MB, free: 1.715 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.009374, allocations: 276.1 kB / 276.5 MB, free: 1.426 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.009395, allocations: 33.7 kB / 276.6 MB, free: 1.387 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.977e-05/0.009475, allocations: 207.1 kB / 276.8 MB, free: 1.18 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.009517, allocations: 75.36 kB / 276.8 MB, free: 1.105 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.021e-05/0.009588, allocations: 55.56 kB / 276.9 MB, free: 1.039 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.009697, allocations: 0.5001 MB / 277.4 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.681e-05/0.009763, allocations: 66.08 kB / 277.4 MB, free: 468 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.754e-05/0.009851, allocations: 135 kB / 277.6 MB, free: 304 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.009977, allocations: 134.7 kB / 277.7 MB, free: 152 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.009979, allocations: 0 / 277.7 MB, free: 152 kB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002349/0.01021, allocations: 238.8 kB / 277.9 MB, free: 15.9 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.01024, allocations: 37.64 kB / 278 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.01024, allocations: 0 / 278 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.01025, allocations: 0 / 278 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005374/0.01079, allocations: 151.9 kB / 278.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/0.01285, allocations: 3.905 MB / 282 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.01298, allocations: 48 kB / 282.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.013, allocations: 11.94 kB / 282.1 MB, free: 11.53 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 9.132e-05/0.01309, allocations: 164.5 kB / 282.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.01312, allocations: 31.86 kB / 282.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.01315, allocations: 30.11 kB / 282.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.01315, allocations: 4 kB / 282.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.01315, allocations: 0 / 282.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.01315, allocations: 4 kB / 282.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005493/0.0137, allocations: 0.6593 MB / 283 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01371, allocations: 0 / 283 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004831/0.01419, allocations: 135.9 kB / 283.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.01419, allocations: 0 / 283.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.0142, allocations: 11.94 kB / 283.1 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/0.0161, allocations: 3.911 MB / 287 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.0161, allocations: 0 / 287 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.01639, allocations: 375 kB / 287.4 MB, free: 5.914 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.252e-05/0.01641, allocations: 31.78 kB / 287.4 MB, free: 5.883 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.01643, allocations: 8 kB / 287.4 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/0.01675, allocations: 23.97 kB / 287.5 MB, free: 5.852 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.63e-05/0.01683, allocations: 31.89 kB / 287.5 MB, free: 5.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.01685, allocations: 4 kB / 287.5 MB, free: 5.816 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001038/0.01695, allocations: 189.1 kB / 287.7 MB, free: 5.633 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.01695, allocations: 0 / 287.7 MB, free: 5.633 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003295/0.01728, allocations: 79.92 kB / 287.8 MB, free: 5.555 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 0.0001337/0.01741, allocations: 111.2 kB / 287.9 MB, free: 5.434 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007463/0.01816, allocations: 291.5 kB / 288.2 MB, free: 5.129 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.01816, allocations: 4.125 kB / 288.2 MB, free: 5.125 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005023/0.01867, allocations: 163.4 kB / 288.3 MB, free: 4.961 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.01895, allocations: 44.41 kB / 288.4 MB, free: 4.918 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.02004, allocations: 0.5683 MB / 288.9 MB, free: 4.316 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.38e-05/0.02009, allocations: 84.31 kB / 289 MB, free: 4.215 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.743e-05/0.02018, allocations: 21.95 kB / 289 MB, free: 4.195 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.02033, allocations: 114.2 kB / 289.1 MB, free: 4.082 MB / 266.7 MB Notification: Performance of SimCode: time 2.104e-06/0.02033, allocations: 3.938 kB / 289.2 MB, free: 4.078 MB / 266.7 MB Notification: Performance of Templates: time 0.006137/0.02647, allocations: 4.035 MB / 293.2 MB, free: 112 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7925753029994667]