Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00148/0.00148, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00178/0.00178, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 177 MB / 204.1 MB, free: 9.125 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0.7031 kB / 325 MB, free: 480 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.229e-05, allocations: 2.281 kB / 325 MB, free: 476 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.00393/0.003953, allocations: 2.593 MB / 327.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.005563, allocations: 0.7281 MB / 328.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.005702, allocations: 3.531 kB / 328.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.005864, allocations: 39.56 kB / 328.4 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.006071, allocations: 94.55 kB / 328.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.006485, allocations: 126.1 kB / 328.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004599/0.006945, allocations: 395.7 kB / 329 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.007115, allocations: 52.22 kB / 329 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004031/0.007518, allocations: 225.7 kB / 329.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.007805, allocations: 136.2 kB / 329.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.48e-05/0.00787, allocations: 33.22 kB / 329.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.722e-05/0.007967, allocations: 35.44 kB / 329.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.372e-05/0.008061, allocations: 74.84 kB / 329.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.008218, allocations: 107 kB / 329.6 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005547/0.008772, allocations: 400 kB / 330 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.008778, allocations: 4 kB / 330 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.008779, allocations: 0 / 330 MB, free: 13.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.008787, allocations: 0 / 330 MB, free: 13.38 MB / 302.1 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.001774/0.01056, allocations: 0.6079 MB / 330.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.0106, allocations: 13.83 kB / 330.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.01081, allocations: 41.3 kB / 330.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/0.01123, allocations: 214.5 kB / 330.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.01125, allocations: 21.28 kB / 330.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.832e-05/0.01131, allocations: 26.7 kB / 330.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008513/0.01216, allocations: 339.3 kB / 331.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.01218, allocations: 192 / 331.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.342e-05/0.01221, allocations: 6.469 kB / 331.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.01222, allocations: 13.28 kB / 331.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.01326, allocations: 296.2 kB / 331.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.01513, allocations: 0.828 MB / 332.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003133/0.01826, allocations: 0.489 MB / 332.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006811/0.01894, allocations: 206.2 kB / 333.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.01897, allocations: 2.875 kB / 333.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007088/0.01968, allocations: 264.6 kB / 333.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.824e-06/0.01968, allocations: 1.406 kB / 333.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001725/0.02141, allocations: 478.3 kB / 333.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.176e-05/0.0215, allocations: 111 kB / 333.9 MB, free: 10.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.02176, allocations: 232.5 kB / 334.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/0.02181, allocations: 32.3 kB / 334.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.02196, allocations: 160.7 kB / 334.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.066e-05/0.02205, allocations: 76.47 kB / 334.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.02217, allocations: 42.19 kB / 334.5 MB, free: 10.24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.02235, allocations: 340.7 kB / 334.8 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005577/0.02291, allocations: 175.1 kB / 335 MB, free: 9.801 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005852/0.02349, allocations: 234 kB / 335.2 MB, free: 9.633 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.02453, allocations: 319.9 kB / 335.5 MB, free: 9.453 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.02453, allocations: 0 / 335.5 MB, free: 9.453 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001271/0.0258, allocations: 443.8 kB / 336 MB, free: 9.195 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.579e-05/0.02585, allocations: 35.3 kB / 336 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.02585, allocations: 1.125 kB / 336 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.02587, allocations: 2.188 kB / 336 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/0.02777, allocations: 275.6 kB / 336.3 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00534/0.03311, allocations: 3.169 MB / 339.4 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004473/0.03356, allocations: 58.64 kB / 339.5 MB, free: 6.039 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.03359, allocations: 10.84 kB / 339.5 MB, free: 6.035 MB / 302.1 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.0002145/0.0338, allocations: 149.9 kB / 339.6 MB, free: 5.883 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-05/0.03385, allocations: 23.86 kB / 339.7 MB, free: 5.859 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.891e-05/0.03392, allocations: 30.11 kB / 339.7 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.03393, allocations: 7.938 kB / 339.7 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.03393, allocations: 0 / 339.7 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.03394, allocations: 4 kB / 339.7 MB, free: 5.824 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001956/0.03589, allocations: 0.7955 MB / 340.5 MB, free: 4.984 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.0359, allocations: 0 / 340.5 MB, free: 4.984 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001917/0.03781, allocations: 267.7 kB / 340.8 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.03782, allocations: 4 kB / 340.8 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.03784, allocations: 4 kB / 340.8 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00535/0.04319, allocations: 3.175 MB / 343.9 MB, free: 1.332 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.0432, allocations: 32 / 343.9 MB, free: 1.332 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.04498, allocations: 0.6169 MB / 344.6 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.475e-05/0.04503, allocations: 23.78 kB / 344.6 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.06e-05/0.04508, allocations: 8 kB / 344.6 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003847/0.04547, allocations: 39.95 kB / 344.6 MB, free: 0.625 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-05/0.04557, allocations: 32.02 kB / 344.7 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.0456, allocations: 11.98 kB / 344.7 MB, free: 0.582 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001942/0.04579, allocations: 165.2 kB / 344.8 MB, free: 428 kB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.04579, allocations: 0 / 344.8 MB, free: 428 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005306/0.04632, allocations: 83.89 kB / 344.9 MB, free: 344 kB / 302.1 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.0001619/0.04648, allocations: 111.2 kB / 345 MB, free: 224 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002993/0.04948, allocations: 0.5971 MB / 345.6 MB, free: 15.61 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.04948, allocations: 0 / 345.6 MB, free: 15.61 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002212/0.05169, allocations: 383.7 kB / 346 MB, free: 15.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.05212, allocations: 54.94 kB / 346.1 MB, free: 15.18 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.05397, allocations: 0.6099 MB / 346.7 MB, free: 14.54 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.05419, allocations: 150.2 kB / 346.8 MB, free: 14.37 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.05431, allocations: 17.95 kB / 346.8 MB, free: 14.36 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.902e-05/0.0544, allocations: 24.5 kB / 346.9 MB, free: 14.33 MB / 318.1 MB Notification: Performance of SimCode: time 3.4e-07/0.0544, allocations: 0 / 346.9 MB, free: 14.33 MB / 318.1 MB Notification: Performance of Templates: time 0.01012/0.06451, allocations: 3.959 MB / 350.8 MB, free: 10.41 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.685990925878286]