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.001438/0.001438, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.001294/0.001294, allocations: 142.1 kB / 24.97 MB, free: 8.316 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.9515/0.9515, allocations: 173.3 MB / 201.5 MB, free: 9.332 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.182e-06/1.182e-06, allocations: 0 / 268.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.549e-05, allocations: 6.25 kB / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.00297/0.002996, allocations: 2.723 MB / 270.8 MB, free: 3.98 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.004163, allocations: 0.6971 MB / 271.5 MB, free: 3.277 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.004309, allocations: 0 / 271.5 MB, free: 3.277 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.004443, allocations: 43.52 kB / 271.5 MB, free: 3.234 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.004585, allocations: 95.14 kB / 271.6 MB, free: 3.141 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.004913, allocations: 111.7 kB / 271.7 MB, free: 3.031 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003531/0.005267, allocations: 390.3 kB / 272.1 MB, free: 2.648 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.005411, allocations: 56.89 kB / 272.2 MB, free: 2.59 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002792/0.00569, allocations: 211.6 kB / 272.4 MB, free: 2.383 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.005859, allocations: 139.6 kB / 272.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.443e-05/0.005903, allocations: 35.94 kB / 272.6 MB, free: 2.211 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.505e-05/0.005938, allocations: 32 kB / 272.6 MB, free: 2.18 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.305e-05/0.005991, allocations: 71.73 kB / 272.7 MB, free: 2.109 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.776e-05/0.006089, allocations: 111.7 kB / 272.8 MB, free: 2 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.006368, allocations: 247.2 kB / 273 MB, free: 1.758 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.00637, allocations: 0 / 273 MB, free: 1.758 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.006371, allocations: 4 kB / 273 MB, free: 1.754 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.006375, allocations: 0 / 273 MB, free: 1.754 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.0009274/0.007303, allocations: 0.6735 MB / 273.7 MB, free: 1.035 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.007338, allocations: 16.03 kB / 273.7 MB, free: 1.02 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003312/0.00767, allocations: 52.69 kB / 273.8 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.007925, allocations: 208.9 kB / 274 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.00795, allocations: 16.88 kB / 274 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.007986, allocations: 24.31 kB / 274 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004209/0.008407, allocations: 275.3 kB / 274.3 MB, free: 412 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.008417, allocations: 4.188 kB / 274.3 MB, free: 408 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.00844, allocations: 4.375 kB / 274.3 MB, free: 404 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.008452, allocations: 7.938 kB / 274.3 MB, free: 396 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.008648, allocations: 98.88 kB / 274.4 MB, free: 300 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.00972, allocations: 0.8581 MB / 275.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.01088, allocations: 306.8 kB / 275.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/0.01115, allocations: 103.6 kB / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.01118, allocations: 8 kB / 275.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002676/0.01145, allocations: 180.5 kB / 275.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/0.01145, allocations: 0 / 275.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004917/0.01194, allocations: 213.8 kB / 276 MB, free: 14.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.012, allocations: 114.8 kB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.01221, allocations: 276.3 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.01223, allocations: 33.64 kB / 276.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.01233, allocations: 207.1 kB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.851e-05/0.01239, allocations: 75.38 kB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.062e-05/0.01248, allocations: 51.59 kB / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.01261, allocations: 0.5001 MB / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.01274, allocations: 78.08 kB / 277.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.0129, allocations: 139.1 kB / 277.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.01314, allocations: 149.4 kB / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01314, allocations: 0 / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003891/0.01353, allocations: 260.7 kB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.01356, allocations: 33.64 kB / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.01356, allocations: 0 / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.01357, allocations: 4 kB / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008264/0.0144, allocations: 179.9 kB / 278.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002911/0.01731, allocations: 3.992 MB / 282.1 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.0175, allocations: 43.84 kB / 282.1 MB, free: 8.043 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.01752, allocations: 8 kB / 282.1 MB, free: 8.035 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.0001203/0.01764, allocations: 172.7 kB / 282.3 MB, free: 7.855 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.808e-05/0.01769, allocations: 31.86 kB / 282.3 MB, free: 7.824 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.756e-05/0.01772, allocations: 30.11 kB / 282.4 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.01773, allocations: 7.938 kB / 282.4 MB, free: 7.785 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.01773, allocations: 0 / 282.4 MB, free: 7.785 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.01774, allocations: 3.984 kB / 282.4 MB, free: 7.781 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008066/0.01854, allocations: 0.7095 MB / 283.1 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.01855, allocations: 4.062 kB / 283.1 MB, free: 7.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000772/0.01932, allocations: 163.8 kB / 283.3 MB, free: 6.859 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.01932, allocations: 8 kB / 283.3 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.01934, allocations: 7.984 kB / 283.3 MB, free: 6.844 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002489/0.02183, allocations: 3.988 MB / 287.3 MB, free: 2.617 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.02183, allocations: 0 / 287.3 MB, free: 2.617 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004837/0.02232, allocations: 407.1 kB / 287.7 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.851e-05/0.02234, allocations: 23.8 kB / 287.7 MB, free: 2.168 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.02238, allocations: 7.938 kB / 287.7 MB, free: 2.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.02256, allocations: 31.97 kB / 287.7 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.394e-05/0.02264, allocations: 23.95 kB / 287.7 MB, free: 2.105 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.02266, allocations: 11.98 kB / 287.8 MB, free: 2.094 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001236/0.02279, allocations: 189.1 kB / 287.9 MB, free: 1.906 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02279, allocations: 0 / 287.9 MB, free: 1.906 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006634/0.02345, allocations: 87.92 kB / 288 MB, free: 1.82 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.0001132/0.02356, allocations: 107.2 kB / 288.1 MB, free: 1.703 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.02457, allocations: 348.4 kB / 288.5 MB, free: 1.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.02457, allocations: 0 / 288.5 MB, free: 1.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007945/0.02536, allocations: 215.6 kB / 288.7 MB, free: 1.125 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.0257, allocations: 39.39 kB / 288.7 MB, free: 1.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.02698, allocations: 0.5717 MB / 289.3 MB, free: 496 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.695e-05/0.02704, allocations: 84.31 kB / 289.4 MB, free: 392 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.608e-05/0.02714, allocations: 21.95 kB / 289.4 MB, free: 372 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/0.02721, allocations: 24.5 kB / 289.4 MB, free: 348 kB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.02721, allocations: 0 / 289.4 MB, free: 348 kB / 266.7 MB Notification: Performance of Templates: time 0.006697/0.03391, allocations: 3.918 MB / 293.3 MB, free: 12.47 MB / 282.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: 3.0030980380252004]