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.001429/0.001429, allocations: 81.86 kB / 21.42 MB, free: 3.078 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.001121/0.001121, allocations: 169.1 kB / 24.82 MB, free: 8.867 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.9735/0.9735, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.924e-06/1.924e-06, allocations: 0 / 273.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.785e-05, allocations: 2.312 kB / 273.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.00476/0.004788, allocations: 2.738 MB / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.006396, allocations: 0.736 MB / 276.9 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000222/0.006618, allocations: 4 kB / 276.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001662/0.006784, allocations: 47.56 kB / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000263/0.007047, allocations: 91.14 kB / 277 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004575/0.007504, allocations: 119.7 kB / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005047/0.008009, allocations: 394.3 kB / 277.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.00819, allocations: 56.89 kB / 277.6 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005572/0.008747, allocations: 231.4 kB / 277.8 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.009004, allocations: 131.7 kB / 277.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.528e-05/0.009069, allocations: 32 kB / 278 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.899e-05/0.009168, allocations: 35.98 kB / 278 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.351e-05/0.009232, allocations: 71.73 kB / 278.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.009353, allocations: 115.7 kB / 278.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004058/0.009759, allocations: 251.2 kB / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.009762, allocations: 0 / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.009763, allocations: 0 / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.009771, allocations: 0 / 278.4 MB, free: 12.21 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.001296/0.01107, allocations: 0.6812 MB / 279.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.01112, allocations: 19.91 kB / 279.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/0.01133, allocations: 48.75 kB / 279.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.01167, allocations: 223.5 kB / 279.4 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/0.01171, allocations: 20.88 kB / 279.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.563e-05/0.01175, allocations: 16.38 kB / 279.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005468/0.0123, allocations: 259.3 kB / 279.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.01231, allocations: 192 / 279.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.01234, allocations: 12.38 kB / 279.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.01236, allocations: 7.938 kB / 279.7 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002286/0.01258, allocations: 83.36 kB / 279.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.01411, allocations: 0.804 MB / 280.6 MB, free: 9.906 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.01525, allocations: 238.8 kB / 280.8 MB, free: 9.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.0155, allocations: 95.61 kB / 280.9 MB, free: 9.562 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.01553, allocations: 4 kB / 280.9 MB, free: 9.559 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000282/0.01581, allocations: 188.7 kB / 281.1 MB, free: 9.344 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.575e-06/0.01581, allocations: 3.938 kB / 281.1 MB, free: 9.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.000769/0.01658, allocations: 192.6 kB / 281.3 MB, free: 9.148 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.01663, allocations: 106.8 kB / 281.4 MB, free: 9.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.01685, allocations: 272.2 kB / 281.7 MB, free: 8.738 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.01688, allocations: 33.69 kB / 281.7 MB, free: 8.699 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.017, allocations: 207.1 kB / 281.9 MB, free: 8.492 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.694e-05/0.01707, allocations: 83.42 kB / 282 MB, free: 8.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.01717, allocations: 55.56 kB / 282 MB, free: 8.348 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.01733, allocations: 0.504 MB / 282.5 MB, free: 7.832 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.01745, allocations: 66.08 kB / 282.6 MB, free: 7.762 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.01761, allocations: 135 kB / 282.7 MB, free: 7.602 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.01782, allocations: 131.4 kB / 282.9 MB, free: 7.457 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01783, allocations: 0 / 282.9 MB, free: 7.457 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004055/0.01823, allocations: 245.4 kB / 283.1 MB, free: 7.199 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.228e-05/0.01827, allocations: 35.89 kB / 283.1 MB, free: 7.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.016e-06/0.01828, allocations: 0 / 283.1 MB, free: 7.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.0183, allocations: 3.984 kB / 283.1 MB, free: 7.156 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009212/0.01922, allocations: 167.9 kB / 283.3 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002968/0.02219, allocations: 3.919 MB / 287.2 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.02244, allocations: 40.05 kB / 287.3 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.02247, allocations: 11.94 kB / 287.3 MB, free: 2.801 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.0001555/0.02263, allocations: 176.5 kB / 287.4 MB, free: 2.617 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.02268, allocations: 27.86 kB / 287.5 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.111e-05/0.02273, allocations: 34.09 kB / 287.5 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.02274, allocations: 4 kB / 287.5 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.02274, allocations: 0 / 287.5 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.02274, allocations: 0 / 287.5 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009222/0.02367, allocations: 0.66 MB / 288.2 MB, free: 1.848 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.02367, allocations: 0 / 288.2 MB, free: 1.848 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008655/0.02454, allocations: 155.9 kB / 288.3 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.02454, allocations: 7.984 kB / 288.3 MB, free: 1.688 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.02456, allocations: 0 / 288.3 MB, free: 1.688 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003039/0.0276, allocations: 3.916 MB / 292.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.0276, allocations: 0 / 292.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000504/0.02811, allocations: 382.3 kB / 292.6 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.011e-05/0.02815, allocations: 23.86 kB / 292.6 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/0.02819, allocations: 3.984 kB / 292.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.02844, allocations: 27.98 kB / 292.7 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.559e-05/0.02853, allocations: 35.88 kB / 292.7 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.02855, allocations: 4 kB / 292.7 MB, free: 13.06 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001269/0.02868, allocations: 189.1 kB / 292.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.02868, allocations: 0 / 292.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005109/0.02919, allocations: 79.92 kB / 293 MB, free: 12.8 MB / 282.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.0001483/0.02934, allocations: 103.2 kB / 293.1 MB, free: 12.69 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.03046, allocations: 316.6 kB / 293.4 MB, free: 12.36 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.03047, allocations: 4 kB / 293.4 MB, free: 12.36 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008865/0.03136, allocations: 179.4 kB / 293.6 MB, free: 12.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.03177, allocations: 48.72 kB / 293.6 MB, free: 12.13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.03329, allocations: 0.5672 MB / 294.2 MB, free: 11.53 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.407e-05/0.03337, allocations: 80.33 kB / 294.3 MB, free: 11.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001298/0.0335, allocations: 33.92 kB / 294.3 MB, free: 11.4 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.03368, allocations: 114.2 kB / 294.4 MB, free: 11.29 MB / 282.7 MB Notification: Performance of SimCode: time 8.81e-07/0.03369, allocations: 0 / 294.4 MB, free: 11.29 MB / 282.7 MB Notification: Performance of Templates: time 0.006516/0.0402, allocations: 4.131 MB / 298.5 MB, free: 7.207 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.806302639655769]