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.002221/0.002221, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002382/0.002382, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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 1.539/1.539, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.382e-06/1.382e-06, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.856e-05/2.995e-05, allocations: 2.312 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004567/0.004597, allocations: 2.734 MB / 275.1 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.006224, allocations: 0.7284 MB / 275.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.006355, allocations: 4 kB / 275.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.006541, allocations: 47.56 kB / 275.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.006744, allocations: 87.14 kB / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.00713, allocations: 123.6 kB / 276 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000502/0.007632, allocations: 398.3 kB / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.007815, allocations: 60.88 kB / 276.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004343/0.008249, allocations: 223.5 kB / 276.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002497/0.008498, allocations: 135.6 kB / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.095e-05/0.008569, allocations: 36 kB / 276.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.008673, allocations: 39.94 kB / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.964e-05/0.008762, allocations: 67.73 kB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.008923, allocations: 115.7 kB / 277.1 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005621/0.009486, allocations: 398.8 kB / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.00949, allocations: 0 / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.009491, allocations: 4 kB / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.009497, allocations: 0 / 277.5 MB, free: 12.64 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.001628/0.01112, allocations: 0.6966 MB / 278.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.01116, allocations: 12.03 kB / 278.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002119/0.01137, allocations: 56.73 kB / 278.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003853/0.01176, allocations: 219.6 kB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/0.01179, allocations: 16.88 kB / 278.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.718e-05/0.01185, allocations: 24.33 kB / 278.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007825/0.01263, allocations: 322.6 kB / 278.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.01265, allocations: 12.12 kB / 278.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.01268, allocations: 4.375 kB / 278.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.0127, allocations: 11.92 kB / 278.9 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007957/0.01349, allocations: 249.8 kB / 279.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.01537, allocations: 0.9595 MB / 280.1 MB, free: 9.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002668/0.01804, allocations: 414.8 kB / 280.5 MB, free: 9.512 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005995/0.01864, allocations: 179.6 kB / 280.6 MB, free: 9.332 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.01867, allocations: 4 kB / 280.6 MB, free: 9.328 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006295/0.0193, allocations: 265.7 kB / 280.9 MB, free: 9.035 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.563e-06/0.0193, allocations: 4 kB / 280.9 MB, free: 9.031 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.001383/0.02069, allocations: 412.9 kB / 281.3 MB, free: 8.625 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.02079, allocations: 114.7 kB / 281.4 MB, free: 8.488 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.02114, allocations: 312.3 kB / 281.7 MB, free: 8.168 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.423e-05/0.02118, allocations: 33.7 kB / 281.8 MB, free: 8.129 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.02137, allocations: 219.1 kB / 282 MB, free: 7.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.452e-05/0.02147, allocations: 79.38 kB / 282 MB, free: 7.832 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.0216, allocations: 59.58 kB / 282.1 MB, free: 7.766 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000295/0.0219, allocations: 0.5197 MB / 282.6 MB, free: 7.234 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004377/0.02233, allocations: 150.1 kB / 282.8 MB, free: 7.082 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004829/0.02282, allocations: 219 kB / 283 MB, free: 6.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008116/0.02363, allocations: 295.2 kB / 283.3 MB, free: 6.535 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.02363, allocations: 0 / 283.3 MB, free: 6.535 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001064/0.0247, allocations: 405.3 kB / 283.7 MB, free: 6.121 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/0.02474, allocations: 33.7 kB / 283.7 MB, free: 6.082 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.02475, allocations: 4 kB / 283.7 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.02477, allocations: 0 / 283.7 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.0264, allocations: 199.8 kB / 283.9 MB, free: 5.883 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00586/0.03226, allocations: 4.305 MB / 288.2 MB, free: 1.344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003759/0.03264, allocations: 35.86 kB / 288.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/0.03267, allocations: 11.94 kB / 288.3 MB, free: 1.297 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.0002242/0.0329, allocations: 184.6 kB / 288.4 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.346e-05/0.03297, allocations: 35.95 kB / 288.5 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.671e-05/0.03305, allocations: 26.11 kB / 288.5 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.03305, allocations: 7.938 kB / 288.5 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.03305, allocations: 0 / 288.5 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.03306, allocations: 7.922 kB / 288.5 MB, free: 1.027 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.03487, allocations: 0.8743 MB / 289.4 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.03487, allocations: 0 / 289.4 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001601/0.03647, allocations: 195.7 kB / 289.6 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.03647, allocations: 0 / 289.6 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.0365, allocations: 4 kB / 289.6 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005676/0.04218, allocations: 4.29 MB / 293.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.04218, allocations: 0 / 293.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.04361, allocations: 0.6073 MB / 294.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.898e-05/0.04367, allocations: 23.78 kB / 294.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.652e-05/0.04372, allocations: 8 kB / 294.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/0.04404, allocations: 31.97 kB / 294.5 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.04414, allocations: 31.89 kB / 294.6 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.04417, allocations: 4 kB / 294.6 MB, free: 10.64 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002291/0.04439, allocations: 221.1 kB / 294.8 MB, free: 10.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04439, allocations: 4.031 kB / 294.8 MB, free: 10.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00049/0.04488, allocations: 83.89 kB / 294.9 MB, free: 10.34 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.0001624/0.04505, allocations: 107.2 kB / 295 MB, free: 10.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002335/0.04738, allocations: 0.5121 MB / 295.5 MB, free: 9.695 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.04738, allocations: 0 / 295.5 MB, free: 9.695 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001795/0.04918, allocations: 299.6 kB / 295.8 MB, free: 9.398 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.04961, allocations: 47.5 kB / 295.8 MB, free: 9.355 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.05124, allocations: 0.6183 MB / 296.4 MB, free: 8.707 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.0514, allocations: 142.4 kB / 296.6 MB, free: 8.547 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001232/0.05153, allocations: 21.95 kB / 296.6 MB, free: 8.527 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.31e-05/0.05162, allocations: 32.48 kB / 296.6 MB, free: 8.496 MB / 282.7 MB Notification: Performance of SimCode: time 1.172e-06/0.05162, allocations: 0 / 296.6 MB, free: 8.496 MB / 282.7 MB Notification: Performance of Templates: time 0.009324/0.06094, allocations: 3.994 MB / 300.6 MB, free: 4.543 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.678114661946893]