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.001094/0.001094, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001229/0.002323, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006724/0.0006724, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009568/0.001629, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.9131/0.9131, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1644/1.078, allocations: 52.48 MB / 238.5 MB, free: 7.633 MB / 234.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.783e-06/1.783e-06, allocations: 0 / 239.7 MB, free: 6.359 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.308e-05/3.487e-05, allocations: 2.312 kB / 239.7 MB, free: 6.355 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004303/0.004338, allocations: 2.767 MB / 242.5 MB, free: 3.59 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.005755, allocations: 0.7062 MB / 243.2 MB, free: 2.883 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.005891, allocations: 4 kB / 243.2 MB, free: 2.879 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.006015, allocations: 51.55 kB / 243.3 MB, free: 2.828 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.006218, allocations: 89.23 kB / 243.4 MB, free: 2.742 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002978/0.006516, allocations: 108.5 kB / 243.5 MB, free: 2.637 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004328/0.006949, allocations: 390.4 kB / 243.9 MB, free: 2.254 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.007114, allocations: 60.72 kB / 243.9 MB, free: 2.195 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004107/0.007525, allocations: 252 kB / 244.2 MB, free: 1.949 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.007735, allocations: 127.6 kB / 244.3 MB, free: 1.824 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.807e-05/0.007794, allocations: 32 kB / 244.3 MB, free: 1.793 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.321e-05/0.007847, allocations: 33.19 kB / 244.3 MB, free: 1.762 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.056e-05/0.007907, allocations: 47.81 kB / 244.4 MB, free: 1.715 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.008026, allocations: 87.81 kB / 244.5 MB, free: 1.629 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.008338, allocations: 223.8 kB / 244.7 MB, free: 1.41 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.207e-05/0.00835, allocations: 0 / 244.7 MB, free: 1.41 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.008352, allocations: 0.6875 kB / 244.7 MB, free: 1.41 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.008366, allocations: 0 / 244.7 MB, free: 1.41 MB / 234.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.001104/0.009469, allocations: 0.5985 MB / 245.3 MB, free: 0.7812 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.009505, allocations: 8.969 kB / 245.3 MB, free: 0.7734 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.917e-05/0.009594, allocations: 44.84 kB / 245.3 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.009872, allocations: 174.8 kB / 245.5 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.009899, allocations: 12.88 kB / 245.5 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.462e-05/0.009953, allocations: 30.42 kB / 245.6 MB, free: 0.4922 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004403/0.01039, allocations: 255.3 kB / 245.8 MB, free: 232 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.0104, allocations: 192 / 245.8 MB, free: 232 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.01043, allocations: 8.375 kB / 245.8 MB, free: 224 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.01044, allocations: 7.938 kB / 245.8 MB, free: 216 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.0106, allocations: 63.91 kB / 245.9 MB, free: 152 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.01169, allocations: 0.6088 MB / 246.5 MB, free: 15.51 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000957/0.01265, allocations: 217.6 kB / 246.7 MB, free: 15.29 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.01284, allocations: 97.42 kB / 246.8 MB, free: 15.2 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.01287, allocations: 4.5 kB / 246.8 MB, free: 15.2 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002278/0.0131, allocations: 172 kB / 247 MB, free: 15 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.362e-06/0.0131, allocations: 0 / 247 MB, free: 15 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003108/0.01341, allocations: 141.9 kB / 247.1 MB, free: 14.86 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.01345, allocations: 85.06 kB / 247.2 MB, free: 14.76 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.0136, allocations: 213.1 kB / 247.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.01363, allocations: 33.7 kB / 247.4 MB, free: 14.5 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.403e-05/0.01371, allocations: 144.9 kB / 247.6 MB, free: 14.36 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.867e-05/0.01377, allocations: 75.36 kB / 247.7 MB, free: 14.28 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.01387, allocations: 53.91 kB / 247.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.854e-05/0.01396, allocations: 334.7 kB / 248 MB, free: 13.88 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.225e-05/0.01403, allocations: 54.16 kB / 248.1 MB, free: 13.82 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.648e-05/0.01411, allocations: 119.7 kB / 248.2 MB, free: 13.68 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.01425, allocations: 139.2 kB / 248.3 MB, free: 13.54 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.01426, allocations: 4 kB / 248.3 MB, free: 13.53 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002466/0.0145, allocations: 192.9 kB / 248.5 MB, free: 13.32 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.01454, allocations: 41.69 kB / 248.6 MB, free: 13.28 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.01454, allocations: 0 / 248.6 MB, free: 13.28 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.01455, allocations: 0 / 248.6 MB, free: 13.28 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006053/0.01516, allocations: 159.8 kB / 248.7 MB, free: 13.12 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.01655, allocations: 2.639 MB / 251.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.01666, allocations: 39.83 kB / 251.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.01668, allocations: 8 kB / 251.4 MB, free: 10.26 MB / 250.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 8.712e-05/0.01677, allocations: 125.8 kB / 251.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.0168, allocations: 19.97 kB / 251.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.01683, allocations: 26.12 kB / 251.6 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01683, allocations: 4 kB / 251.6 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.01683, allocations: 0 / 251.6 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.01684, allocations: 11.92 kB / 251.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004416/0.01728, allocations: 482.5 kB / 252.1 MB, free: 9.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01728, allocations: 0 / 252.1 MB, free: 9.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000467/0.01775, allocations: 151.8 kB / 252.2 MB, free: 9.422 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/0.01777, allocations: 23.8 kB / 252.2 MB, free: 9.398 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.01778, allocations: 3.938 kB / 252.2 MB, free: 9.395 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.01779, allocations: 7.984 kB / 252.3 MB, free: 9.387 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/0.01907, allocations: 2.639 MB / 254.9 MB, free: 6.578 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01907, allocations: 4.188 kB / 254.9 MB, free: 6.574 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.01929, allocations: 279.2 kB / 255.2 MB, free: 6.281 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.01931, allocations: 4 kB / 255.2 MB, free: 6.277 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.01942, allocations: 27.97 kB / 255.2 MB, free: 6.25 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.01947, allocations: 27.95 kB / 255.2 MB, free: 6.223 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.01948, allocations: 4 kB / 255.2 MB, free: 6.219 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.826e-05/0.01953, allocations: 70.78 kB / 255.3 MB, free: 6.148 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01953, allocations: 4.031 kB / 255.3 MB, free: 6.145 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00024/0.01977, allocations: 75.83 kB / 255.4 MB, free: 6.07 MB / 250.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 8.518e-05/0.01986, allocations: 96.28 kB / 255.5 MB, free: 5.969 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000556/0.02041, allocations: 302.2 kB / 255.8 MB, free: 5.648 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.387e-06/0.02042, allocations: 4 kB / 255.8 MB, free: 5.645 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004523/0.02088, allocations: 174.3 kB / 255.9 MB, free: 5.465 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.02114, allocations: 341.8 kB / 256.3 MB, free: 5.07 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.02313, allocations: 0.5583 MB / 256.8 MB, free: 4.477 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.613e-05/0.02318, allocations: 84.31 kB / 256.9 MB, free: 4.375 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.102e-05/0.02325, allocations: 25.95 kB / 256.9 MB, free: 4.348 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.02336, allocations: 83.36 kB / 257 MB, free: 4.266 MB / 250.7 MB Notification: Performance of SimCode: time 7.02e-07/0.02336, allocations: 0 / 257 MB, free: 4.266 MB / 250.7 MB Notification: Performance of Templates: time 0.005145/0.02851, allocations: 4.05 MB / 261.1 MB, free: 292 kB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5676094759255648]